Operating Systems Concepts

Q1: A compiler for a high-level language that runs on one machine and produces code for a different machine is called is

A optimizing compiler

B one pass compiler

C cross compiler

D multipass compiler

E None of the above

ANS:C - cross compiler

A cross compiler is a compiler capable of creating executable code for a platform other than the one on which the compiler is running.

A one-pass compiler is a compiler that passes through the source code of each compilation unit only once.

A multi-pass compiler is a type of compiler that processes the source code or abstract syntax tree of a program several times. A one-pass compilers is faster than multi-pass compilers.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.