November 2020
November 2020
Surname
Forename(s)
Candidate signature
I declare this is my own work.
INTERNATIONAL GCSE
COMPUTER SCIENCE
Paper 2 Concepts and principles of computer science
Question Mark
Instructions
1
• Use black ink or black ball-point pen.
• Fill in the boxes at the top of the page. 2
• Answer all questions. 3
• You must answer the questions in the spaces provided. Do not write 4
outside the box around each page or on blank pages.
• If you need extra space for your answer(s), use the lined pages at the end of 5
this book. Write the question number against your answer(s). 6
• Do all rough work in this booklet. Cross through any work you do not 7
want to be marked.
8
Information 9
• The marks for questions are shown in brackets. 10
• The maximum mark for this paper is 80. 11
12
13
14
15
TOTAL
*NOV209210201*
IB/M/Nov20/E2 9210/2
2
Do not write
Answer all questions in the spaces provided. outside the
box
Final answer:
0 1 . 3 State what binary shift would have to be applied to the binary number 00111000 to
double it.
[1 mark]
+ 0 0 0 1 0 0 1 0
*02*
IB/M/Nov20/9210/2
3
Do not write
outside the
0 2 Computers on a network can be connected using wires or wirelessly. box
Turn over ►
*03*
IB/M/Nov20/9210/2
4
Do not write
outside the
0 3 Figure 1 shows two different algorithms for calculating the sum of all of the whole box
For example:
Figure 1
Algorithm A Algorithm B
N USERINPUT N USERINPUT
Sum 0 Sum (N * (N + 1)) / 2
FOR Value 1 TO N OUTPUT Sum
Sum Sum + Value
ENDFOR
OUTPUT Sum
0 3 . 1 Complete the trace table below to show how the values of the variables would change
if Algorithm A were carried out and the number 5 were input for N.
[3 marks]
N Sum Value
*04*
IB/M/Nov20/9210/2
5
Do not write
outside the
0 3 . 3 Describe why Algorithm B is more efficient than Algorithm A. box
[2 marks]
0 4 . 1 The table below lists different amounts of memory. Write the numbers 1 to 4 by the
amounts of memory to place them into size order, with 1 indicating the smallest
amount of memory and 4 the largest.
[2 marks]
0 4 . 2 How many 500 gigabyte files could be stored on a USB flash memory drive that has
4 terabytes of storage space available for files?
4
Final answer:
Turn over ►
*05*
IB/M/Nov20/9210/2
6
Do not write
outside the
0 5 . 1 One of the functions of the operating system is to act as a memory manager. box
Function 1
Function 2
0 5 . 2 Describe what happens at each of the three stages of the Fetch-Execute cycle.
[3 marks]
0 5 . 3 The main memory of a computer normally consists of both volatile and non-volatile
memory.
*06*
IB/M/Nov20/9210/2
7
Do not write
outside the
0 5 . 4 Tick () one box to indicate which of these is usually stored in the ROM of a desktop box
computer.
[1 mark]
A An assembler
Turn over ►
*07*
IB/M/Nov20/9210/2
8
Do not write
outside the
0 6 . 1 Describe the steps that are involved in sampling sound so that it can be stored box
digitally on a computer.
[3 marks]
0 6 . 2 A recording is made of a sound that lasts for 5 seconds using an 8-bit sample
resolution and a sample rate of 10 000 Hz
Calculate the amount of memory, in bytes, that will be needed to store the entire
recording.
*08*
IB/M/Nov20/9210/2
9
Do not write
outside the
0 6 . 3 The same sound is sampled again for 5 seconds using an 8-bit sample resolution, but box
this time at a sample rate of 20 000 Hz
Describe the exact effect on the amount of memory that is needed to store the entire
recording if the sample rate is increased from 10 000 Hz to 20 000 Hz
[1 mark]
0 6 . 4 Describe the effect of increasing the sample rate on the quality of the recording.
[1 mark]
Turn over ►
*09*
IB/M/Nov20/9210/2
10
Do not write
outside the
0 7 . 1 Complete the truth table below for the OR logic gate. box
[1 mark]
A B A OR B
0 0
0 1
1 0
1 1
• A switch S which outputs 1 if the alarm system is turned on and 0 if it is turned off.
• A heat sensor H which outputs 1 if a fire has been automatically detected and 0
otherwise.
• A call point button C which a person can press if they see a fire. This outputs 1 if
the button is pressed and 0 otherwise.
• An alarm bell B which rings when it receives a 1 as an input and does not ring when
it receives a 0
The bell should ring when the system is turned on and either the heat sensor
automatically detects a fire or the call point button is pressed.
Draw a logic circuit diagram in the space below for the fire alarm system.
[3 marks]
*10*
IB/M/Nov20/9210/2
11
Do not write
outside the
0 7 . 3 Write a Boolean expression that represents the alarm system described in box
question 07.2
[2 marks]
B= 6
Turn over ►
*11*
IB/M/Nov20/9210/2
12
Do not write
outside the
0 8 . 1 Explain what an embedded system is. box
[1 mark]
Difference 1
Difference 2
0 8 . 3 The software that is used to control an embedded system is often written using
assembly language.
*12*
IB/M/Nov20/9210/2
13
Do not write
outside the
0 9 For each task listed in Table 1 name the layer of the TCP/IP stack at which the task box
would take place.
[3 marks]
Table 1
Turn over ►
*13*
IB/M/Nov20/9210/2
14
Do not write
outside the
1 0 A relational database stores information about the products that a shop sells and the box
Some of the contents of these tables are shown in Figure 2. Note that not all of the
records in the tables are shown.
Figure 2
Product
ProductID Description Category PriceEach NumberInStock
108 Pencil Stationery 1 0
203 Ruler Stationery 2 10
Orange
297 Drinks 3 23
Juice
406 Water Drinks 2 15
556 Bread Food 2 10
Sale
SaleID Date ProductID QuantitySold
S1201 05/08/19 203 1
S1202 05/08/19 406 2
S1203 05/08/19 108 1
1 0 . 1 Explain what a foreign key is and state the name of the field that has been used as a
foreign key in this database.
[2 marks]
*14*
IB/M/Nov20/9210/2
15
Do not write
outside the
1 0 . 2 Write an SQL query to search the database and list all the sales of drinks. box
SELECT
FROM
WHERE
1 0 . 3 When the shop receives new stock the values in the NumberInStock field of the
Product table must be updated.
Tick () one box to show which SQL query is the correct one to change the
NumberInStock of ProductID 203 from 10 to 15
[1 mark]
Tick
SQL Query
one
UPDATE NumberInStock = 15
FROM Product
WHERE ProductID = 203
UPDATE NumberInStock + 5
FROM Product
WHERE ProductID = 203
UPDATE Product
SET NumberInStock = 15
WHERE NumberInStock = 10
UPDATE Product
SET NumberInStock = 15
WHERE ProductID = 203 7
Turn over ►
*15*
IB/M/Nov20/9210/2
16
Do not write
outside the
1 1 . 1 The ASCII character code for a is 1100001 box
Complete the table below to show how the string cab would be encoded as a bit
pattern using ASCII.
[2 marks]
Character Bit pattern
a 1100001
1 2 Figure 3 is an 8 x 8 black and white image. The image could be compressed using
run length encoding (RLE).
Figure 3
1 2 . 1 Using B for black pixels and W for white pixels give a run length encoding for row 7 in
Figure 3.
[1 mark]
*16*
IB/M/Nov20/9210/2
17
Do not write
outside the
1 2 . 2 Explain how run length encoding works. box
[2 marks]
1 3 Social engineering is the term used for attempting to trick or manipulate somebody
into providing confidential information or access to a secure system.
Technique 1
Technique 2
Technique 3
Turn over ►
*17*
IB/M/Nov20/9210/2
18
Do not write
outside the
1 4 . 1 The HTML used to produce a web page is shown in Figure 4. box
Figure 4
<html>
<head>
<title>Glegg House School</title>
</head>
<body>
<h1>Staff List</h1>
<ol>
<li>Mr Martin</li>
<li>Mrs Scott</li>
<li>Miss Newberry</li>
</ol>
<p><a href="http://www.gh.com/tt.html">Timetable
Information</a></p>
</body>
</html>
In the box below show how the HTML in Figure 4 will look when viewed in a web
browser. You may use labels to make your layout clearer if necessary.
[5 marks]
*18*
IB/M/Nov20/9210/2
19
Do not write
outside the
1 4 . 2 Describe an example of a task that might be carried out by a server-side scripting box
language.
[1 mark]
Turn over ►
*19*
IB/M/Nov20/9210/2
20
Do not write
outside the
1 5 A school is thinking about moving its files to cloud storage. box
You must include examples of situations in which the staff or students would benefit
from this move in your response.
[6 marks]
END OF QUESTIONS
*20*
IB/M/Nov20/9210/2
21
Do not write
outside the
There are no questions printed on this page box
*21*
IB/M/Nov20/9210/2
22
Do not write
outside the
box
Question Additional page, if required.
number Write the question numbers in the left-hand margin.
*22*
IB/M/Nov20/9210/2
23
Do not write
outside the
box
Question Additional page, if required.
number Write the question numbers in the left-hand margin.
*23*
IB/M/Nov20/9210/2
24
Do not write
outside the
box
Question Additional page, if required.
number Write the question numbers in the left-hand margin.
Copyright information
For confidentiality purposes, all acknowledgements of third-party copyright material are published in a separate booklet. This booklet
is published after each live examination series and is available for free download from www.oxfordaqaexams.org.uk.
Permission to reproduce all copyright material has been applied for. In some cases, efforts to contact copyright-holders may have
been unsuccessful and Oxford International AQA Examinations will be happy to rectify any omissions of acknowledgements. If you
have any queries please contact the Copyright Team.
Copyright © 2020 Oxford International AQA Examinations and its licensors. All rights reserved.
*20BY9210/2*
*24*
IB/M/Nov20/9210/2