L1 - Translators

Quiz
•
Computers
•
8th Grade
•
Easy

Mr Browne
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which language does the CPU actually execute?
Python
Machine code
Assembly
English
Answer explanation
Machine code
Explanation: The computer's brain (CPU) only understands machine code, which is just 0s and 1s — not words like Python or English.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A compiler translates…
one line at a time while the program runs
the whole program before it runs
only comments in the code
user input into natural speech
Answer explanation
the whole program before it runs
Explanation: A compiler reads the entire code and changes it all into machine code before the program starts, like preparing a full recipe before cooking.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An interpreter is slower than a compiler mainly because it…
must connect to the internet first
guesses the programmer’s intention
translates each line just before it runs
creates giant executable files
Answer explanation
translates each line just before it runs
Explanation: An interpreter reads and translates one line at a time while running, like reading a story out loud one word at a time instead of reading the whole thing first.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is a misconception about programming languages?
High-level code is easier for humans to read.
Computers can fill in “obvious” missing steps on their own.
Machine code is made of 0s and 1s.
Assembly language uses mnemonics like MOV.
Answer explanation
Computers can fill in “obvious” missing steps on their own.
Explanation: Computers are not smart like people—they only do exactly what you tell them and can’t guess what you mean.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A program with no syntax errors but wrong output has a…
Logic error
Compiler error
Translator error
Operand error
Answer explanation
Logic error
Explanation: If your code runs but gives the wrong answer, it means the steps or thinking in the code are wrong—not the spelling or grammar.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The role of an assembler is to convert…
machine code → Python
high-level code → machine code
assembly language → machine code
pseudocode → flowchart
Answer explanation
assembly language → machine code
Explanation: An assembler takes simple code like “MOV” and turns it into the 0s and 1s that the computer can understand.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which benefit belongs to a compiler, not an interpreter?
Runs instantly without translation
Shows errors as soon as they occur
Produces a stand-alone executable file
Lets you change the code while it is running
Answer explanation
Produces a stand-alone executable file
Explanation: A compiler makes a finished program that can run by itself without needing to translate the code again.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
QS_Programming languages

Quiz
•
8th Grade
11 questions
Programming Lesson 1 Review

Quiz
•
8th Grade
9 questions
Information Technology 2 Unit 2

Quiz
•
3rd - 11th Grade
8 questions
Translators Compilers Interpreteres

Quiz
•
6th - 8th Grade
10 questions
Programming - Tour of IDE

Quiz
•
3rd - 12th Grade
15 questions
Translators Quiz

Quiz
•
8th Grade
10 questions
Programming - High Level Code & Machine Code

Quiz
•
2nd - 11th Grade
13 questions
2.5 Translators & Facilities - OCR GCSE Computer Science

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

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

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade