Moderate

A compiler for a high-level language that runs on one machine and produces code for a different machine is called________________?

Correct answer: A. cross compiler

  • A. cross compiler
  • B. one pass compiler
  • C. multipass compiler
  • D. optimizing compiler

Explanation

A cross compiler runs on one computer system but generates executable code for a different target machine or platform. Pass structure and optimization describe other compiler properties, not the target-machine difference.

Last updated

Practise Software Design and Architecture

493 free Software Design and Architecture MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions