COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
PICK WHAT IS THE BEST FOR ASSEMBLY LANGUAGES
A
developers use cryptic english-like phrases to represent strings of numbers
B
code is then translated into object code, using a translator called an assembler
C
first generation languages
D
second generation languages
Explanation: 

Detailed explanation-1: -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-2: -Second-generation programming languages have the following properties: Lines within a program correspond directly to processor commands, essentially acting as a mnemonic device overlaying a first generation programming language. The code can be read and written by a programmer.

Detailed explanation-3: -Though considered lower level languages compared to more advanced languages, assembly languages are still used. Assembly language is used to directly manipulate hardware, access specialized processor instructions, or evaluate critical performance issues.

Detailed explanation-4: -Second Generation: Assembly Language.

There is 1 question to complete.