COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is an example of low level language?
A
ASSEMBLY LANGUAGE
B
ADA
C
C++
D
ALL OF THESE
Explanation: 

Detailed explanation-1: -Assembly languages are considered a low level language, while high-level languages such as C, Java, or Python use 0’s and 1’s instead of numbers, symbols, and abbreviations.

Detailed explanation-2: -The correct answer is Machine Language. Machine Language is the language written as strings of binary 1’s and Os.

Detailed explanation-3: -Example of assembly language “EAX, ‘’ “EBX” and “ECX” are the variables. The first line of code loads “3” into the register “eax.” The second line of code loads “4” into the register “ebx.” Finally, the last line of code adds “eax” and “ebx” and stores the result of the addition, which is seven, in “ecx."

There is 1 question to complete.