Compilers and interpreters worksheet plus ms
Compilers and interpreters worksheet plus ms
GCSE Computer Science (9-1) –Translators and Facilities of Languages - Topic Test
Topic Tests
Photocopiable Resources
Edulito©2017 Page 1
GCSE Computer Science (9-1) –Translators and Facilities of Languages - Topic Test
You do not have permission to distribute it as a paper or electronic document to other schools
or organisations.
Edulito©2017 Page 2
GCSE Computer Science (9-1) –Translators and Facilities of Languages - Topic Test
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
1(b) What is the difference between a high-level and a low-level programming languages?
[6]
High-Level Low-Level
2 ………………………………………………………………………………………………………………………………………
3 ………………………………………………………………………………………………………………………………………
Edulito©2017 Page 3
GCSE Computer Science (9-1) –Translators and Facilities of Languages - Topic Test
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
4 Complete this table in relation to the characteristics of a compiler and an interpreter. [10]
Compiler Interpreter
Function
Edulito©2017 Page 4
GCSE Computer Science (9-1) –Translators and Facilities of Languages - Topic Test
Error
checking
Speed
Examples
Use
Edulito©2017 Page 5
GCSE Computer Science (9-1) –Translators and Facilities of Languages - Topic Test
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
5(b) (ii) The editor has features that assist with the writing and editing of code. Explain these
Feature Explanation
Auto-completion
Bracket matching
Edulito©2017 Page 6
GCSE Computer Science (9-1) –Translators and Facilities of Languages - Topic Test
Syntax checks
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………
Edulito©2017 Page 7
GCSE Computer Science (9-1) –Translators and Facilities of Languages - Topic Test
Edulito©2017 Page 8
GCSE Computer Science (9-1) –Translators and Facilities of Languages - Topic Test
the procedure.
Edulito©2017 Page 9