wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

OCR GCSE revision

Total questions: 117

Worksheet time: 2hrs 31mins

Name
Class
Date
1.

The CPU (Central Processing Unit) continually

(a)   , ​ (b)   and ​ (c)   instructions.

Choose from the below words
fetches
decodes
executes
acquires
decrypts
encodes
2.

In Von Neumann architecture, the part that stores the address of the location in memory for data to be fetched from or sent to is...

a)
Memory Address Register (MAR)
b)
Storage Address Register (SAR)
c)
Location Pointer Register (LPR)
d)
Data Address Register (DAR)
3.

The part of the CPU that carries out arithmetic calculations and logical decisions is ...

a)
Input/Output (I/O)
b)
Arithmetic Logic Unit (ALU)
c)
Random Access Memory (RAM)
d)
Central Processing Unit (CPU)
4.

Cache memory sits between the processor and main memory (RAM). The ​ (a)   looks into the cache for required data. If it is not there, it requests it from ​ (b)   . The data is moved into cache before being accessed by the CPU.

Choose from the below words
CPU
RAM
Register
Hard Drive
Motherboard
Graphics Card
SSD
Network Card
5.

In Von Neumann architecture, the part that stores the address of the next instruction to be processed is the...

a)
Program Counter (PC)
b)
Random Access Memory (RAM)
c)
Central Processing Unit (CPU)
d)
Memory Address Register (MAR)
6.

In Von Neumann architecture, the part that stores data fetched from memory or to be sent to memory is...

a)
Central Processing Unit (CPU)
b)
Input/Output (I/O) devices
c)
Control Unit (CU)
d)
Memory Data Register (MDR)
7.

The CPU works at high speeds governed by the clock chip. The ​ (a)   the clock, the more ​ (b)   that can be completed per ​ (c)   .

Choose from the below words
faster
instructions
second
slower
minute
decodes
8.

In Von Neumann architecture, the part that stores the RESULTS of any calculation carried out by the ALU is the...

a)

RAM

b)

Output Unit (OU)

c)

Accumulator (ACC)

d)

Control Unit (CU)

9.

Cache memory can be accessed very quickly by the ​ (a)   , so having ​ (b)   cache will provide the CPU with ​ (c)   access to more data.

Choose from the below words
CPU
more
fast
GPU
less
slow
RAM
limited
10.

If a CPU has multiple cores, it may be able to process more instructions ____________.

a)

quickly

b)
randomly
c)
efficiently
d)
simultaneously
11.

An embedded system is a computer system that has been designed for a ​ (a)   function as part of a ​ (b)   system.

Choose from the below words
dedicated
bigger
generalised
smaller
multi-purpose
12.

image file size = ​ (a)   x ​ (b)   (pixels) x ​ (c)   (pixels)

Choose from the below words
colour depth
image height
image width
image size
file format
compression ratio
pixel density
13.

​ (a)   (ROM) is ​ (b)   , which means it ​ (c)   need power to maintain it. It provides storage for the ​ (d)   .

Choose from the below words
Read-only Memory
non-volatile
does not
boot process
Read-access Memory
volatile
does
unicode
14.

What are 3 characteristics of embedded systems?

a)

Large in size

b)

Often manufactured as a single chip

c)

Perform a limited set of tasks

d)

Less robust and reliable than general purpose computers

e)

Limited options to modify/difficult to modify

15.

Embedded systems are found in most consumer products, such as... (choose 3)

a)

Laptops

b)

Televisions

c)

Desktop PCs

d)

Washing machines

e)

Home heating controls

16.

A computer needs primary storage for data it needs to access quickly. This includes: (choose 3)

a)

Start-up or boot instructions

b)

Power supply

c)

The operating system

d)

Keyboard

e)

Programs that are running

17.

Random Access Memory (RAM) is ​ (a)   , meaning it needs ​ (b)   to maintain it. If the computer is turned off, the RAM ​ (c)   its contents.​

Choose from the below words
volatile
power
loses
non-volatile
retains
permanent
storage
18.

The ​ (a)   RAM in a computer, the more ​ (b)   it can run at the same time and the ​ (c)   the computer's performance.

Choose from the below words
more
programs and data
better
less
boot processes
fewer
overflow errors
19.

Secondary storage is needed to store files and programs and it is therefore non-volatile. Some types of secondary storage in a computer are... (choose 3)

a)

CPU

b)

Magnetic storage (mostly HDDs)

c)

Solid-state storage (flash memory)

d)

