What is the primary role of a compiler?
CPU Quiz

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Adam Adam
Used 1+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To execute high-level code line by line during runtime.
To translate the entire high-level program into machine code before execution, creating an executable file.
To translate machine code back into a high-level language for debugging.
To manage the CPU's cache memory.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following best describes machine code?
A high-level language that is easy for humans to read and write.
A set of mnemonics representing CPU operations, specific to a CPU family.
Binary sequences (0s and 1s) that are directly understood and executed by the CPU.
The comments and documentation written by programmers.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In the context of machine code instructions, what does the 'opcode' (operation code) typically specify?
The memory address where the data for the operation is located.
The actual data value to be used in an operation.
The specific operation to be performed by the CPU (e.g., ADD, LOAD, STORE).
The size of the operand or data.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
An interpreter translates high-level code:
All at once into an executable file, which is then run.
Line by line, executing each line immediately after translation.
Into assembly language, which then requires an assembler.
Directly into electrical signals without an intermediate code.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The term 'mnemonic' in assembly language refers to:
A numerical representation of a CPU instruction.
A short, easy-to-remember symbolic code for a CPU instruction (e.g., LDA for Load Accumulator).
A type of CPU register that stores memory addresses.
The part of an instruction that specifies the data or address (the operand).
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What are the three main stages of the CPU's Fetch-Decode-Execute cycle, in the correct order?
Decode, Execute, Fetch
Fetch, Execute, Decode
Fetch, Decode, Execute
Execute, Store, Fetch
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which CPU register holds the memory address of the next instruction to be fetched from RAM?
Memory Address Register (MAR)
Program Counter (PC)
Current Instruction Register (CIR)
Accumulator (ACC)
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Sumatif_Informatika Gasal TP. 2024/2025

Quiz
•
10th Grade
16 questions
Understanding Computer Hardware

Quiz
•
10th Grade
15 questions
Tugas Informatika Kelas 7

Quiz
•
7th Grade - University
11 questions
G 10- Understanding Main Memory and Cache

Quiz
•
10th Grade - University
15 questions
Understanding Loops in C Programming

Quiz
•
1st Grade - University
20 questions
Computer System Quiz

Quiz
•
10th Grade
16 questions
DRILL IT ERA

Quiz
•
2nd Grade - University
20 questions
UH 1 - Dasar-dasar TKJ

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade