2022

Cambridge A Level ยท 9618 ยท Paper 2 ยท Problem-solving & programming

Computer Science 9618/22 May/June 2022 past paper

Cambridge A Level Computer Science (9618) Paper 2 (Problem-solving & programming), variant 2, May/June 2022: the question paper and its official mark scheme, 8 questions worth 75 marks, with the grade thresholds. Free to open, no account needed.

Questions
8
Marks
75
Grade A from
38

File names: 9618_s22_qp_22 ยท 9618_s22_ms_22

Grade thresholds for 9618/22 May/June 2022

The minimum raw marks Cambridge set for each grade on this component (out of 75). Thresholds change every session and variant, so always compare your score with the paper you actually sat.

ABCDE
3826221814

Topics in this paper

Which syllabus chapters 9618/22 May/June 2022 tested, by marks. Each chapter links to every past-paper question on it.

ChapterQuestionsMarks
Programming553
Algorithm Design and Problem-solving215
Data Types and Structures17

Questions in 9618/22 May/June 2022

  1. Question 1Algorithm Design and Problem-solving ยท 11 marks

    (a) A programmer is testing a program using an Integrated Development Environment (IDE). The programmer wants the program to stop when it reaches a specific instruction or program statement in order to check the value assigned to a variable. Give โ€ฆ

  2. Question 2Algorithm Design and Problem-solving ยท 4 marks

    An algorithm is described as follows: 1. Input an integer value. 2. Jump to step 6 if the value is less than zero. 3. Call the function IsPrime() using the integer value as a parameter. 4. Keep a count of โ€ฆ

  3. Question 3Programming ยท 9 marks

    (a) The module headers for five modules in a program are defined in pseudocode as follows: Pseudocode module header FUNCTION Mod_V(S2 : INTEGER) RETURNS BOOLEAN PROCEDURE Mod_W(P4 : INTEGER) PROCEDURE Mod_X(T4 : INTEGER, BYREF P3 : REAL) PROCEDURE Mod_Y(W3 : โ€ฆ

  4. Question 4Programming ยท 9 marks

    (a) A procedure LastLines() will: โ€ข take the name of a text file as a parameter โ€ข output the last three lines from that file, in the same order as they appear in the file. Note: โ€ข Use local variables โ€ฆ

  5. Question 5Programming ยท 10 marks

    Study the following pseudocode. Line numbers are for reference only. 10 PROCEDURE Encode() 11 DECLARE CountA, CountB, ThisNum : INTEGER 12 DECLARE ThisChar : CHAR 13 DECLARE Flag : BOOLEAN 14 CountA 0 15 CountB 10 16 Flag TRUE 17 โ€ฆ

  6. Question 6Data Types and Structures ยท 7 marks

    A string represents a series of whole numbers, separated by commas. For example: "12,13,451,22" Assume that: โ€ข the comma character ',' is used as a separator โ€ข the string contains only the characters '0' to '9' and the comma character โ€ฆ

  7. Question 7Programming ยท 6 marks

    A programming language has string functions equivalent to those given in the insert. The language includes a LEFT() and a RIGHT() function, but it does not have a MID() function. (a) Write pseudocode for an algorithm to implement your own โ€ฆ

  8. Question 8Programming ยท 19 marks

    A program allows a user to save passwords used to log in to websites. A stored password is then inserted automatically when the user logs in to the corresponding website. A global 2D array Secret of type STRING stores the โ€ฆ

Other Computer Science papers from May/June 2022

Questions students ask

Where can I get the 9618/22 May/June 2022 mark scheme?
Open the mark scheme above - it is the official Cambridge scheme for this exact paper (9618_s22_ms_22), and on a wide screen it sits beside the question you are reading.
What was the grade threshold for an A in 9618/22 May/June 2022?
38 marks out of 75, a C needed 22.
Which topics came up in 9618/22 May/June 2022?
Mostly Programming, Algorithm Design and Problem-solving, Data Types and Structures. The full list is in the table above.
Do I need an account to open 9618/22 May/June 2022?
No. Every paper opens for free without signing in. A free account also saves your pen marks and records your score against the grade thresholds.