COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Machine Language Statement is written in ____ and each statement refers to a machine activity (CPU).
A
ASCII code
B
binary code
C
BASIC code
D
assembly language
Explanation: 

Detailed explanation-1: -Machine code, also known as machine language, is the elemental language of computers. It is read by the computer’s central processing unit (CPU), is composed of digital binary numbers and looks like a very long sequence of zeros and ones.

Detailed explanation-2: -Sometimes called machine code or object code, machine language is a collection of binary digits or bits that the computer reads and interprets. Machine language is the only language a computer can understand. The exact machine language for a program or action can differ by operating system.

Detailed explanation-3: -The correct answer is Assembly Language. Assembly language uses symbols to represent binary codes of machine-level instructions. The symbols (mnemonics) in Assembly Language are used to represent binary codes that are used in machine language (the most fundamental form of programming languages).

There is 1 question to complete.