COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which generation of computer languages used the LOAD, ADD and STORE codes,
A
First
B
Second
C
Third
D
Fourth
Explanation: 

Detailed explanation-1: -Assembly language uses words called ‘mnemonics’, such as LOAD, STORE and ADD . The instructions are specific to the hardware being programmed because different CPUs use different programming languages.

Detailed explanation-2: -Second Generation: 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-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: -The first generation languages, or 1GL, are low-level languages that are machine language. 2. The second-generation languages, or 2GL, are also low-level assembly languages. They are sometimes used in kernels and hardware drives, but more commonly used for video editing and video games.

Detailed explanation-5: -Command-line languages that come with operating systems and database management systems (DBMSs) are fourth-generation languages (4GLs), as are query languages and report writers.

There is 1 question to complete.