Lesson 2.5.1
2.5.1 Languages Quiz: OCR Computer Science, Unit 11
20 questions
In partnership with Revision Ninja
Lesson 2.5.1, Languages: 20 multiple choice questions for the OCR GCSE Computer Science (J277), Unit 11: Programming languages and Integrated Development Environments, written with Revision Ninja.
Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.
The 20 questions
-
What is a key characteristic of a high-level programming language?
- Machine code
- Platform independent
- Binary format
- Processor specific
-
How do low-level programming languages relate to hardware?
- Uncompiled code
- Human readable
- Platform independent
- Processor specific
-
What is the main function of a language translator in programming?
- Designing circuits
- Executing hardware
- Storing databases
- Converting source code
-
Which translator converts whole high-level code into machine code before execution?
- Editor
- Interpreter
- Assembler
- Compiler
-
Which translator executes high-level source code line by line?
- Linker
- Assembler
- Compiler
- Interpreter
-
What is a major advantage of using a compiler over an interpreter?
- Faster execution
- Easier debugging
- Instant translation
- Smaller file
-
What is a primary advantage of using an interpreter during software development?
- Faster execution
- Machine code file
- Standalone executable
- Line-by-line debugging
-
What is a main drawback of using an interpreter?
- Slower execution
- Requires source code
- No error reporting
- Complex setup
-
A teacher wants students to see errors as they type code and to run it line by line. Which translator is suitable?
- Operating system
- Interpreter
- Encryption program
- Compiler
-
A company distributes a finished game and wants it to run quickly without sharing its source code. Which translator is most suitable?
- Compiler
- Text editor
- Debugger
- Interpreter
-
Which type of language is most likely to be used to write code that closely controls hardware?
- Spreadsheet formula language
- Visual block language
- Low-level
- High-level
-
Why can high-level languages run on different computer processors?
- Processor independent
- Already compiled
- Hardware specific
- Written in binary
-
What translator converts high-level source code into machine code all at once?
- Compiler
- Interpreter
- Editor
- Assembler
-
What does a translator produce from high-level programming code?
- Machine code
- Assembly language
- High-level text
- Source code
-
Which of these is an advantage of low-level languages?
- Easier to read
- Hardware control
- Portable code
- Quicker to write
-
Which translator translates and executes source code one line at a time?
- Assembler
- Editor
- Interpreter
- Compiler
-
Why do developers typically use an interpreter during software development?
- Smaller file sizes
- Faster final programs
- Easier testing
- Complete distribution
-
Why can a compiled executable run without needing the original source code?
- Written in English
- Stored in RAM
- Contains machine instructions
- Uses an interpreter
-
What is a major drawback of low-level languages for beginners?
- Too many libraries
- Platform independent
- Slow execution speed
- Hard to learn
-
Why must high-level programming code be translated before a processor can execute it?
- To save storage
- To add comments
- Computers need binary
- To format syntax
Related quizzes
- The Integrated Development Environment (IDE) Quiz · 2.5.2 · 20 questions
- Architecture of the CPU Quiz · 1.1.1 · 20 questions
- Primary storage (memory) Quiz · 1.2.1 · 20 questions
- Networks and topologies Quiz · 1.3.1 · 20 questions
- Threats to computer systems and networks Quiz · 1.4.1 · 20 questions
- Operating systems Quiz · 1.5.1 · 20 questions
- Ethical, legal, cultural and environmental impact Quiz · 1.6.1 · 20 questions
- Computational thinking Quiz · 2.1.1 · 20 questions
- Programming fundamentals Quiz · 2.2.1 · 20 questions
- Defensive design Quiz · 2.3.1 · 20 questions