Podcast
Questions and Answers
Which type of compiler produces code for a different CPU or operating system than the one on which it runs?
Which type of compiler produces code for a different CPU or operating system than the one on which it runs?
- Decompiler
- Bootstrap compiler
- Cross-compiler (correct)
- Source-to-source compiler
What is the primary purpose of a compiler?
What is the primary purpose of a compiler?
- To translate from a low-level language to a higher level one
- To optimize code
- To create an executable program (correct)
- To translate between high-level languages
What is a bootstrap compiler used for?
What is a bootstrap compiler used for?
- Producing code for a different CPU or operating system
- Translating between high-level languages
- Translating from a low-level language to a higher level one
- Compiling a more permanent or better optimized compiler (correct)