COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
assembly language is an example of
A
1st generation language
B
2nd generation language
C
3rd generation language
D
None of the above
Explanation: 

Detailed explanation-1: -By 1950, computers were being programmed in assembly language. As we saw earlier, one line in Assembly Language is translated into one machine instruction by a program called an assembler. At this time, computers were so expensive and slow that this was the only feasible method of programming.

Detailed explanation-2: -2GL stands for second-generation programming language. Assembly language was the second generation of computer language. Use of 2GL made programming much easier than writing programs in 1GL, which is machine language, consisting of a series of 0s and 1s. 2GL is also known as a low-level programming language.

Detailed explanation-3: -Assembly language is the first generation computer language.

There is 1 question to complete.