wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Science Revison

Total questions: 100

Worksheet time: 1hrs 12mins

Name
Class
Date
1.

What is an algorithm?

a)

A sequence of instructions to solve a problem

b)

It is pseudocode

c)

It is a flowchart

d)

It is a robot

2.

Why do computers use algorithms?

a)

To give computers precise steps to solve a problem.

b)

Because they are easy to use

c)

It is the language that computers understand

d)

To help them predict the future

3.

What does sequence mean?

a)

To create a pattern

b)

To do something in order

c)

To do something randomly

d)

To repeat something over and over again

4.

What does selection mean?

a)

Selection is following instructions in order.

b)

Selection is to repeat something over and over again

c)

Selection is when you have a choice of options

d)

Selection is choosing the best option

5.

What is iteration?

a)

This is choosing what to do next

b)

This means doing something in order

c)

It is repeating something over and over again.

d)

It is writing pseudocode

6.

What does this symbol represent?

a)

Process

b)

Input/Output

c)

Start/End

d)

Decision

7.

What does this symbol represent?

a)

Decision

b)

Process

c)

Input

d)

End

8.

What does this symbol represent?

a)

Output

b)

Start

c)

Decision

d)

Process

9.

What does this symbol represent?

a)

Process

b)

Input

c)

Output

d)

Sub-process

10.

What does this symbol represent?

a)

Input/Output

b)

Decision

c)

Start

d)

End

11.

What is pseudocode?

a)

Another way to represent an algorithm

b)

It uses symbols to represent an algorithm

c)

It is a programming language

d)

It is the name of a robot

12.

What are the two ways to represent an algorithm?

a)

Pen and Pencils

b)

Flowchart and Pseudocode

c)

Laptop and Desktop

d)

Tablet and Smartphone

13.
Which sorting algorithm makes one swap per pass (possibly swapping an element with itself)?
a)
Selection Sort
b)
Bubble Sort
c)
Insertion Sort
14.
Which sorting algorithm may make multiple swaps per pass?
a)
Bubble Sort
b)
Selection Sort
c)
Insertion Sort
15.
The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?
 
4    5    9    6    2    7

4    5    6    2    7    9 
4    5    2    6    7    9
a)
Bubble Sort
b)
Selection Sort
c)
Insertion Sort
16.
We are sorting the following list in ascending order:
 
1    4    2    9    3    8    5
 
What does the list look like after one pass of the insertion sort algorithm. 
a)
1 4 2 9 3 8 5
b)
4 2 9 3 8 5 1
c)
4 1 2 9 3 8 5
17.
What word is missing from the line below?
SELECT *
_______ CUSTOMER;
a)
FROM
b)
WHERE
c)
SELECT
d)
ORDER BY
18.
What is the purpose of  *?
a)
Selects ALL fields from the table
b)
Selects only the first field in the table
c)
Selects the last field in the table
d)
Shows only the first row in the table
19.
You must always use _____ when filtering string values.
a)
quotes
b)
astericks
c)
exclamation point
d)
percent signs
20.
A statement inside another statement
a)
If Statement
b)
Conditional 
c)
Nested Statements
d)
Decrement
21.
To subtract a certain amount (often 1), once or many times
a)
Decerement
b)
Conditional 
c)
Increment
d)
Abstraction
22.
Another way of saying "otherwise"
a)
Programming
b)
Parameters
c)
Else
d)
Increment
23.
A statement that is either true or false depending on the situation
a)
If Statement
b)
Nested Statements
c)
Conditional 
d)
Automate
24.
 A line that determines whether or not you run a certain chunk of code
