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
15 questions
SISTEM KOMPUTER

Quiz
•
10th Grade
20 questions
Computer System Quiz

Quiz
•
10th Grade
15 questions
Quiz sobre el ornitorrinco y la programación

Quiz
•
8th Grade - University
16 questions
DRILL IT ERA

Quiz
•
2nd Grade - University
20 questions
Sumatif_Informatika Gasal TP. 2024/2025

Quiz
•
10th Grade
15 questions
Tugas Informatika Kelas 7

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

Quiz
•
1st Grade - University
17 questions
CSI - U2L3 - Understanding Compiled and Interpreted Languages

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University