COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following language is nearest to human language?
A
HIGH LEVEL LANGUAGE
B
LOW LEVEL LANGUAGE
C
C++
D
None of the above
Explanation: 

Detailed explanation-1: -A high-level language (HLL) is a programming language such as C, FORTRAN, or Pascal that enables a programmer to write programs that are more or less independent of a particular type of computer. Such languages are considered high-level because they are closer to human languages and further from machine languages.

Detailed explanation-2: -C has the features of both assembly level languages i.e low-level languages and higher level languages. So that’s why C is generally called as a middle-level Language.

Detailed explanation-3: -Machine language is difficult to read and write, since it does not resemble conventional mathematical notation or human language, and its codes vary from computer to computer.

There is 1 question to complete.