a)
Increment
b)
Decrement
c)
If Statement
d)
Conditional 
25.
To repeat a fixed number of times use a
a)
while loop
b)
for loop
c)
if loop
d)
indentation
26.
To repeat until a particular condition is true use
a)
while loop
b)
for loop
c)
if loop
d)
indentation
27.
A variable that can hold a collection of values, often called an array in other programming languages
a)
list
b)
int
c)
string
d)
constant
28.
Converts a number to a string
a)
str()
b)
int()
c)
parseInt()
d)
convert
29.
Python identifies blocks of code by
a)
BEGIN and END keywords
b)
{ and }
c)
aligning up the starts of lines (indentation)
d)
guessing
30.
What is the name of the environment in Python that write your programs and then test them out?
a)
Shell
b)
Window
c)
IDLE
d)
CLI
31.
What extension must you add to the end of a file when saving?
a)
.xlsx
b)
.pptx
c)
.docx
d)
.py
32.
What does the term 'debug' mean?
a)
Identify errors and fix them.
b)
Making a calculation
c)
A set of instructions
d)
Looking at code
33.
A computer network is ___ connected together.
a)
One computer
b)
Two or more
c)
Three or more
d)
Four or more
34.
What does LAN stand for?
a)
Local Arena Network
b)
Local Area Network
c)
Long Area Network
d)
Local Arena Name
35.
What does WAN stand for?
a)
Wide Area Network
b)
Wide Arena Network
c)
World Area Network
d)
World Arena Network
36.
Convert 254 to binary
a)
11110000
b)
11111100
c)
11111111
d)
11111110
37.
Convert 65 to binary
a)
01100001
b)
00100001
c)
01000001
d)
00100101
38.
Convert 37 to binary
a)
00100101
b)
00100011
c)
00100111
d)
01000101
39.
Convert 85 into Hexadecimal
a)
01010101
b)
55
c)
5A
d)
A5
40.
Denary = 255
Hex = ?
a)
AF
b)
1F
c)
FA
d)
FF
41.
What does CPU stand for?
a)
Central Program Unit
b)
Central Processing Unit
c)
Computer Program Unit
d)
Computational Pink U
42.
Is cache memory volatile?
a)
True
b)
False
43.
What is this process called:
The CPU makes sense of the instruction it has just fetched.
a)
Decode
b)
Execute
c)
Process
d)
Fetch
44.
It is possible to improve the performance of a computer by choosing a CPU with a higher clock speed
a)
False
b)
True
45.
Select an example of an embedded system
a)
Smartphone
b)
Cruise Control
c)
Laptop
d)
Computer
46.
What does the ALU do?
a)
Logic operations
b)
Nothing
c)
Deletes calculations
d)
Performs calculations
47.
What does MAR stand for?
a)
Main Address Register
b)
Memory Address Register
c)
Massive Address Register
d)
Minimal Age Readable
48.
The stages required for processing are known as the....
a)
Fetch-Execute-decode
b)
Process-decode-fetch
c)
Fetch-Decode-Execute
d)
Process
49.
When the CPU fetches data it makes use of a vital path called?
a)
The Address walk
b)
The Address Bus
c)
The bus
d)
The address plane
50.
MDR stands for Memory Delete Register
a)
True
b)
False
51.
The location of where data can be found in the computer memory is called the?
a)
Address
b)
Coordinates
c)
Register
d)
Cache
52.
The location of where data can be found in the computer memory is called the?
a)
Address
b)
Coordinates
c)
Register
d)
Cache
53.
What are the physical components of a computer system called?
a)
Hardware
b)
Desktop
c)
Devices
d)
Peripherals
54.
What are the programs that run on a computer system called? 
a)
Algorithms
b)
Code
c)
Software
d)
Languages
55.
The main circuit board in a computer is called the ________.
a)
RAM
b)
dongle
c)
motherboard
d)
 power supply unit
