Saturday, 2 December 2017

Programming Language

What is Language?
Language is the way of sharing information.

What is computer/machine language?
It is also a way/media of sharing information between you and the machine.

Why machine language is needed?
Lets start with a example,
What is the value of √25=5 simple, But when you need to calculate the value of √1250 it takes time , Instead of doing calculations manually we need a machine to do that , which will give answer in fractions of seconds.

How machine understands our language?
Machine understands only Binary language that is 0&1 .

How to convert  human understandable
language to binary language ?
It is  impossible to convert every instruction into machine language, Therefore Compiler will do that for you.

What is Compiler?
Compiler is a software which converts Human understandable language/High-level language into machine understandable language

Therefore to reduce complexity and save our time we have to learn a programming language through which we can give instructions we needed to perform a desired task.



No comments:

Post a Comment

C interview question 8

What will be the output of the given code? #include <stdio.h> int main(void) { float a = 3.14; printf("%f",a%3); ...