L1 - Translators

L1 - Translators

8th Grade

10 Qs

quiz-placeholder

Similar activities

Programming Languages

Programming Languages

8th Grade

15 Qs

Programming Lesson Quiz

Programming Lesson Quiz

8th - 9th Grade

14 Qs

Introduction to Computer Programming

Introduction to Computer Programming

6th Grade - University

10 Qs

Programming Terms

Programming Terms

8th - 10th Grade

10 Qs

IT Theory Revision Part 1

IT Theory Revision Part 1

8th - 10th Grade

10 Qs

TLE 8 (MATATAG) Q1 - Review Quiz

TLE 8 (MATATAG) Q1 - Review Quiz

8th Grade

15 Qs

รู้จักภาษาไพทอน

รู้จักภาษาไพทอน

6th - 8th Grade

10 Qs

Python Quiz - 1

Python Quiz - 1

6th - 8th Grade

10 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?