56.
Which of the following is an ADVANTAGE of Hard Disk Drives over Solid State Drives?
a)
Faster Performance
b)
Usually More Storage Space
c)
More Quiet
More Quiet
d)
None of the Above
57.
RAM & ROM are known as what kind of memory?
a)
Secondary storage
b)
Main memory
c)
Registers
d)
Flash memory
58.
What does the acronym RAM stand for?
a)
Random Alignment Memory
b)
Read Access Memory
c)
Random Access Memory
d)
Read All Memory
59.
What does the acronym ROM stand for?
a)
Read Only Memory
b)
Random Option Memory
c)
Read Once Memory
d)
Random Operating Memory
60.
In terms of computer memory, what is meant by the term 'volatile'?
a)
It retains its content when power is cut
b)
It loses its contents when power is cut
c)
It is not stable and should not be used
d)
Memory chips can overheat
61.
Which statement best describes RAM?
a)
Fast, permanent storage
b)
Slow, volatile stoage
c)
Fast, volatile storage
d)
Slow, permanent storage
62.
Which statement best describes ROM?
a)
A flash memory chip that contains a small amount of non-volatile memory
b)
A memory store containing a large amount of volatile memory
c)
A register within the CPU responsible for storing memory addresses
d)
A memory store containing a small amount of volatile memory
63.
Found in the computer's BIOS, what actually is the 'bootstrap'?
a)
The program which takes the computer through steps that lead up to the loading of the operating system (OS)
b)
The program responsible for loading the drives for peripheral devices like the keyboard and mouse
c)
The computer's initial start-up process
d)
The device used to attach the ROM to the computer's motherboard
64.
Malware ...
A.  Is badly written software
B.  Can go unnoticed on your system
C.  Can be downloaded because you were fooled to click a link
D.  Means malicious software.
a)
All are correct.
b)
Only C is correct
c)
Only A is incorrect
d)
Only B and C are correct
65.
Phishing...
A.  Usually involves a fake email
B.  Involves people trying to scam the reader into giving away personal data or installing malware
C.  attempts are always easy to spot and avoid
D.  Is pronounced 'Fishing'.
a)
Only D is incorrect
b)
Only D is correct
c)
only A, B and D are correct
d)
only B is correct
66.
Social engineering could involve...
A. A phone call from a bank asking to verify your account number and Internet banking password.
B. 
Entering an SQL injection attack into a web form.
C. 
Controlling thousands of computers to be the 'slaves' of a hacker.
D. 
Fooling people to accidently let a criminal have access to a company network.
a)
Only A and C are correct
b)
Only B and C are incorrect
c)
Only B and C are correct
d)
Only D is correct
67.
WiFi is available in many places
a)
WiFi is safe because only you and the server can pick up the signals
b)
WiFi is always encrypted
c)
Unsecured WiFi means that signals are sent unencrypted.
d)
WiFi signals can't be picked up outside a building
68.
DOS attacks:  
a)
Stands for Denial of Service attack
b)
Stands for Disc Operating System attack
c)
Involves creating a fake site that users are lead to.
d)
Is when a criminal buys all the tickets really quickly from an event website then sells them for a profit.
69.
Network forensics means...
a)
Logging network traffic so that if there is a security breach the source can be found.
b)
Using firewalls to stop malicious network access
c)
Installing antivirus software throughout an organisation
d)
Analysing a network policy to check for weaknesses.
70.
Why should different users have different access levels in school?
a)
So that the teachers keep the students 'in their place'
b)
So the technicians can have more power over the rest of us
c)
To stop irresponsible people spoiling data or programs
d)
So that the teachers can 'spy' on what the students are doing.
71.
Which of these is true about passwords?
A.  The longer ones are generally harder to crack
B.  Adding numbers doesn't help
C.  Good ones are hard to remember
D.  It's OK to use the same password for everything
a)
A and C
b)
A and B
c)
A, C and D
d)
A only
72.
What is the purpose of an 'operating system'?
a)
The user has to type in specific commands to do things like moving and copying files.
b)
The user communicates with the operating system using windows, icons, menu and pointers (WIMP) e.g. Windows.
c)
A set of programs that controls how the user interacts with the hardware and software of a computer.
d)
Allows a user to interact with the computer.
73.
Which of the following is NOT an operating system?
a)
Windows
b)
IOS
c)
Android
d)
Adobe Photoshop
74.
A function within an operating system is peripheral management - which is the most appropriate definition?
a)
Manages all of the computer input and output by managing requests from programs to use devices like printers, speakers, keyboards and hard disk drives. It communicates with devices through software called drivers.
b)
It is in charge of the RAM. Programs often use RAM throughout their operation, some use more memory than others. The memory manager checks requests from programs for memory space are valid and then allocates memory space.It also de-allocates space.
75.
What is meant by a Graphical User Interface (GUI)?
a)
The user has to type in specific commands to do things like moving and copying files.
b)
The user communicates with the operating system using windows, icons, menu and pointers (WIMP) e.g. Windows
76.
The following is not a type of Systems Software (4-6) 
a)
Device Drivers 
b)
Utility Programs 
c)
Applications 
d)
Operating Systems 
77.
Operating Systems need to manage System _________? (1-3) 
a)
Objectives 
b)
Electricity 
c)
Restores 
d)
Resources 
78.
What it is Input Devices
a)
connected to a computer and produces input signals
b)
shows, prints and presents the results of a computer’s work.
c)
is the holding of data in an electromagnetic form for access by a computer processor.
d)
can be used to print text and graphics on mediums such as paper, transparency film or even cloths
79.
One types of peripheral devices
a)
Input Devices
b)
Devices
c)
Keyboard
d)
Mouse
80.
Which of the following is the definition of a variable?
a)
A container which is used to store values such as the number of attempts a person tries to log on to a network.
b)
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
c)
A value that cannot be altered by the program during normal execution: the value stays the same. 
d)
Messages to explain to others, and often to remind yourself, what the code is intended to do. 
81.
Which of the following is the definition of a comment?
a)
A container which is used to store values such as the number of attempts a person tries to log on to a network.
b)
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
c)
A value that cannot be altered by the program during normal execution: the value stays the same. 
d)
Messages to explain to others, and often to remind yourself, what the code is intended to do. 
82.
Which of the following is the definition of pseudocode?
a)
A container which is used to store values such as the number of attempts a person tries to log on to a network.
b)
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
c)
A value that cannot be altered by the program during normal execution: the value stays the same. 
d)
Messages to explain to others, and often to remind yourself, what the code is intended to do. 
83.
Which of the following is the definition of a constant?
a)
A container which is used to store values such as the number of attempts a person tries to log on to a network.
b)
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
c)
A value that cannot be altered by the program during normal execution: the value stays the same. 
d)
Messages to explain to others, and often to remind yourself, what the code is intended to do. 
84.
An identifier is the ‘name’ given to a variable. For example: 
distanceToSchool = 10
What is the value of the variable?
a)
10
b)
=
c)
distanceToSchool
85.
A constant is a value that cannot be altered by the program during normal execution: the value stays the same. 
a)
True
b)
False
86.
When writing pseudocode it is a good idea to add comments to explain to others, and often to remind yourself, what the code is intended to do. 
To separate these comments from the actual code, what character(s) are used?
a)
:
b)
//
c)
()
d)
#
87.
What is a flowchart?
a)
a diagram that shows the inputs, outputs and processes in an algorithms.
b)
a way to write a computer program
c)
a programming language
d)
a chart used to show the results of something
88.
What is meant by a process?
a)
an action that takes place.
b)
a way of calculating something
c)
an output from a system
d)
a way of inputting information into a computer program
89.
Breaking a complex problem down into smaller problems and solving each one individually.
a)
Decomposition
b)
Abstraction
c)
Programming
d)
Algorithmic Thinking
90.
Picking out the important bits of information from the problem, ignoring the specific details that don't matter.
a)
Decomposition
b)
Abstraction
c)
Programming
d)
Algorithmic Thinking
91.
A logical way of getting from the problem to the solution. If the steps you take to solve a problem follow an algorithm then they can be reused and adapted to solve similar problems in the future.
a)
Decomposition
b)
Abstraction
c)
Programming
d)
Algorithmic Thinking
92.
Which of these is an example of decomposition?
a)
Breaking the problem of organising a cake sale into smaller parts, such as who will bake the cakes and when to hold the cake sale.
b)
Taking the problem of baking a cake and thinking about how we can make it the best cake possible.
c)
Looking at what different kinds of cake can be made.
93.
A way of representing information using only two options
a)
Uniform Code
b)
trinary
c)
looping
d)
binary
94.
Finding and fixing problems in your algorithm or program
a)
Insect Spray
b)
looping
c)
Debugging
d)
digit
95.
A list of steps that you can follow to finish a task
a)
To do list
b)
directions
c)
schedule
d)
algorithm
96.
Which is NOT an example of a peripheral device?
a)
Printer
b)
Monitor
c)
Projector
d)
Computer
97.
What type of network is this?
a)
Bus
b)
Ring
c)
Star
d)
Mesh
98.
Which data type is used to store:
TRUE
a)
Boolean
b)
Real/Float
c)
String
d)
Integer
99.
Which data type is used to store:
99.10
a)
Integer
b)
Real/Float
c)
String
d)
Boolean
100.
Iteration is
a)
Used in programming to select which statements will be executed next based on a condition
b)
Two or more statements following one after the other
c)
Performing a loop in a program to repeat a number of statements
d)
Finding errors in a piece of code