Tayyari Karo Open the app

A Level Computer Science 9618 May/June 2021: past paper questions with answers

Practise 96 real questions from the May/June 2021 exam series, from Paper 1, Paper 2, Paper 3, Paper 4. See the answer and explanation as soon as you answer.

96real questions
4papers
10topics

About the May/June 2021 Computer Science paper

May/June 2021 is one of the exam sessions in our A Level Computer Science (Cambridge (CAIE) 9618) question bank. We have 96 real questions from it. Work through them, open the explanation for each one, and redo the ones you missed a few days later.

Try 8 real questions from May/June 2021

These are real past-paper questions. Think of your answer first, then open the explanation.

May/June 2021 · Paper 1 · Data representation

(c)(ii) The amount of green in binary is 00100011. This has the denary number 15 added to it to create a second colour. Add the denary number 15 to the binary number 00100011 and give your answer in binary. Perform the addition in binary. Show your working.

Show model answer

Working:
Converting 15 to binary: 0000 1111
0010 0011
+ 0000 1111
-----------
0011 0010
Answer: 0011 0010

3 marks: 1 for converting 15 to binary, 1 for method of addition, 1 for final answer.

May/June 2021 · Paper 1 · Networks and communication

(c)(ii) Melinda mainly uses the internet to watch films and play computer games. Tick one box to identify whether Melinda should connect to the router using a wired or wireless network and justify your choice.

Show model answer

Wired. Justification: Faster connection / higher bandwidth needed as she is downloading/streaming large files; less time waiting / less latency / fewer delays; more reliable / stable connection; less susceptible to issues with distance/walls/interference; more secure.

3 marks: 1 per bullet point for justification up to max 3. No mark for identification alone.

May/June 2021 · Paper 1 · Databases

(a) Bobby tells Kim that a file-based approach is usually better than a relational database. Explain why Bobby is incorrect.

Show model answer

• Flat-file has more data redundancy because the same data is stored many times / data is stored in different tables which are linked
• There is program-data dependence with flat-files because any changes to the structure of the data means the programs that access that data have to be re-written
• Flat-file has more data inconsistency / worse data integrity because duplicated data might be stored differently / when data is updated in one place, it is not updated everywhere
• It is not easy to perform complex searches/queries because a new program has to be written each time
• Flat files could have a lack of privacy as user views cannot easily be implemented

3 marks: 1 per bullet point to max 3.

May/June 2021 · Paper 2 · Programming and object-oriented programming

(a)(iii) Information about ticket sales will be stored as a booking. The booking requires: name of person booking, number of people in the group, event type. Suggest how data relating to each booking may be stored in a text file.

Show model answer

• Data items are combined to form a single string / saved as a single line in the file
• Data items are separated by a special character / make each data item a fixed length
Alternative: Convert all data items / 'number of people' to strings; consecutive / each line stores a separate data item

2 marks: one mark per bullet point.

May/June 2021 · Paper 3 · Data representation

(b) Calculate the denary value of the given binary floating-point number. Show your working.
Mantissa: 1 0 1 1 0 0 0 1 1 1
Exponent: 0 0 0 1 1 1

Show model answer

Working:
= 1.011000111 × 2^7 (exponent is 7)
= 10110001.11 in binary
= -128 + 32 + 16 + 1 + 0.5 + 0.25
Answer: -78.25

3 marks: 1 for working out exponent, 1 for working out mantissa, 1 for correct answer.

May/June 2021 · Paper 3 · Processor, hardware and system software

(b) Explain how an interpreter executes a program without producing a complete translated version of it.

Show model answer

• An interpreter examines source code one statement at a time
• Check each statement for errors
• If no error is found the statement is executed
• If an error is found this is reported and the interpreter halts
• Interpretation is repeated for every iteration in repeated sections of code / in loops
• Interpretation has to be repeated every time the program is run

4 marks: one mark for each correct statement (max 4).

May/June 2021 · Paper 3 · Programming and object-oriented programming

(b) Describe what is meant by a declarative programming language.

Show model answer

• Instructs a program on what needs to be done instead of how to do it, using facts and rules, using queries to satisfy goals
• Can be logical or functional
• Logical — states a program as a set of logical relations
• Functional — constructed by applying functions to arguments / uses a mathematical style

2 marks: one mark for each correct marking point (max 2).

May/June 2021 · Paper 4 · Programming and object-oriented programming

(b)(i) A function linearSearch() takes an integer as a parameter and performs a linear search on arrayData to find the parameter value. It returns True if found and False if not found. Write program code for linearSearch().

Show model answer

VB:
Function linearSearch(ByRef searchValue As Integer)
For x = 0 To 9
If arrayData(x) = searchValue Then
Return True
End If
Next
Return False
End Function
Python:
def linearSearch(searchValue):
for x in range(0, 10):
if arrayData[x] == searchValue:
return True
return False
Java:
public static Boolean linearSearch(Integer searchValue) {
for (int x = 0; x < 10; x++) {
if(arrayData[x] == searchValue) {
return true;
}
}
return false;
}

6 marks: 1 for function with correct identifier, 1 for taking integer search value as parameter, 1 for searching 10 times/through all array elements, 1 for comparing each element, 1 for returning True if found, 1 for returning False if not found.

Topics in May/June 2021

Questions by paper

PaperQuestions
Paper 130
Paper 220
Paper 327
Paper 419

Common questions

What is in the A Level Computer Science May/June 2021 paper on this page?

96 real A Level Computer Science (9618) questions from the May/June 2021 series, from Paper 1, Paper 2, Paper 3, Paper 4. Each one shows its paper and topic.

Do I get the answers and explanations?

Yes. Every question shows the correct answer and a short explanation the moment you answer.

Can I download the May/June 2021 paper PDF?

Premium includes the paper PDFs. The first papers of each subject are free to open in the app.

Is it free?

You can start free with no signup. Premium unlocks every paper, the full question bank and the paper PDFs.

Other Computer Science exam sessions

All A Level Computer Science questions

Computer Science at other levels

Ready to start?

Free to start. No signup needed to try the questions.

Open Tayyari Karo