+ 2
How do computers understand the programs?
6 Antworten
+ 2
Compilers translate the code you write into machine code
+ 2
Computer uderstand the machine code....A special hardware is design or combination of adder ,intregrater... etc are made ..this Machine code signal which subroute by Cpu.......and programming language converted into Machine code...Using compiler Nd interpreter(java) ,compiler(c/cpp), interpreter only (Python)
+ 1
the computer enterprets the programming language you are using and converts it into binary (0's and 1's) and executes it in the program you are trying to run it in
+ 1
what we know and speak is the high level lannguage(e.g-English).
But computers only understand the machine language which is in the form or either 0(false/not) or 1(true/yes).
we can't understand the complex maching language that computer know. So we use interpreter or assembler or compiler in which we write some code and they transform it into machine language which is further processed by the computer!
+ 1
A compiler or interpreter converts the codes to machine language and then the computer understands it