Optical storage (CD, DVD, CD-R, CD-RW, blu ray etc)

e)
Cloud storage
20.

Magnetic storage mostly uses hard disk drives (HDDs). They are made of a stack of magnetic disks or platters that rotate. A ​ (a)   moves across the surface of the platters to read and write data. Magnetic disks are ​ (b)   and provide ​ (c)   storage at ​ (d)   .

Choose from the below words
moving read/write head
reliable
high capacity
low capacity
unreliable
expensive
low-cost
high-cost
thermal sensor
21.

Solid-state storage uses ​ (a)   technology, so they have ​ (b)   . This means access to data is ​ (c)   than for a magnetic HDD. SSDs are ​ (d)   , ​ lightweight and compact making them ideal for use in portable devices. They have a ​ (e)   capacity than magnetic HDDs and the cost is higher.

Choose from the below words
flash memory
no moving parts
moving parts
faster
slower
robust
delicate
heavy
smaller
bigger
22.

Optical media like Blu Ray disks, CD-ROM and DVD-ROM (​ (a)   ), CD-R and DVD-R (​ (b)   ) and CD-RW and DVD-RW (​ (c)   ) is ​ (d)   and robust.

Choose from the below words
read-only
write once
rewriteable
low cost
expensive
23.

Match the following:

a)

4 bits

1.

1 nibble

b)

8 bits

2.

1 byte

c)

1000B

3.

1 kilobyte

d)

1000KB

4.

1 megabyte

24.

sound file size = ​ (a)   (Hz) x ​ (b)   (s) x ​ (c)   x ​ (d)  

Choose from the below words
sample rate
duration
bit depth
number of channels
frequency
colour depth
quality
volume
25.

text file size = ​ (a)   x ​ (b)  

Choose from the below words
bits per character
number of characters
characters per word
word size
26.

Moving the binary digits to the left or right is called a binary shift.

Moving to the left ​ (a)   the value by 2 for each place the value is shifted.

Moving to the right ​ (b)   the number by 2 for each place the value is shifted

Choose from the below words
multiplies
divides
adds
subtracts
halves
27.

To convert denary to hex:

(1) ​ _________ the denary number by 16 and write down the correct hex symbol for the result in the 16s column

(2) Convert the remainder to the correct symbol and write that in the 1s column

a)
Divide
b)

Multiply

c)

Subtract

28.

The character set of a computer is a list of all the characters available to the computer.

a)

True

b)

False

29.

Which of the following are valid character sets? (choose 2)

a)

ASCII / extended ASCII

b)

ANVILL

c)

Unicode

d)

EBIC

30.

Metadata means 'data about data'. Image metadata contains information that tells the computer ​ (a)   from the binary data stored, and it includes ​ (b)   and ​ (c)   .

Choose from the below words
how to reproduce the image
colour depth
resolution
file size
file format
compression ratio
file type
what is in the picture
31.

Higher colour depth: a ​ (a)   number of colours can be represented, giving a ​ (b)   quality image. ​ (c)   data is stored, making the file ​ larger.

Choose from the below words
larger
better
More
smaller
compact
Less
lesser
32.

Higher resolution: ​ (a)   pixels are used to represent the image, meaning the quality is ​ (b)   and it can be made larger ​ (c)   losing resolution. More data is needed to represent the pixel, meaning the file is ​ (d)   .

Choose from the below words
more
better
without
larger
less
worse
although
smaller
33.

Sounds are a series of ​ (a)   that ​ (b)   and can take any value - this means they are ​ (c)   .

Choose from the below words
vibrations
analogue
continuously vary
units
digital
stay the same
don't change
34.

Match the following:

a)

Sample rate

1.

Number of samples taken per second

b)

Duration

2.

Length of time the sound is sampled for

c)

Bit depth

3.

Number of bits used to store each sample

35.

With ​ (a)   compression, some of the data is removed to make the file ​ (b)   . The data removed is the least likely to be noticed. The original file ​ (c)   be restored from the compressed version.

Choose from the below words
lossy
smaller
cannot
lossless
can
larger
36.

With ​ (a)   compression, none of the data is removed. Algorithms look for patterns in the data so that repeated data items only need to be stored once, together with information about ​ (b)   . The original file ​ (c)   be restored.

Choose from the below words
lossless
lossy
can
cannot
how to restore them
what they are
37.

A ​ (a)   consists of devices connected together in a single building or site, such as a school or office, using ​ (b)   and wireless connections.

Choose from the below words
local area network (LAN)
wide area network (WAN)
personal area network (PAN)
ethernet
satellites
fibre-optic cables
38.

