A Level Computer Science 9618 Oct/Nov 2021: past paper questions with answers
Practise 100 real questions from the Oct/Nov 2021 exam series, from Paper 1, Paper 2, Paper 3, Paper 4. See the answer and explanation as soon as you answer.
Try 8 real questions from Oct/Nov 2021
These are real past-paper questions. Think of your answer first, then open the explanation.
October/November 2021 · Paper 1 · Data representation
(a) Draw one line from each binary value to its equivalent value on the right.
8 bits → 1 byte
8000 bits → 1 kilobyte
8192 bits → 1 kibibyte
1000 kilobytes → 1 megabyte
1024 mebibytes → 1 gibibyte
Show model answer
8 bits = 1 byte
8000 bits = 1 kilobyte
8192 bits = 1 kibibyte
1000 kilobytes = 1 megabyte
1024 mebibytes = 1 gibibyte
5 marks: 1 for each correct line.
October/November 2021 · Paper 1 · Security and data integrity
(b)(i) Describe the ways in which Francis can act ethically in this situation (unfamiliar with IDE).
Show model answer
• He can tell the manager he has not used it and how he will get up-to-date
• He can perform his own research on how to use it
• He can explain to the manager that he needs additional training
• He can ask the manager to book on a training course
• He can ask for a mentor/to shadow someone
• He can practice at home before starting
2 marks: 1 per bullet point to max 2.
October/November 2021 · Paper 1 · Data representation
(b)(i) Explain the reasons why Bobby compresses the sound file.
Show model answer
• Reduces the file size
• Faster to transmit/download
• Original file is too large for email storage/attachment
2 marks: 1 per bullet point.
October/November 2021 · Paper 2 · Algorithms and software development
(a) Apply the process of stepwise refinement to produce a more detailed description of the algorithm to sort a 1D array into ascending order using structured English.
Show model answer
• Use a variable as an index to the array
• A loop to iterate through the array
• An inner loop (with a reducing range)
• Test if current element is greater than next element
• If so then swap elements
• Description of swap
• Attempt at efficient algorithm
6 marks: 1 per marking point to max 6.
October/November 2021 · Paper 2 · Programming and object-oriented programming
(c) Write pseudocode to implement the module GetCentreCol().
Show model answer
FUNCTION GetCentreCol(ThisRow : INTEGER) RETURNS INTEGER
DECLARE StartCol, EndCol, CentreCol : INTEGER
StartCol ← SearchInRow(ThisRow, 1)
IF StartCol = -1 THEN
CentreCol ← StartCol
ELSE
EndCol ← SearchInRow(ThisRow, 1280)
CentreCol ← INT((StartCol + EndCol) / 2)
ENDIF
RETURN CentreCol
ENDFUNCTION
6 marks: 1 for declaration, 1 for use SearchInRow and check for -1, 1 for both calls, 1 for calculate centre, 1 for use of INT(), 1 for return. Max 5 if heading/ending incorrect.
October/November 2021 · Paper 3 · Networks and communication
(b) Outline the function of a router in packet switching.
Show model answer
• The router examines the packet's header
• It reads the IP address of the destination
• A router has access to a routing table containing information about available hops/netmask/gateway
• The router decides on the next hop/best route
• And sends the packet on its next hop
3 marks: 1 each to max 3.
October/November 2021 · Paper 3 · Data structures and data types
(c) Identify two other data structures that can be used to implement recursion.
Show model answer
• Linked List
• Queue
• Binary Tree
2 marks: 1 each to max 2.
October/November 2021 · Paper 4 · Programming and object-oriented programming
(c) Write the method SetDescription().
Show model answer
SetDescription(DescriptionP): Description = DescriptionP
2 marks: 1 for set method taking parameter, 1 for assigning to correct attribute.