COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the only language that a computer can understand?
A
High-level
B
Application
C
Machine
D
Assembly
Explanation: 

Detailed explanation-1: -Machine language gives instructions as 0’s and 1’s and is the only language that the computer understands.

Detailed explanation-2: -The only language that the computer can process or execute is called machine language. It consists of only 0s and 1s in binary, that a computer can understand. In short, the computer only understands binary code, i.e 0s and 1s.

Detailed explanation-3: -Machine language is the lowest level programming language and it is the only language understood by computers. Machine language entirely consist of binary and hexadecimal numbers and not understandable by humans. Programmers therefore use either a high-level programming language or assembly language.

Detailed explanation-4: -At the hardware level, computers understand one language, called machine language (also called object code). This is the set of instructions supported by the computer’s processor hardware and is specific to each type of processor.

There is 1 question to complete.