A ​ (a)   is formed by connecting together ​ (b)   . They may be spread across a ​ (c)   and use telephone lines, fibre-optic cables and even satellites. The largest WAN is ​ (d)   .

Choose from the below words
wide area network (WAN)
LANs
wide geographic area
the internet
metropolitan area network (MAN)
intranet
extranet
Bluetooth
small geographic area
39.

Bandwidth, measured in bits per second (bps) or megabits per second (Mbps), refers to how much data can be transmitted over a network in a given period of time.

Factors that can affect performance and potential bandwidth include: (choose 3)

a)

Number of users

b)

No. of USB ports on the router

c)

Transmission media used

d)

Temperature of server room

e)

Interference and error rates

40.

​ (a)   allow data to be passed between devices on a network.

​ (b)   connect networks together.

Choose from the below words
Switches
Routers
Hubs
Firewalls
Modems
Access Points
41.

Every device connected to the internet is assigned an IP address to enable it to be located.

​ IPv4 addresses use a ​ (a)   which is broken into four 8-bit sections, each representing a number between 0 and 255. They are usually written in ​ (b)   .

IPv6 addresses use a ​ (c)   which is broken down into eight 16-bit sections. They are usually written using ​ (d)   .

Choose from the below words
32-bit number
denary
128-bit number
hexidecimal
64-bit number
binary
256-bit number
octal
16-bit number
42.

There are a range of standard protocols used by applications such as web browsers and email clients. These are rules (NOT instructions). Match them:

a)

FTP

1.

File Transfer Protocol

b)

POP

2.

Post Office Protocol

c)

HTTPS

3.

Hypertext Transfer Protocol Secure

d)

IMAP

4.

Internet Message Access Protocol

e)

SMTP

5.

Simple Mail Transfer Protocol

43.

​ (a)   defines the rules for sending email messages from a client to a server, and then from server to server.

​ (b)   allows multiple devices to have synchronised access to mail on a mail server.

​ (c)   is used by a client to retrieve emails from the mail server. The emails are usually downloaded to the device then deleted from the server.

Choose from the below words
Simple Mail Transfer Protocol (SMTP)
Internet Message Access Protocol (IMAP)
Post Office Protocol (POP)
Hypertext Transfer Protocol (HTTP)
File Transfer Protocol (FTP)
Domain Name System (DNS)
Transmission Control Protocol (TCP)
Secure Shell (SSH)
44.

TCP/IP stands for ​ (a)   / ​ (b)   .

TCP ​ (c)   from applications into smaller data packets that can be sent across a network.

IP ​ (d)   to each data packet including the source and destination IP addresses.

Choose from the below words
Transmission Control Protocol
Internet Protocol
splits the data
adds a header
encrypts the data
compresses the data
combines the data
adds a footer
Transmission Control Process
45.

Protocols are assigned to layers. The advantages of layers are:

1) One layer can be ​ (a)   without affecting the other layers.

2) Enables hardware/software manufacturers to develop products that ​ (b)  

3) Easier to ​ (c)   networking errors and problems.

Choose from the below words
developed or changed
work together.
identify and correct
sent in an email
interact seamlessly
conflict with each other
create
introduce
46.

Which of the following is not a data type?

a)

Boolean

b)

Print

c)

Integer

d)

String

47.

Which of the following code is used to cast a string to an integer?

a)

bool("False")

b)

str("False")

c)

integer("123")

d)

int("123")

48.

One of the following terms is not associated with programming construct

a)

Selection

b)

Iteration

c)

Loop

d)

Sequence

49.

Identify the code which outputs 10 numbers correctly

a)

for i in range(0,11)

b)

for i in range(0,10)

c)

for i in range(1,9)

d)

for i in range(1,10)

50.

Substring is used to?

a)

Extract a portion of characters from a string

b)

Print out a portion of a string

c)

Remove the left characters by a certain amount

d)

Allow you to change the upper case

51.

Which of the following is an iteration?

a)

IF (num > 3)

b)

For i in range(0, 5)

c)

age = int("21")

d)

students = ["Harry", "Ryan", "Ibrahim"]

52.

What is the purpose of an array?

a)

To store a value

b)

To store multiple values of any type

c)

To store programming code

d)

To store multiple values of the same data type

53.

Which of the following is the correct code to create an array to store some integers?

a)

age = (2, 3, 1)

b)

age = ["2", "3", "1"]

c)

age = ["2" "3" "1"]

d)

age = [2, 3, 1]

