ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
1st Generation (Low)
|
|
2nd Generation (Low)
|
|
3rd Generation (High)
|
|
None of the above
|
Detailed explanation-1: -A second generation programming language (2GL) categorizes assembly languages. It’s different than the first generation language. You see it written as 2G languages or assembler languages. An assembly language is a low-level symbolic code converted by an assembler.
Detailed explanation-2: -Assembly or assembler language was the second generation of computer language. By the late 1950s, this language had become popular. Assembly language consists of letters of the alphabet.
Detailed explanation-3: -In this generation, assembly language and high-level programming languages like FORTRAN, COBOL were used. The computers used batch processing and multiprogramming operating system.
Detailed explanation-4: -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-5: -Second Generation: Assembly Language.