L1 - Translators

L1 - Translators

8th Grade

10 Qs

quiz-placeholder

Similar activities

2.5 Translators & Facilities - OCR GCSE Computer Science

2.5 Translators & Facilities - OCR GCSE Computer Science

7th - 12th Grade

13 Qs

Types of Software

Types of Software

4th - 12th Grade

15 Qs

QS_Programming languages

QS_Programming languages

8th Grade

10 Qs

Programming Lesson 1 Review

Programming Lesson 1 Review

8th Grade

11 Qs

CLASS - 6

CLASS - 6

6th - 8th Grade

7 Qs

Understanding Computers Vocabulary

Understanding Computers Vocabulary

7th - 9th Grade

10 Qs

Labeling Exercise

Labeling Exercise

7th - 10th Grade

5 Qs

GCSE - IDE and Translators

GCSE - IDE and Translators

8th Grade

9 Qs

L1 - Translators

L1 - Translators

Assessment

Quiz

Computers

8th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?