Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CPU & LMC

Total questions: 20

Worksheet time: 12mins

Name
Class
Date
1.
What is the main function of the CPU?
a)
To make sure that the RAM is working properly
b)
To get the computer started and complete the boot sequence
c)
To carry out the fetch-decode-execute cycle.
d)
To make sure that the computer is functioning properly
2.
What are the two main parts of a program instruction?
a)
RAM and ROM
b)
ALU and Control Unit
c)
Cache and Registers
d)
Opcode and Operand
3.
What happens during the fetch stage?
a)
The CPU fetches data and instructions from main memory and stores them in its own registers.
b)
The CPU fetches instructions from the hard drive.
c)
The CPU fetches instructions from the ROM
d)
The CPU fetches data and instructions from the registers
4.
What is the purpose of the CPU's registers?
a)
These are used to permanently store data and instructions
b)
These are used to temporarily store data and instructions.
c)
They are used to keep track of the CPU speed.
d)
They are used to check the CPU's processing power
5.
What is the purpose of the Program Counter (PC) register?
a)
This is used to hold the instruction that needs to be carried out.
b)
This is used to save information.
c)
This is used to hold the location of the data.
d)
This is used to store the memory address of the next instruction.
6.
What is the purpose of the Memory Address Register (MAR)?
a)
This holds the instruction to be carried out by the CPU.
b)
This hold the location of where the data is.
c)
This is used to carry out calculation.
d)
This is used to keep track of which instruction is next.
7.
What is the purpose of Memory Data Register (MDR)?
a)
This holds all the data that needs to be processed.
b)
This carries out the calculations.
c)
This holds the location of where the data will be loaded from or stored.
d)
This register saves information to the hard drive.
8.
What does the accumulator register do?
a)
This stores data that is being used by the CPU (for example in calculations)
b)
This holds personal details
c)
This is used to keep track of all the instructions.
d)
This is where the instructions are stored
9.
Which factors could affect the performance of the CPU?
a)
The physical size of the CPU.
b)
The clock speed, number of cores and cache size
c)
How heavy the CPU is.
d)
How many fans the CPU has
10.
What does the following numeric code represent in LMC: 901
a)
Output
b)
Store
c)
Load
d)
Input
11.
What is the numeric code for the OUTPUT instruction in LMC?
a)
5xx
b)
902
c)
7xx
d)
901
12.
What is the Mnemonic code for the STORE instruction in LMC?
a)
STO
b)
LDA
c)
STA
d)
BRA
13.
What does the BRA loop do in LMC?
a)
This will keep looping the program until you stop it.
b)
This will loop the program until a certain condition is met.
c)
This will loop the program until the accumulator is 0.
d)
This will loop the program until the accumulator is negative
14.
What happens at the decode step of the fetch-decode-execute cycle?
a)
The CPU works out what the instruction that it has fetched actually means.
b)
This is where the instruction is processed.
c)
This is where data is fetched from the main memory.
d)
It is where the CPU transfers instructions from the memory.
15.
What does the following instruction do in LMC: 
A DAT 5
a)
Creates a memory location called B
b)
Creates a memory location labelled 5 which stores the letter A
c)
Create a memory location labelled A which stores the number 5
d)
Creates a memory location labelled C
16.
What are the two main types of primary memory?
a)
RAM & ROM
b)
HDD & Flash
c)
Opcode & Operand
d)
First and Second
17.
What does the RAM store?
a)
The RAM stores all programs and data when the computer is switched off.
b)
All programs and data that are currently being used.
c)
The RAM stores numbers.
d)
The RAM stores personal information.
18.
What is the main purpose of the ROM?
a)
Stores the operating system.
b)
To save information on.
c)
Stores the boot program which gets the computer started and operating system loaded.
d)
To store programs and data which are currently being used.
19.
RAM is a type of volatile memory. What does the term volatile mean?
a)
That all programs are permanently stored.
b)
That it does not need power to save programs and data.
c)
That all information stored in RAM will be lost if the power is switched off.
d)
That RAM has a big capacity.
20.
What is virtual memory?
a)
This is like virtual reality
b)
Virtual memory is very fast memory
c)
This is where part of the hard drive is used as an extension to RAM
d)
This is where virtual memory fetches information.