5.2 Language translators
23 questions in this subtopic. Open a question to solve it and check the official answer.
Language translators · 3 marks · official answer ready
(a) State three benefits of using an interpreter. 1 ...............................................................................................................................…
Language translators · 4 marks · official answer ready
(i) Tick (3) one or more boxes in each row to identify the language translator(s) each statement describes. Statement Assembler Interpreter Compiler Translates and executes each l…
Language translators · 2 marks · official answer ready
(ii) Jay decides to use a compiler to develop the game. Identify two benefits of using a compiler. Benefit 1 ......................................................................…
Language translators · 3 marks · official answer ready
(a) Describe the drawbacks of using a compiler instead of an interpreter. .........................................................................................................…
Language translators · 1 mark · official answer ready
(c) A program written in a high-level language cannot be run directly. Identify one type of translator that can be used to translate the program. .................................…
Language translators · 2 marks · official answer ready
(ii) Biyu uses an interpreter. State two benefits of Biyu using an interpreter instead of a compiler while writing the program. 1 .................................................…
Language translators · 1 mark · official answer ready
(iii) Name a translator other than an interpreter and a compiler. .................................................................................................................…
Language translators · 3 marks · official answer ready
(e) When the program is complete, Frankie uses a compiler to prepare the program for the client. Explain why Frankie uses a compiler instead of an interpreter. ...................…
Language translators · 2 marks · official answer ready
(c) The output of the lexical analysis stage is the input to the syntax analysis stage. Identify two tasks in syntax analysis. 1 ..................................................…
Language translators · 1 mark · official answer ready
(i) Identify the final stage in the compilation process that follows this code generation stage. ..................................................................................…
Language translators · 2 marks · official answer ready
(c) The output of the lexical analysis stage is the input to the syntax analysis stage. Identify two tasks in syntax analysis. 1 ..................................................…
Language translators · 4 marks · official answer ready
2 (a) The diagram shows three items of software that translate program code. Draw one line from each context to the correct item of translation software. Context Item of translati…
Language translators · 4 marks · official answer ready
2 (a) The diagram shows three items of software that translate program code. Draw one line from each context to the correct item of translation software. Context Item of translati…
Language translators · 2 marks · official answer ready
(iii) Name two features provided by an IDE that assist in the program development cycle. 1 ........................................................................................…
Language translators · 2 marks · official answer ready
(iii) Name two features provided by an IDE that assist in the program development cycle. 1 ........................................................................................…
Language translators · 4 marks · official answer ready
(a) Four statements and four compilation stages are shown below. Draw a line to link each statement to the correct compilation stage. Statement Compilation stage This stage remove…
Language translators · 4 marks · official answer ready
(a) Four statements and four compilation stages are shown below. Draw a line to link each statement to the correct compilation stage. Statement Compilation stage This stage can im…
Language translators · 4 marks · official answer ready
(a) Four statements and four compilation stages are shown below. Draw a line to link each statement to the correct compilation stage. Statement Compilation stage This stage remove…
Language translators · 3 marks · official answer ready
1 Three examples of language translators and four definitions are shown below. Draw lines to link each language translator to the correct one or more definitions. Language transla…
Language translators · 3 marks · official answer ready
1 Three examples of language translators and four definitions are shown below. Draw lines to link each language translator to the correct one or more definitions. Language transla…
