
24. OCR A Level (H046-H446) SLR5 – 1.2 Translators

Quiz
•
Computers
•
11th Grade
•
Easy

James Cole
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of translators in programming?
To protect source code from unauthorized access
To enhance the speed of program execution
To debug programs
To convert source code into machine code
Answer explanation
Translators in programming are used to convert source code into machine code, making it understandable by the computer for execution.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a type of translator?
Interpreter
Compiler
Debugger
Assembler
Answer explanation
The correct choice is 'Debugger' because it is not a type of translator. Interpreters, compilers, and assemblers are all types of translators used in computing.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is source code?
A special code used by compilers only
A type of machine code
Binary code that machines understand
Code written by programmers in a programming language
Answer explanation
Source code refers to the code written by programmers in a programming language, which is then translated into machine code by compilers.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is machine code?
Code used by interpreters
Pure binary form that machines can execute
Code written by programmers
High-level programming language
Answer explanation
Machine code is the pure binary form that machines can directly execute, representing instructions and data in a format that the computer's central processing unit (CPU) can understand and process.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an assembler translate?
Machine code to source code
High-level language to machine code
Source code to high-level language
Assembly code to machine code
Answer explanation
An assembler translates assembly code to machine code, making it the correct choice among the options provided.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does an interpreter translate high-level language code?
In its entirety at once
Converts it directly to assembly code
Only after checking all syntax errors
One line at a time
Answer explanation
The interpreter translates high-level language code one line at a time, executing each line before moving on to the next, allowing for immediate feedback and error detection.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of a compiler?
To translate machine code into source code
To convert entire source code into machine code at once
To interpret high-level language into assembly code
To execute code line by line
Answer explanation
The role of a compiler is to convert entire source code into machine code at once.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
71. AQA GCSE (8525) SLR12 – 3.4 Assemblers, compilers & interpre

Quiz
•
11th Grade
10 questions
01 - Introduction to Python

Quiz
•
11th Grade
20 questions
iGCSE Computer Science: Programming Languages

Quiz
•
9th - 12th Grade
11 questions
4.2 Types of Programming Language, Translators, and Integrated D

Quiz
•
10th Grade - University
20 questions
Chapter 2 Exam: Getting Started with Java

Quiz
•
10th - 12th Grade
10 questions
PI Mod 1 test

Quiz
•
9th - 12th Grade
17 questions
computer nonsense lesson

Quiz
•
1st Grade - Professio...
20 questions
Round-1 Technical Aptitude

Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade