Podcast
Questions and Answers
Which programming language does a compiler translate source code from?
Which programming language does a compiler translate source code from?
- Assembly language
- High-level programming language (correct)
- Object code
- Machine code
What is the primary purpose of a compiler?
What is the primary purpose of a compiler?
- To create an executable program (correct)
- To translate between high-level languages
- To translate from a low-level language to a higher level one
- To optimize code
What is a cross-compiler?
What is a cross-compiler?
- A compiler that translates code for the same CPU or operating system
- A temporary compiler used for bootstrapping
- A compiler that translates code for a different CPU or operating system (correct)
- A compiler that translates between high-level languages
What is a bootstrap compiler used for?
What is a bootstrap compiler used for?
What is a decompiler?
What is a decompiler?