Free account: track your progress — Sign up free

NABTEB Computer Studies 2024 Objective — Question 25

Question 25 of 50 from the National Business and Technical Examinations Board (NABTEB) Computer Studies 2024 Objective paper, with the correct answer and a full explanation.

Advertisement

In computer programming, it is advised to translate source code into intermediate code to

  • A. A. change the analysis portion for different compilers
  • B. B. ensure that full native compiler is used for every new machine that will run the program
  • C. C. make it easier to apply the source code modifications to improve code performance
  • D. D. make the synthesis part of the compiler target-machine dependentCorrect

Explanation

Intermediate code allows the synthesis (code generation) phase of the compiler to be tailored to the target machine architecture, ensuring efficient and optimal translation of the intermediate code to native machine code specific to each platform.

Advertisement

Sign up free to unlock

  • Score tracking
  • Practice history
  • Saved questions
  • Progress dashboard
  • Personalized sessions
  • Weak-topic breakdown

…and/or go further with premium services and No Ads.