54.

What is the correct value after this calculation? 5 mod 2

a)

1

b)

2

c)

2.5

d)

3

55.

What is the correct value after this calculation? 5 div 2

a)

1

b)

2

c)

2.5

d)

3

56.

What is the purpose of the following code?

Hide Answers

a)

Opens a file for you to write into it

b)

Opens a file for you to read the first line

c)

Opens a file called name to store in an array

d)

Opens a file called name to store in an array

57.

Which of the following is not string manipulation?

a)

name.upper()

b)

name.lower()

c)

name.substring()

d)

name.remove()

58.

Describe what a function is?

a)

A block a code that does not return a value

b)

A block a code that returns a value

c)

A block of code to store multiple values in

d)

A type of iteration

59.

In the following code how many parameters are used?

a)

1

b)

2

c)

3

d)

4

60.

In the following code how many local variables are there?

a)

1

b)

2

c)

3

d)

4

61.

What is the most suitable data type to store someone's name?

a)

String

b)

Character

c)

Integer

d)

Boolean

62.

What is the most suitable data type to store the cost of an item?

a)

String

b)

Real/Float

c)

Integer

d)

Boolean

63.

What is the following value that will be extracted using the code?

a)

Mr

b)

Liu

c)

Com

d)

Sci

64.

Which of the following best describes a constant?

a)

A memory store that store data that can be changed during the program

b)

A memory store that store data that cannot be changed during the program

c)

A memory store to store the value of an integer

d)

A memory store to store the value of a string

65.

What type of error is in the following code?

a)

Syntax

b)

Logical

c)

Data Type error

d)

Sequence program

66.

What type of error is in the following code?

a)

Syntax

b)

Logical

c)

Data Type Error

d)

Sequence problem

67.

Which of the following is not a boolean operator?

a)

AND

b)

OR

c)

NOT

d)

IS

68.

What name will be printed?

a)

Messi

b)

Salah

c)

Mbappe

d)

Ronaldo

69.

What type of subprogram is the following?

a)

Function

b)

Array

c)

Iteration

d)

Procedure

70.

What type of subprogram is the following?

a)

Function

b)

Array

c)

Iteration

d)

Procedure

71.

What is the correct value that will be extracted from the following code?

a)

Salah

b)

Liverpool

c)

Ronaldo

d)

Man Utd

72.

What type of data structure is the following?

a)

Constant

b)

Variable

c)

1D Array

d)

2D Array

73.

The IF STATEMENT belongs to which programming construct?

a)

Selection

b)

Sequencing

c)

Iteration

d)

Data Structure

74.

The WHILE STATEMENT belongs to which programming construct?

a)

Selection

b)

Squencing

c)

Iteration

d)

Data Structure

75.

The REPEAT UNTIL OR DO WHILE STATEMENT belongs to which programming construct?

a)

Selection

b)

Sequencing

c)

Iteration

d)

Data Structure

76.

The FOR STATEMENT belongs to which programming construct?

a)

Selection

b)

Sequencing

c)

Iteration

d)

Data Structure

77.

Which of the following statements can be used with conjunction with print(i) to iterate and provide the correct iteration?

a)

for i in range(0, 9):

b)

for i in range(1, 10):

c)

for i in range(0, 11):

d)

for i in range(1, 9):

78.

Which of the following is classed as a counter controlled loop?

a)

for loop

b)

while loop

c)

do until loop

d)

If statement

79.

Which of the following is classed as a condition based loop?

a)

for loop

b)

while loop

c)

else statement

d)

if statement

80.

Which of the following is an algorithm for searching?

a)

Binary

b)

Bubble

c)

Merge

d)

Insertion

81.

Which of the following is an algorithm for searching?

a)

Linear

b)

Bubble

c)

Merge

d)

Insertion

82.

Which of the following is an algorithm for sorting?

a)

Linear

b)

Binary

c)

Merge

d)

Selection

83.

Which of the following is an algorithm for sorting?

a)

Linear

b)

Binary

c)

Bubble

d)

Selection

84.

Which of the following is an algorithm for sorting?

a)

Linear

b)

Binary

c)

Insertion

d)

Selection

85.

Which of the following can be used to help with maintainability?

a)

Use of sub programs

b)

Input validation

c)

Authentication

d)

Iterative Testing

86.

Which of the following can be used to help with maintainability?

a)

Naming conventions for variables

b)

Input validation

c)

Authentication

d)

Iterative Testing

87.

Which of the following can be used to help with maintainability?

a)

Commenting

b)

