Font size
WorksheetsOCR GCSE revision
Total questions: 117
Worksheet time: 2hrs 31mins
The CPU (Central Processing Unit) continually
(a) , (b) and (c) instructions.
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...
The part of the CPU that carries out arithmetic calculations and logical decisions is ...
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.
In Von Neumann architecture, the part that stores the address of the next instruction to be processed is the...
In Von Neumann architecture, the part that stores data fetched from memory or to be sent to memory is...
The CPU works at high speeds governed by the clock chip. The (a) the clock, the more (b) that can be completed per (c) .
In Von Neumann architecture, the part that stores the RESULTS of any calculation carried out by the ALU is the...
RAM
Output Unit (OU)
Accumulator (ACC)
Control Unit (CU)
Cache memory can be accessed very quickly by the (a) , so having (b) cache will provide the CPU with (c) access to more data.
If a CPU has multiple cores, it may be able to process more instructions ____________.
quickly
An embedded system is a computer system that has been designed for a (a) function as part of a (b) system.
image file size = (a) x (b) (pixels) x (c) (pixels)
(a) (ROM) is (b) , which means it (c) need power to maintain it. It provides storage for the (d) .
What are 3 characteristics of embedded systems?
Large in size
Often manufactured as a single chip
Perform a limited set of tasks
Less robust and reliable than general purpose computers
Limited options to modify/difficult to modify
Embedded systems are found in most consumer products, such as... (choose 3)
Laptops
Televisions
Desktop PCs
Washing machines
Home heating controls
A computer needs primary storage for data it needs to access quickly. This includes: (choose 3)
Start-up or boot instructions
Power supply
The operating system
Keyboard
Programs that are running
Random Access Memory (RAM) is (a) , meaning it needs (b) to maintain it. If the computer is turned off, the RAM (c) its contents.
The (a) RAM in a computer, the more (b) it can run at the same time and the (c) the computer's performance.
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)
CPU
Magnetic storage (mostly HDDs)
Solid-state storage (flash memory)
Optical storage (CD, DVD, CD-R, CD-RW, blu ray etc)
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) .
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.
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.
Match the following:
4 bits
1 nibble
8 bits
1 byte
1000B
1 kilobyte
1000KB
1 megabyte
sound file size = (a) (Hz) x (b) (s) x (c) x (d)
text file size = (a) x (b)
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
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
Multiply
Subtract
The character set of a computer is a list of all the characters available to the computer.
True
False
Which of the following are valid character sets? (choose 2)
ASCII / extended ASCII
ANVILL
Unicode
EBIC
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) .
Higher colour depth: a (a) number of colours can be represented, giving a (b) quality image. (c) data is stored, making the file larger.
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) .
Sounds are a series of (a) that (b) and can take any value - this means they are (c) .
Match the following:
Sample rate
Number of samples taken per second
Duration
Length of time the sound is sampled for
Bit depth
Number of bits used to store each sample
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.
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.
A (a) consists of devices connected together in a single building or site, such as a school or office, using (b) and wireless connections.
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) .
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)
Number of users
No. of USB ports on the router
Transmission media used
Temperature of server room
Interference and error rates
(a) allow data to be passed between devices on a network.
(b) connect networks together.
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) .
There are a range of standard protocols used by applications such as web browsers and email clients. These are rules (NOT instructions). Match them:
FTP
File Transfer Protocol
POP
Post Office Protocol
HTTPS
Hypertext Transfer Protocol Secure
IMAP
Internet Message Access Protocol
SMTP
Simple Mail Transfer Protocol
(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.
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.
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.
Which of the following is not a data type?
Boolean
Integer
String
Which of the following code is used to cast a string to an integer?
bool("False")
str("False")
integer("123")
int("123")
One of the following terms is not associated with programming construct
Selection
Iteration
Loop
Sequence
Identify the code which outputs 10 numbers correctly
for i in range(0,11)
for i in range(0,10)
for i in range(1,9)
for i in range(1,10)
Substring is used to?
Extract a portion of characters from a string
Print out a portion of a string
Remove the left characters by a certain amount
Allow you to change the upper case
Which of the following is an iteration?
IF (num > 3)
For i in range(0, 5)
age = int("21")
students = ["Harry", "Ryan", "Ibrahim"]
What is the purpose of an array?
To store a value
To store multiple values of any type
To store programming code
To store multiple values of the same data type
Which of the following is the correct code to create an array to store some integers?
age = (2, 3, 1)
age = ["2", "3", "1"]
age = ["2" "3" "1"]
age = [2, 3, 1]
What is the correct value after this calculation? 5 mod 2
1
2
2.5
3
What is the correct value after this calculation? 5 div 2
1
2
2.5
3
What is the purpose of the following code?
Hide Answers
Opens a file for you to write into it
Opens a file for you to read the first line
Opens a file called name to store in an array
Opens a file called name to store in an array
Which of the following is not string manipulation?
name.upper()
name.lower()
name.substring()
name.remove()
Describe what a function is?
A block a code that does not return a value
A block a code that returns a value
A block of code to store multiple values in
A type of iteration
In the following code how many parameters are used?
1
2
3
4
In the following code how many local variables are there?
1
2
3
4
What is the most suitable data type to store someone's name?
String
Character
Integer
Boolean
What is the most suitable data type to store the cost of an item?
String
Real/Float
Integer
Boolean
What is the following value that will be extracted using the code?
Mr
Liu
Com
Sci
Which of the following best describes a constant?
A memory store that store data that can be changed during the program
A memory store that store data that cannot be changed during the program
A memory store to store the value of an integer
A memory store to store the value of a string
What type of error is in the following code?
Syntax
Logical
Data Type error
Sequence program
What type of error is in the following code?
Syntax
Logical
Data Type Error
Sequence problem
Which of the following is not a boolean operator?
AND
OR
NOT
IS
What name will be printed?
Messi
Salah
Mbappe
Ronaldo
What type of subprogram is the following?
Function
Array
Iteration
Procedure
What type of subprogram is the following?
Function
Array
Iteration
Procedure
What is the correct value that will be extracted from the following code?
Salah
Liverpool
Ronaldo
Man Utd
What type of data structure is the following?
Constant
Variable
1D Array
2D Array
The IF STATEMENT belongs to which programming construct?
Selection
Sequencing
Iteration
Data Structure
The WHILE STATEMENT belongs to which programming construct?
Selection
Squencing
Iteration
Data Structure
The REPEAT UNTIL OR DO WHILE STATEMENT belongs to which programming construct?
Selection
Sequencing
Iteration
Data Structure
The FOR STATEMENT belongs to which programming construct?
Selection
Sequencing
Iteration
Data Structure
Which of the following statements can be used with conjunction with print(i) to iterate and provide the correct iteration?
for i in range(0, 9):
for i in range(1, 10):
for i in range(0, 11):
for i in range(1, 9):
Which of the following is classed as a counter controlled loop?
for loop
while loop
do until loop
If statement
Which of the following is classed as a condition based loop?
for loop
while loop
else statement
if statement
Which of the following is an algorithm for searching?
Binary
Bubble
Merge
Insertion
Which of the following is an algorithm for searching?
Linear
Bubble
Merge
Insertion
Which of the following is an algorithm for sorting?
Linear
Binary
Merge
Selection
Which of the following is an algorithm for sorting?
Linear
Binary
Bubble
Selection
Which of the following is an algorithm for sorting?
Linear
Binary
Insertion
Selection
Which of the following can be used to help with maintainability?
Use of sub programs
Input validation
Authentication
Iterative Testing
Which of the following can be used to help with maintainability?
Naming conventions for variables
Input validation
Authentication
Iterative Testing
Which of the following can be used to help with maintainability?
Commenting
Input validation
Authentication
Iterative Testing
Which of the following can be used to help with maintainability
Indentation
Input validation
Authentication
Iterative Testing
What best describes the following? Testing while developing your program.
Iterative Testing
Use of sub programs
Authentication
Anticipating Misuse
What best describes the following? Testing at the end of development.
Final Testing
Use of sub programs
Authentication
Anticipating Misuse
Which of the following data would be classed as normal test data?
17
abc
-1
15
Which of the following data would be classed as boundary test data?
17
abc
-1
15
Which of the following data would be classed as invalid/erroneous test data?
17
abc
-1
15
Which is the meaning of input validation?
Checking whether the user can log in or not
Checking if an input value fits in with the rules
Checking if the input is maintainable
Checking if the input is correct for test data
Which of the SQL statements will correctly output one row of information?
SELECT * FROM teachers WHERE year group > 7
SELECT * FROM teachers WHERE subject = "Art" and subject = "Business"
SELECT * FROM teachers WHERE subject = "Art"
SELECT * FROM teachers WHERE name = "Mr Liu" or name = "Mr Prior"
Which of the SQL statements will correctly output year groups between 12 and 13?
SELECT * FROM teachers WHERE year group > 11 and year group < 14
SELECT * FROM teachers WHERE year group > 7
SELECT * FROM teachers WHERE year group > 12 and year group < 13
SELECT * FROM teachers WHERE year group > "11" and year group < "14"
Which of the following is classed as low level language?
Machine Code
Python
C++
Javascript
Which of the following is classed as low level language?
Assembly
Python
C++
Javascript
Which of the following is classed as high level language?
Assembly
Python
Machine Code
Binary
Which is the purpose of a translator?
To convert one language to another
To validate data that has been entered
To provide an environment for you to program
Checking for authentication
Compilers will....
Convert source code in one go
Convert source code line by line
Convert source code so that it is maintainable
Check for authentication
Interpreter will....
Convert source code in one go
Convert source code line by line
Convert source code so that it is maintainable
Check for authentication
IDE stands for?
Information Development Environment
Integrated Development Environment
Integrated Design Environment
Information Design Environment
Editors are provided within an IDE what are they used for?
To input source code
To check for errors
To compile your program
To provide tools such as variable tracing and breakpoints
Translators are provided within an IDE what are they used for?
To input source code
To check for errors
To compile your program
To provide tools such as variable tracing and breakpoints
Error diagnostics are provided within an IDE what are they used for?
To input source code
To check for errors
To compile your program
To provide tools such as variable tracing and breakpoints
Run time environment is provided within an IDE what are they used for?
To input source code
To check for errors
To compile your program
To provide tools such as variable tracing and breakpoints
What is the following gate?
AND
OR
NOT
NAND
What is the following gate?
AND
OR
NOT
NAND
What is the following gate?
AND
OR
NOT
NAND
The following is a truth table for which gate?
AND
OR
NOT
NAND
The following is a truth table for which gate?
AND
OR
NOT
NAND
The following is a truth table for which gate?
AND
OR
NOT
NAND
The following is a truth table for which gate?
AND
OR
NOT
NAND
What type of algorithm is the following?
Bubble
Merge
Insertion
Binary
What type of algorithm is the following?
Bubble
Merge
Insertion
Binary
What type of algorithm is the following?
Bubble
Merge
Insertion
Binary
