COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A disadvantage of programming in Low Level is
A
No technical skill is required
B
Needs to be translated before it can be executed
C
Difficult for humans to learn and understand
D
None of the above
Explanation: 

Detailed explanation-1: -Programs developed using low level languages are machine dependent and are not portable. It is difficult to develop, debug and maintain. Low level programs are more error prone. Low level programming usually results in poor programming productivity.

Detailed explanation-2: -It’s more difficult to write programs in low-level languages than in high-level languages; programmers need to have a very good understanding of the hardware being used. Low-level languages are not portable, because they are specific to a particular instruction set.

Detailed explanation-3: -Because of this, low-level language is sometimes also known as machine language. The low-level language is less friendly for human (programmer), but more friendly for machine because the computer processor can directly process the codes written in the low-level language. It can be understood easily by the machine.

Detailed explanation-4: -An equivalent program in a high-level language can be less efficient and use more memory. Low-level languages are simple, but considered difficult to use, due to numerous technical details that the programmer must remember.

Detailed explanation-5: -High-level languages are generally easier to learn but give you less control over the computer. Low-level languages tend to be the exact opposite: harder to learn but give more control over the computer.

There is 1 question to complete.