Search Header Logo

L1 - Translators

Authored by Mr Browne

Computers

8th Grade

Used 1+ times

L1 - Translators
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?