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 High Level is
A
A lot of code must be translated before it can be executed
B
Difficult to debug
C
High level of technical skill is required
D
None of the above
Explanation: 

Detailed explanation-1: -Source code must be translated into machine code before a computer can understand and execute it.

Detailed explanation-2: -High-level language programs must be translated into machine language before they can be executed. (Machine language instructions are encoded as binary numbers that are meant to be used by a machine, not read or written by people. High-level languages use a syntax that is closer to human language.)

Detailed explanation-3: -Any program written in a high level language is known as source code . However, computers cannot understand source code. Before it can be run, source code must first be translated into a form which a computer understands-this form is called object code .

Detailed explanation-4: -It takes additional translation times to translate the source to machine code. High level programs are comparatively slower than low level programs. Compared to low level programs, they are generally less memory efficient. Cannot communicate directly with the hardware. 17-May-2017

There is 1 question to complete.