Computer Science 9608 · 5

5.2 Language translators

23 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2021 October-November · Paper 11 · Q10(a)

Language translators · 3 marks · official answer ready

(a) State three benefits of using an interpreter. 1 ...............................................................................................................................…

2021 May-June · Paper 11 · Q8(a)(i)

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…

2021 May-June · Paper 11 · Q8(a)(ii)

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 ......................................................................…

2021 May-June · Paper 13 · Q7(a)

Language translators · 3 marks · official answer ready

(a) Describe the drawbacks of using a compiler instead of an interpreter. .........................................................................................................…

2019 October-November · Paper 23 · Q2(c)

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. .................................…

2019 May-June · Paper 12 · Q2(a)(ii)

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 .................................................…

2019 May-June · Paper 12 · Q2(a)(iii)

Language translators · 1 mark · official answer ready

(iii) Name a translator other than an interpreter and a compiler. .................................................................................................................…

2019 May-June · Paper 13 · Q2(e)

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. ...................…

2018 October-November · Paper 31 · Q6(c)

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 ..................................................…

2018 October-November · Paper 32 · Q4(c)(i)

Language translators · 1 mark · official answer ready

(i) Identify the final stage in the compilation process that follows this code generation stage. ..................................................................................…

2018 October-November · Paper 33 · Q6(c)

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 ..................................................…

2017 October-November · Paper 12 · Q2(a)

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…

2017 October-November · Paper 13 · Q2(a)

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…

2017 October-November · Paper 21 · Q3(c)(iii)

Language translators · 2 marks · official answer ready

(iii) Name two features provided by an IDE that assist in the program development cycle. 1 ........................................................................................…

2017 October-November · Paper 23 · Q3(c)(iii)

Language translators · 2 marks · official answer ready

(iii) Name two features provided by an IDE that assist in the program development cycle. 1 ........................................................................................…

2016 October-November · Paper 31 · Q2(a)

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…

2016 October-November · Paper 32 · Q2(a)

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…

2016 October-November · Paper 33 · Q2(a)

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…

2016 May-June · Paper 11 · Q1

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…

2016 May-June · Paper 12 · Q1

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…