COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Low level programming languages are ____ [2 answers]
A
Easy to read, understand and modify
B
Difficult to read, understand and modify
C
Very simple to understand
D
More memory efficient than high-level languages
Explanation: 

Detailed explanation-1: -High level language is the language which is completely machine/computer independent; whereas; Low level language is the language which is totally machine/computer dependent. High level languages are also described as the least memory-efficient language; on the other hand, they are highly memory efficient.

Detailed explanation-2: -High-level languages are human-friendly. They are, thus, very easy to understand and learn by any programmer. Low-level languages are machine-friendly. They are, thus, very difficult to understand and learn by any human.

Detailed explanation-3: -Programs developed using low level languages are fast and memory efficient. Programmers can utilize processor and memory in better way using a low level language. There is no need of any compiler or interpreters to translate the source to machine code. Thus, cuts the compilation and interpretation time.

Detailed explanation-4: -Programs in low level language are written either in binary or assembly language. They do not require any compilation or interpretation. It interact directly with the registers and memory. Thus, they are comparatively faster than high level languages.

There is 1 question to complete.