ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
slow to write
|
|
100s of commends to learn
|
|
difficult to find errors
|
|
tends to be machine specific
|
|
only works with compilers
|
Detailed explanation-1: -Here are the disadvantages of low-level languages: 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-2: -Programs written in low level languages are fast and memory efficient. However, it is nightmare for programmers to write, debug and maintain low-level programs. They are mostly used to develop operating systems, device drivers, databases and applications that requires direct hardware access.
Detailed explanation-3: -Low-level languages are machine-dependent and thus very difficult to understand by a normal user. It is very easy to debug these languages. A programmer cannot easily debug these languages.