Input validation

c)

Authentication

d)

Iterative Testing

88.

Which of the following can be used to help with maintainability

a)

Indentation

b)

Input validation

c)

Authentication

d)

Iterative Testing

89.

What best describes the following? Testing while developing your program.

a)

Iterative Testing

b)

Use of sub programs

c)

Authentication

d)

Anticipating Misuse

90.

What best describes the following? Testing at the end of development.

a)

Final Testing

b)

Use of sub programs

c)

Authentication

d)

Anticipating Misuse

91.

Which of the following data would be classed as normal test data?

a)

17

b)

abc

c)

-1

d)

15

92.

Which of the following data would be classed as boundary test data?

a)

17

b)

abc

c)

-1

d)

15

93.

Which of the following data would be classed as invalid/erroneous test data?

a)

17

b)

abc

c)

-1

d)

15

94.

Which is the meaning of input validation?

a)

Checking whether the user can log in or not

b)

Checking if an input value fits in with the rules

c)

Checking if the input is maintainable

d)

Checking if the input is correct for test data

95.

Which of the SQL statements will correctly output one row of information?

a)

SELECT * FROM teachers WHERE year group > 7

b)

SELECT * FROM teachers WHERE subject = "Art" and subject = "Business"

c)

SELECT * FROM teachers WHERE subject = "Art"

d)

SELECT * FROM teachers WHERE name = "Mr Liu" or name = "Mr Prior"

96.

Which of the SQL statements will correctly output year groups between 12 and 13?

a)

SELECT * FROM teachers WHERE year group > 11 and year group < 14

b)

SELECT * FROM teachers WHERE year group > 7

c)

SELECT * FROM teachers WHERE year group > 12 and year group < 13

d)

SELECT * FROM teachers WHERE year group > "11" and year group < "14"

97.

Which of the following is classed as low level language?

a)

Machine Code

b)

Python

c)

C++

d)

Javascript

98.

Which of the following is classed as low level language?

a)

Assembly

b)

Python

c)

C++

d)

Javascript

99.

Which of the following is classed as high level language?

a)

Assembly

b)

Python

c)

Machine Code

d)

Binary

100.

Which is the purpose of a translator?

a)

To convert one language to another

b)

To validate data that has been entered

c)

To provide an environment for you to program

d)

Checking for authentication

101.

Compilers will....

a)

Convert source code in one go

b)

Convert source code line by line

c)

Convert source code so that it is maintainable

d)

Check for authentication

102.

Interpreter will....

a)

Convert source code in one go

b)

Convert source code line by line

c)

Convert source code so that it is maintainable

d)

Check for authentication

103.

IDE stands for?

a)

Information Development Environment

b)

Integrated Development Environment

c)

Integrated Design Environment

d)

Information Design Environment

104.

Editors are provided within an IDE what are they used for?

a)

To input source code

b)

To check for errors

c)

To compile your program

d)

To provide tools such as variable tracing and breakpoints

105.

Translators are provided within an IDE what are they used for?

a)

To input source code

b)

To check for errors

c)

To compile your program

d)

To provide tools such as variable tracing and breakpoints

106.

Error diagnostics are provided within an IDE what are they used for?

a)

To input source code

b)

To check for errors

c)

To compile your program

d)

To provide tools such as variable tracing and breakpoints

107.

Run time environment is provided within an IDE what are they used for?

a)

To input source code

b)

To check for errors

c)

To compile your program

d)

To provide tools such as variable tracing and breakpoints

108.

What is the following gate?

a)

AND

b)

OR

c)

NOT

d)

NAND

109.

What is the following gate?

a)

AND

b)

OR

c)

NOT

d)

NAND

110.

What is the following gate?

a)

AND

b)

OR

c)

NOT

d)

NAND

111.

The following is a truth table for which gate?

a)

AND

b)

OR

c)

NOT

d)

NAND

112.

The following is a truth table for which gate?

a)

AND

b)

OR

c)

NOT

d)

NAND

113.

The following is a truth table for which gate?

a)

AND

b)

OR

c)

NOT

d)

NAND

114.

The following is a truth table for which gate?

a)

AND

b)

OR

c)

NOT

d)

NAND

115.

What type of algorithm is the following?

a)

Bubble

b)

Merge

c)

Insertion

d)

Binary

116.

What type of algorithm is the following?

a)

Bubble

b)

Merge

c)

Insertion

d)

Binary

117.

What type of algorithm is the following?

a)

Bubble

b)

Merge

c)

Insertion

d)

Binary