COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A language that is close to human language and which is easy to write, debug and maintain is known as ____
A
A High Level Language
B
A Low Level Language
C
An Algorithm
D
Machine Code
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: -Higher level languages are easy to debug provided the code base is Application code. The more you move closer to the system, the harder it is going to be to debug higher level languages-even java. Essentially that mimics the whole software development philosophy too: Higher level languages for higher level programs.

Detailed explanation-3: -Debugging is Easy : High level language makes easier to write and debug a program and gives the programmer time to think about overall logic rather than thinking about program code. Because of the use of compilers and interpreters, errors can be detected and located easily.

There is 1 question to complete.