Programming Paradigms and Translation · CAPE Computer Science Unit 1
18 past-paper questions on Programming Paradigms and Translation, part of Programming, from every CAPE Computer Science Unit 1 paper on Quelpr.
- 5(a)6 marks· CAPE Computer Science Unit 1 · 2009 · Paper 2Describe the 'lexical analysis' and 'semantic analysis' stages of the translation process.
- 6(a)(i)2 marks· CAPE Computer Science Unit 1 · 2009 · Paper 2Briefly describe the declarative classification of programming languages.
- 6(a)(ii)2 marks· CAPE Computer Science Unit 1 · 2009 · Paper 2Briefly describe the imperative (procedural) classification of programming languages.
- 6(a)(iii)2 marks· CAPE Computer Science Unit 1 · 2009 · Paper 2Briefly describe the scripting classification of programming languages.
- 6(b)3 marks· CAPE Computer Science Unit 1 · 2009 · Paper 2Distinguish between 'syntax' and 'semantics' in computer programming.
- 5(a)4 marks· CAPE Computer Science Unit 1 · 2010 · Paper 2Explain TWO ways in which a programming language for a mobile device would differ from a programming language for a desktop computer.
- 5(a)2 marks· CAPE Computer Science Unit 1 · 2011 · Paper 2Apart from intermediate code generation, list TWO other stages of the translation process.
- 5(a)6 marks· CAPE Computer Science Unit 1 · 2012 · Paper 2Briefly describe THREE stages of the program translation process.
- 5(a)6 marks· CAPE Computer Science Unit 1 · 2013 · Paper 2Explain TWO differences between compilers and interpreters.
- 6(a)4 marks· CAPE Computer Science Unit 1 · 2013 · Paper 2Identify and briefly describe any TWO programming paradigms.
- 6(b)2 marks· CAPE Computer Science Unit 1 · 2013 · Paper 2Explain ONE reason why programming language implementations used on mobile devices are different from those for desktop computers.
- 5(a)(i)1 mark· CAPE Computer Science Unit 1 · 2014 · Paper 2A stream of characters making up the source program is read from left to right and grouped into tokens.
- 5(a)(ii)1 mark· CAPE Computer Science Unit 1 · 2014 · Paper 2A piece of code is transformed to make it more efficient without changing its output or side effects.
- 5(a)(i)3 marks· CAPE Computer Science Unit 1 · 2015 · Paper 2Describe the purpose of the lexical analysis stage in translation.
- 5(a)(ii)1 mark· CAPE Computer Science Unit 1 · 2015 · Paper 2Comment on whether error detection exists during the lexical analysis stage.
- 6(a)(i)2 marks· CAPE Computer Science Unit 1 · 2015 · Paper 2Briefly describe the declarative programming paradigm.
- 6(a)(ii)2 marks· CAPE Computer Science Unit 1 · 2015 · Paper 2Briefly describe the imperative (procedural) programming paradigm.
- 6(a)(iii)2 marks· CAPE Computer Science Unit 1 · 2015 · Paper 2Briefly describe scripting languages.