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.
| A | B | C | D | E |
|---|---|---|---|---|
| 38 | 26 | 22 | 18 | 14 |
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.
| Chapter | Questions | Marks |
|---|---|---|
| Programming | 5 | 53 |
| Algorithm Design and Problem-solving | 2 | 15 |
| Data Types and Structures | 1 | 7 |
Questions in 9618/22 May/June 2022
- Question 1
(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 โฆ
- Question 2
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 โฆ
- Question 3
(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 : โฆ
- Question 4
(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 โฆ
- Question 5
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 โฆ
- Question 6
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 โฆ
- Question 7
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 โฆ
- Question 8
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
- 9618/11 Theory fundamentals
- 9618/12 Theory fundamentals
- 9618/13 Theory fundamentals
- 9618/21 Problem-solving & programming
- 9618/23 Problem-solving & programming
- 9618/31 Advanced theory
- 9618/32 Advanced theory
- 9618/33 Advanced theory
- 9618/41 Practical programming
- 9618/42 Practical programming
- 9618/43 Practical programming