
CPU Quiz
Authored by Adam Adam
Information Technology (IT)
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the primary role of a compiler?
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)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?