From the point of view of the programmer, what are the major advantages of…
2011
From the point of view of the programmer, what are the major advantages of using a high-level language rather than internal machine code or assembly language?
Answer: B. Easy development — Concept — A programming language's level measures how far its notation stands from the processor's own instruction set. Machine code and assembly are…
- A.
Program portability
- B.
Easy development
- C.
Efficiency
- D.
None of the above
Attempted by 72 students.
Show answer & explanation
Correct answer: B
Concept — A programming language's level measures how far its notation stands from the processor's own instruction set. Machine code and assembly are expressed in one processor's registers, opcodes and memory addresses; a high-level language is expressed in problem-domain constructs — named variables, typed expressions, structured control flow, procedures — that a translator maps onto whatever machine is targeted. Raising the level trades direct control over the emitted instruction sequence for a notation a person can write and reason about.
Application — The stem fixes the viewpoint: from the point of view of the programmer, that is, what changes for the person writing and maintaining the source. In assembly the programmer personally carries register allocation, memory addressing, calling conventions and loop bookkeeping. One high-level statement stands for many such hand-managed steps, and naming, typing, structured control flow and reusable libraries remove most of the rest. Less source to write, source that reads closer to the problem, and correspondingly quicker debugging and maintenance — that is what easy development names.
Contrast — placing each offered property on its own axis:
Program portability — a real property of high-level source, but it is measured by where the compiled program can run. It is delivered by the translator and toolchain rather than by the act of writing the program, so it sits on the hardware-reach axis rather than the programmer's.
Efficiency — machine code and assembly let the programmer pick each instruction and register directly, so hand-written low-level code can be at least as fast and compact as compiler output. The classical trade-off runs the other way: raising the level historically costs execution efficiency, which is why efficiency is cited as the low-level side's advantage.
None of the above — cannot stand once at least one listed property is a genuine programmer-side benefit.
Cross-check — Remove the qualifier and the item would be ambiguous, because machine independence is a genuine advantage of high-level languages too. It is the phrase from the point of view of the programmer that discriminates: among the offered properties, only development ease is measured in the programmer's own effort. The published key for this item (UGC NET Computer Science and Applications, Paper II, June 2011, question 11) records the same choice.
Answer — Easy development.