Which type of translator converts the entire source code of a program into a standalone machine code file before the program is executed?
Pearson Edexcel IGCSE · Computer Science
Programming languages: Practice Questions
5 multiple-choice questions marked as you go, and 2 written questions with worked solutions. All on Programming languages.
What is a common disadvantage of using an interpreter to run a program compared to using a compiler?
A company is developing a high-performance video game engine that requires maximum execution speed. Why would they likely use a compiled language like C++ for the core engine rather than an interpreted language?
What is a primary advantage of using a high-level programming language compared to a low-level language?
An assembler is a specific type of translator. Which conversion does it perform?
State one disadvantage of using an interpreter to execute a high-level programming language compared to using a compiler.
Write your answer out first, then check it against the worked solution.
Programming languages are categorized into high-level and low-level languages, and require translation to be executed by the hardware.
a) State one advantage of using a compiler instead of an interpreter for a finished software product ready for commercial release.
b) Explain why a developer would prefer to use an interpreter while they are still writing and testing their code.
c) Identify one feature of a low-level language (such as assembly language) that distinguishes it from a high-level language.
Write your answer out first, then check it against the worked solution.
* The content provided by thinka is generated by AI and may not always be accurate or up-to-date. Please use it as a supplementary resource and verify with official materials.
You've seen the model answer. Now get yours marked.
This page can show you how a good answer looks. It cannot tell you what your answer was missing. thinka marks your written work against the real mark scheme in about 15 seconds.
Want more questions like these? Get a fresh set on this topic, graded as you go.
Practice More