
71. AQA GCSE (8525) SLR12 – 3.4 Assemblers, compilers & interpre
Authored by James Cole
Computers
11th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?