NEW
Font size
S
M
L
XL
WorksheetsHardware, Coding, CPU, pseudo
Total questions: 68
Worksheet time: 34mins
Name
Class
Date
1.
What is a programming language?
a)
Written English
b)
An artificial language used to program a computer
c)
A language used in pseudocode
2.
What is machine code?
a)
The serial number of a computer
b)
A programming language that a computer understands
c)
The make and model of a computer
3.
What is a program?
a)
A series of step-by-step instructions that tell a computer how to solve a task
b)
A video that is watched on a computer
c)
A flowchart written on a computer
4.
What does the statement 'print' do?
a)
Output a hard copy of a program to a printer
b)
Output a message on the screen
c)
Print a hard copy of a flowchart to a printer
5.
What does the statement 'while' do?
a)
Tell the computer to wait for a while before continuing with the program
b)
Implement selection
c)
Implement a loop
6.
What do the statements 'if' and 'else' do?
a)
a decision
b)
a loop
c)
a delay
7.
What is programming?
a)
The writing of computer code to create a program
b)
Creating algorithms to solve a problem
c)
Creating a flowchart to solve a problem
8.
What is a variable?
a)
An input device
b)
A message displayed
c)
Data stored in code
9.
In code, what is a 'string'?
a)
text
b)
numbers
c)
input
10.
In programming, what is iteration?
a)
Repeating
b)
Sequence order
c)
A decision
11.
What is iteration also known as?
a)
Repeating once
b)
Looping
c)
Crashing
12.
What is selection?
a)
Repeating a number of steps
b)
A decision point in a program
c)
The order in which instructions are carried out
13.
In programming how can we select from one thing or another?
a)
IF-OTHERWISE
b)
IF-ELSE
c)
DO-ELSE
14.
In programming what is the answer to an IF question?
a)
In or Out
b)
Positive or Negative
c)
True or False
15.
How would you decide if a number is greater than 75 ?
a)
"number > 75"
b)
" number == 75"
c)
" number - 75"
16.
How would you decide if a number is LESS THAN OR EQUAL TO to 20?
a)
"number > 20"
b)
" number ^ 20"
c)
" number <= 20"
17.
How would you decide if a number is equal to 50 ?
a)
"number > 50"
b)
" number == 50"
c)
" number - 50"
18.
How would you decide if a number is NOT equal to 10?
a)
"number == 10"
b)
" number != 10"
c)
" number < 10"
19.
What values does a Boolean expression have?
a)
In or Out
b)
True or False
c)
Right or Wrong
20.
In computer programming, what is a 'loop'?
a)
Something that is used to end a program
b)
Something that is repeated
c)
Something that tells a program what to do
d)
Something that is required to load a program
21.
Which of these will keep something going until you tell it to stop?
a)
When statement
b)
If Statement
c)
Forever Loop
22.
Which of these will keep looping through events until a condition changes
a)
While Loop
b)
For Loop
c)
When statement
d)
If Statement
23.
What is a bug?
a)
An error in a program
b)
An error in an algorithm
c)
A way of halting a program that is running
24.
How can code be made to be easier to read?
a)
By inserting lots of line spaces
b)
By using small sized characters
c)
By including comments and using meaningful names
25.
In a flow chart, what does a oval mean?
a)
Start or end
b)
Decision
c)
Process
d)
Input or Output
26.
In a flow chart, what does a rectangle mean?
a)
Start or end
b)
Decision
c)
Process
d)
Input or Output
27.
In a flow chart, what does a wonky rectangle (parrellelogram) mean?
a)
Start or end
b)
Decision
c)
Process
d)
Input or Output
28.
In a flow chart, what does a diamond mean?
a)
Start or end
b)
Decision
c)
Process
d)
Input or Output
29.
Which of the following would represent a decision in a flow chart?
a)
Put teabag in cup
b)
Boil Water
c)
Wait for water to boil
d)
Is water boiled?
30.
Which of the following would represent a pause (represent by a wonky rectangle - parallelogram) in a flow chart?
a)
Put teabag in cup
b)
Boil Water
c)
Wait for water to boil
d)
Is water boiled?
31.
Which of the following would represent an input in a flow chart?
a)
Put teabag in cup
b)
Drink tea
c)
Wait for water to boil
d)
Is water boiled?
32.
Which describes an algorithm?
a)
Set of step by step instructions to complete a task or solve a problem
b)
A visual diagram to represent an algorithm
c)
Re-using a chunk of code.
33.
Which describes a flow chart?
a)
Set of step by step instructions to complete a task or solve a problem
b)
A visual diagram to represent an algorithm
c)
Re-using a chunk of code.
34.
Which of these best describes computer hardware?
a)
A computer or a program that last a long time
b)
The physical components of a computer, such as a keyboard or monitor
c)
Instructions that tells a computer what to do, such as a program
d)
Something used in a computer system that is made from a hard material
35.
Which of these best describes computer software?
a)
A computer or system that last a short time
b)
Something used in a computer that is soft
c)
Instructions that tells a computer what to do, such as a program
d)
The physical components of a computer, such as a keyboard or monitor
36.
What is the definition of computer code?
a)
program instructions
b)
computer storage
c)
encryption
d)
a computer program
37.
Programming sequences are�
a)
Instructions that work on a loop
b)
Instructions that work one after the other
c)
Numbers
d)
Code formats
38.
What is an input device?
a)
Any piece of computer hardware that is used to communicate the results of data that has been processed by a computer system
b)
Any piece of computer hardware used to provide data to a computer system
c)
A piece of computer equipment on which data can be stored
39.
What is an example of an input device?
a)
A microphone
b)
A speaker
c)
A monitor
40.
What is an output device?
a)
Any piece of computer hardware used to provide data to a computer system
b)
A piece of computer equipment on which data can be stored
c)
Any piece of computer hardware that is used to communicate the results of data that has been processed by a computer system
41.
What is an example of an output device?
a)
A keyboard
b)
A mouse
c)
A monitor
42.
What is a storage device?
a)
A piece of computer equipment on which data can be stored
b)
Any piece of computer hardware that is used to communicate the results of data that has been processed by a computer system
c)
Any piece of computer hardware used to provide data to a computer system
43.
What is an example of a storage device?
a)
A hard drive
b)
A keyboard
c)
A monitor
44.
What is software?
a)
The physical parts of the computer
b)
The programs that run on a computer
c)
The place where data is stored on a computer
45.
What is hardware?
a)
The programs that run on a computer
b)
The physical parts of the computer
c)
A programming language
46.
What is the CPU?
a)
The web cam
b)
Microchip that is installed on a motherboard and acts as the computer�s brain.
c)
The part of the computer that makes the laptop battery work
47.
What is the purpose of the CPU?
a)
To create data
b)
To store data
c)
To process data
48.
What does the control unit do?
a)
It controls and monitors communications between the computer and any hardware attached
b)
It holds the data and programs that the CPU currently needs
c)
It carries out calculations and logic operations
49.
How many instructions can a CPU process at a time?
a)
One
b)
Many
c)
It does not process instructions
50.
What is a network?
a)
Two or more computers that are connected together by cables or Wi-Fi
b)
A single computer that is not connected to any other
c)
Keyboards, Mouse and speakers connected to a PC.
51.
What is an example of an operating system?
a)
Google Chrome
b)
iTunes
c)
Windows 10
d)
Microsoft Office
52.
Which best describes what an operating system is?
a)
The operating system is the hardware that controls the computer programs
b)
The operating system is the whole computer, including the keyboard, mouse, monitor, etc.
c)
The operating system is a set of programs that controls the hardware and lets the user work with the computer
53.
A touchscreen on a iPad is an example of �.
a)
an input device
b)
an input and output device
c)
an output device
d)
software
54.
What does CPU stand for?
a)
Central Programming Unit
b)
Computer Processing Unit
c)
Compression processing Unit
d)
Central Processing Unit
55.
Which piece of hardware refers to the 'brain' of the computer?
a)
CPU
b)
Drive
c)
Monitor
d)
Keyboard
56.
What is the correct process of a computer?
a)
Output->Input->Processing
b)
Output->Processing->Input
c)
Processing->Input->Output
d)
Input->Processing->Output
57.
What describes an output device?
a)
A piece of hardware, often connected to a computer directly or through a local area network (LAN).
b)
A piece of hardware that obeys a computer command to do something in the real world.
c)
All computers need a set of instructions to follow
58.
What best describes an input device?
a)
All computers need a set of instructions to follow
b)
A piece of hardware, often connected to a computer directly or through a local area network (LAN).
c)
Any piece of hardware which is used to enter data or content into a computer system.
59.
You've been asked to design a security system. Which one of the following INPUTS data to the system?
a)
Monitor
b)
Flashing Light
c)
Motion Sensor
d)
Buzzer
60.
When using an ATM to withdraw cash, what is the input device hardware?
a)
Number Pad
b)
Screen
c)
Cash Dispenser
d)
Control System
61.
Which of these are examples of a general-purpose system?
a)
Washing Machine
b)
Automatic Door
c)
Ticket Machine
d)
PC's / smartphones
62.
Give an example of an embedded system
a)
Washing Machine
b)
Smartphone
c)
Laptop
d)
Desktop
63.
Which piece of hardware refers to the 'brain' of the computer?
a)
Motherboard
b)
CPU (Central Processing Unit)
c)
Drive
d)
Monitor
64.
What does the motherboard of the computer contain?
a)
The CPU, RAM, Sound and Graphic card
b)
Mouse, Monitor and printer
c)
Plug socket
65.
Which best describes "data"?
a)
Consists of facts or statistics. It can be numbers or symbols.
b)
Can be a sentence of words or sequence of numbers/images that have been put into context.
c)
A block of code that performs a task without returning a value.
d)
A block of code that performs a task and returns a value.
66.
Which best describes "information"?
a)
Consists of facts or statistics. It can be numbers or symbols.
b)
Can be a sentence of words or sequence of numbers/images that have been put into context.
c)
A block of code that performs a task without returning a value.
d)
A block of code that performs a task and returns a value.
67.
What is " name = "Bob" in pseudocode?
a)
name <-- "Bob
b)
name --> "Bob"
c)
name = "Bob"
68.
What is print "Hello!" in pseudocode?
a)
output "Hello!"
b)
OUTPUT "Hello!"
c)
print "Hello!"
Reset
