9618/21

Computer Science 9618/21October/November 2021

Cambridge AS Level · Fundamental Problem-solving and Programming Skills · worked solutions for every part, with the mark scheme

6
questions
75
marks
120
minutes

Topics Data Types and Structures · Software Development · Programming · Algorithm Design and Problem-solving

Q1Software DevelopmentData Types and StructuresAlgorithm Design and Problem-solvingFree sample

Refer to the insert for the list of pseudocode functions and operators.

Sylvia is testing a program that has been written by her colleague. Her colleague tells her that the program does not contain any syntax errors.

(a)
(i)

State what her colleague means by “does not contain any syntax errors”.

...........................................................................................................................................

...........................................................................................................................................

.....................................................................................................................................

1M
(ii)

Identify and describe one other type of error that the program may contain.

Type of error ......................................................................................................................

Description ........................................................................................................................

...........................................................................................................................................

2M
(b)

Complete the following table by giving the appropriate data type in each case.

Use of variableData type
The average mark in a class of 40 students
An email address
The number of students in the class
To indicate whether an email has been read
4M
(c)

An airline wants to provide passengers with information about individual flights and allow them to book their flight using an online booking system.

(i)

Tick () one box in each row of the table to indicate whether each item of information would be essential for the customer when making the booking.

InformationEssentialNot essential
Departure time
Flight number
Departure airport
Aircraft type
Ticket price
Number of seats in aircraft
3M
(ii)

Identify the technique used to filter out information that is not essential when designing the booking system and state one benefit of this technique.

Technique ..........................................................................................................................

Benefit ...............................................................................................................................

...........................................................................................................................................

2M
(iii)

Identify two additional pieces of essential information that a passenger might need when booking a flight.

1 ........................................................................................................................................

2 ........................................................................................................................................

2M

The rest of this paper

5 more questions
  • Q2Algorithm Design and Problem-solving · Data Types and Structures · Programming12M
  • Q3Data Types and Structures13M
  • Q4Software Development7M
  • Q5Programming · Software Development · Data Types and Structures10M
  • Q6Data Types and Structures · Programming19M
Loading the full paper…