
71. AQA GCSE (8525) SLR12 – 3.4 Assemblers, compilers & interpre

Quiz
•
Computers
•
11th Grade
•
Hard

James Cole
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an assembler translate?
Machine code into high-level language
Assembly language into machine code
High-level language into machine code
Machine code into assembly language
Answer explanation
An assembler translates assembly language into machine code, making the correct answer choice 'Assembly language into machine code'.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is replaced with memory addresses by an assembler?
Classes
Functions
Comments
Variables and labels
Answer explanation
An assembler replaces variables and labels with memory addresses during the assembly process, allowing the program to access the correct memory locations.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a compiler do before executing a program?
Translates the entire program into machine code
Optimizes the code for different processors
Executes the program to find runtime errors
Translates each line of code individually
Answer explanation
A compiler translates the entire program into machine code before executing it, making it the correct choice.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if there is a syntax error in the code when using a compiler?
The program partially executes up to the error
The program runs with warnings
The error is automatically corrected
The program will not run until the error is corrected
Answer explanation
The program will not run until the error is corrected
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key difference between compilers and interpreters regarding execution?
Compilers execute the program line by line
Interpreters compile the entire program before execution
Compilers require the entire program to be error-free before execution
Interpreters optimize the code before execution
Answer explanation
The key difference is that compilers require the entire program to be error-free before execution, while interpreters do not have this requirement.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an advantage of using a compiler over an interpreter?
Faster execution speed
No need to recompile for each run
Easier to debug
Easier for beginners to learn
Answer explanation
Using a compiler results in faster execution speed compared to an interpreter, making it an advantage.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a disadvantage of using an interpreter?
Requires a specific processor
Cannot handle syntax errors
Does not keep the source code secret
Slower execution speed
Answer explanation
The disadvantage of using an interpreter is slower execution speed compared to compiled languages.
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
4.2 Types of Programming Language, Translators, and Integrated D

Quiz
•
10th Grade - University
15 questions
Y11 Quiz 1: Software

Quiz
•
11th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
12 questions
Features of IDEs

Quiz
•
9th - 12th Grade
10 questions
Python Review - Functions

Quiz
•
9th - 12th Grade
20 questions
Unit 2.3 Robust Programs MCQs L1

Quiz
•
10th - 11th Grade
17 questions
computer nonsense lesson

Quiz
•
1st Grade - Professio...
20 questions
iGCSE Computer Science: Programming Languages

Quiz
•
9th - 12th Grade
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