Software development and testing – A Level Computer Science (9618)

15 questions · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
1
9618/21/M/J/26 · Question 3May/June 2026Paper 219 marks
Loading question…
Question text

3
A business operates five call centres. The software currently in use in each call centre is to be
replaced; a new system will be developed by a software company.
(a) The analysis stage included a feasibility study.
State three other activities carried out during the analysis stage.
1 …
…
2 …
…
3 …
…
[3]
(b) The analysis stage has ended.
Complete the statements about the development of the new system.
Before any programming is started, the … stage for the
proposed new system must be completed.
For this large project, the tasks will be broken down into several
… ; each will be coded by a different programming team.
Once each team has completed its work, … testing must be
carried out.
Before the new system is delivered to the business, … testing
will be carried out in-house.
It is decided to install the software initially in only one of the call centres where
… testing will be carried out.
The new software is finally rolled out to all five call centres. In the first week of its use, staff
report that the software still requires extra features which were not originally agreed. The
software is withdrawn until … maintenance is completed.
[6]
© Cambridge University Press & Assessment 2026

2
9618/23/M/J/26 · Question 3May/June 2026Paper 2311 marks
Loading question…
Question text

3
A company wishes to replace the point-of-sale software that each shop uses at its checkout. A
software company is developing a new system.
(a) Complete the summary about the development of the new system.
The initial … stage is carried out by studying in
detail the current system.
A design for the proposed new system is produced.
Following the design and coding stages, it is decided to install the completed new software
initially in only two of the shops. … testing is
carried out.
The final stage of the project uses … testing to test
all programs on the company’s hardware. After successful testing, the company approves
the new system.
The company then installs the new software in all shops. In the first week of its use,
unexpected bugs are reported. … maintenance
has to be carried out.
[4]
(b) For this large project, the task was divided between two programming teams.
Team A were responsible for the screen designs and all outputs; they involved the company
at the earliest possible stage and obtained feedback.
Team B used a more traditional approach to the program development life cycle; the stages
in the development followed an agreed sequence.
Identify the program development life cycle model adopted by each team, and describe one
additional feature of each approach.
team A model …
feature …
…
team B model …
feature …
…
[4]
© Cambridge University Press & Assessment 2026
,
,
(c) State three activities carried out during the design stage of the program development
life cycle.
1 …
…
2 …
…
3 …
…
[3]
© Cambridge University Press & Assessment 2026
,
,
© Cambridge University Press & Assessment 2026

3
9618/21/M/J/25 · Question 2May/June 2025Paper 2110 marks
Loading question…
Question text

2
A program is being developed to calculate the pay of employees working for a company.
A function CalculateBonus() calculates bonus pay based on the value of sales.
Bonus pay is calculated as shown in the table.
Value of sales
Bonus pay
(in dollars)
(in dollars)
below 2000
0
between 2000 and 4000 inclusive
10
above 4000
100
A flowchart for the function CalculateBonus() has been designed.
START
Set BonusPay to 0
INPUT
ValueOfSales
Is
NO
ValueOfSales
> 4000 ?
YES
Is
NO
ValueOfSales
Set BonusPay to 10
> = 2000 ?
YES
Set BonusPay to 100
RETURN BonusPay
END
ĬÕĊ®Ġ´íÈõÏĪÅĊàú¸Ā×
,
,
(a) The flowchart contains logic errors.
One logic error is that BonusPay will not be set to 10 although the ValueOfSales input is
between 2000 and 4000 inclusive.
(i)
Explain why this error occurs.
…
… [1]
(ii)
Explain how this error could be corrected.
…
… [1]
(b) There are different ways to reduce the risk of errors when developing the new program, such
as the use of constants.
(i)
State a value that could be replaced by a constant in the function CalculateBonus()
… [1]
(ii)
Explain how the use of constants helps to reduce the risk of programming errors.
…
…
…
… [2]
(iii)
One other way that can reduce the risk of errors when writing the program is the use of
library routines.
Explain how library routines can reduce the risk of programming errors.
…
… [1]
Ĭ×Ċ®Ġ´íÈõÏĪÅĊàü¸Ā×
,
,
(c) All the logic errors have been corrected, and the program has been coded.
Identify and describe two other types of error that the program could contain.
Type of error …
Description …
…
…
Type of error …
Description …
…

Advertisement
4
9618/22/M/J/25 · Question 1May/June 2025Paper 2214 marks
Loading question…
Question text

1
A program is being developed to control the production line in a factory.
(a) A number of different program life cycles are available for the development of a program.
(i)
Explain the need for different program development life cycles.
…
… [1]
(ii)
Coding is a stage in a program development life cycle.
State one consideration that would influence the choice of programming language.
…
… [1]
(b) The program has been in use for a number of months and adaptive maintenance is required.
(i)
Give three reasons why adaptive maintenance may be required.
1 …
2 …
3 …
[3]
(ii)
As well as adaptive maintenance, other types of program maintenance may be needed.
Identify one other type of program maintenance.
… [1]
ĬÕĊ®Ġ´íÈõÏĪÅĊÞù·þ×
,
,
(c) Pseudocode has been used to design modules for the program to control the production line.
The table shows four valid pseudocode expressions.
Complete the table by giving the data type of the evaluated expression.
Expression
Data type
RIGHT(MachineCode, 4)
Speed * 2.5
NOT Status
IS_NUM(Check)
[4]
(d) A global array Product is used as part of the pseudocode design being developed to control
the production line. Product is used to store the number of rejected items each day.
The following pseudocode statement is used to assign a value to an element of the array:
23
Product[x, y]
The lower and upper bound values are shown in the table:
Variable
Lower bound
Upper bound
x
0
99
y
0
9
(i)
State the number of dimensions of Product
… [1]
(ii)
State the total number of elements in array Product
… [1]
(iii)
Give the pseudocode declaration for the array Product
… [2]
Ĭ×Ċ®Ġ´íÈõÏĪÅĊÞû·þ×

5
9618/22/M/J/25 · Question 2May/June 2025Paper 228 marks
Loading question…
Question text

2
A program to calculate the pay of employees working for a company is being designed.
(a) Stepwise refinement has been used in the design of the program.
Describe stepwise refinement.
…
…
…
… [2]
(b) One of the program modules used to calculate employees’ weekly bonus pay has been
completed. The amount of bonus pay they receive is based on the number of hours worked
and the value of sales made as shown in the table.
Bonus pay and value of sales are both in dollars.
Hours worked
Value of sales
Bonus pay
between 1 and 40 inclusive
2000 or less
0
between 1 and 40 inclusive
above 2000
50
above 40
2000 or less
10
above 40
above 2000
100
(i)
The module is tested using white‑box testing.
State two tests, using valid data, that can be used to test different paths through the
program.
Test one:
Hours worked …
Value of sales …
Bonus pay …
Test two:
Hours worked …
Value of sales …
Bonus pay …
[2]
ĬÕĊ®Ġ´íÈõÏĪÅĊàù·Ā×
,
,
(ii)
The program to calculate pay uses a number of modules which are each called from
different places in the program.
The program is to be tested using stub testing before all the program modules have
been completed.
Describe stub testing.
…
…
…
… [2]
(iii)
The program has been completed and compiles successfully.
The program is tested using black‑box testing.
Identify and describe one type of error that black‑box testing could detect.
Type of error …
Description …
…
…
[2]
Ĭ×Ċ®Ġ´íÈõÏĪÅĊàû·Ā×

6
9618/23/M/J/25 · Question 4May/June 2025Paper 238 marks
Loading question…
Question text

4
A programmer is developing a new stock control program for a shop owner to produce sales
reports.
(a) A text file Sales.txt stores strings representing the number of items sold.
The file contains 52 lines, each representing the number of items sold in each week of the
year.
For example:
File line number
File data
1
"350"
2
"502"
3
"434"
49
"492"
50
"872"
51
"772"
52
"201"
The example shows that 502 items were sold in week 2.
The owner requires a module to output all week numbers where the number of items sold is
greater than 500.
Describe an algorithm that produces the required module.
Do not include pseudocode statements in your answer.
…
…
…
…
…
…
…
…
…
…
…
… [5]
ĬÙĊ®Ġ´íÈõÏĪÅĊÝü¶Ā×
,
,
(b) Once the program has been completed, it is tested using the walkthrough method.
Describe the walkthrough method and explain how it can be used to identify errors.
…
…
…
…
…
…
…
… [3]
ĬÛĊ®Ġ´íÈõÏĪÅĊÝú¶Ā×

7
9618/21/M/J/23 · Question 5May/June 2023Paper 216 marks
Loading question…
Question text

5
Several companies are developing websites to market a new type of games console. The company
that is first to create a website that can demonstrate the interactive features of the games console
will have an advantage over the others. The requirements for the website are likely to change as
more information about the features of the console are made available.
One company has decided to develop their website using a program development life cycle based
on the waterfall model.
(a) (i)
Give two reasons why this may not be the most appropriate model to use in this case.
Reason 1 …
…
Reason 2 …
…
[2]
(ii)
Identify a more appropriate program development life cycle model for this scenario.
… [1]
(b) The website has been running in test mode for several weeks.
Identify and describe a final stage of testing that should take place before the website is
made available to all customers.
Stage …
Description …
…
…
…
…
[3]

8
9618/21/M/J/23 · Question 7May/June 2023Paper 218 marks
Loading question…
Question text

7
A school has a computerised library system that allows students to borrow books for a fixed length
of time. The system uses text files to store details of students, books and loans.
A new module is to be written which will generate emails to each student who has an overdue
book.
(a) Decomposition will be used to break down the problem of designing the new module into
sub-problems.
Identify three program modules that could be used in the design and describe their use.
Module 1 …
Use …
…
…
…
Module 2 …
Use …
…
…
…
Module 3 …
Use …
…
…
…
[3]
(b) The program designer produces a structure chart for the new module. Part of the structure
chart is shown:
Module-A()
Module-B()
Module-C()
Module-D()
(i)
Explain the relationship between the four modules shown.
…
…
…
… [2]
(ii)
Two new modules are added: Module‑X() and Module‑Y().
•
Module‑X() has no parameters.
•
Module‑Y() will take a string and a real number as parameters and return a
Boolean value.
•
Module‑D() will call either Module‑X() or Module‑Y().
Draw only the part of the structure chart that represents the relationship between
Module‑X(), Module‑Y() and Module‑D().
[3]

Advertisement
9
9618/23/M/J/23 · Question 5May/June 2023Paper 234 marks
Loading question…
Question text

5
A program is designed, coded and compiled without errors. The compiled code is sent for testing.
(a) The program will be tested using the walkthrough method.
Additional information will be needed before this method can be used.
Identify this additional information and explain why it is needed.
Additional information …
…
Explanation …
…
…
…
[3]
(b) Testing is completed and the program is made available to users.
Some time later, changes are made to the program to improve the speed of response.
State the type of maintenance that has been applied to the program.
… [1]

10
9618/21/M/J/22 · Question 2May/June 2022Paper 217 marks
Loading question…
Question text

2
Examine the following state-transition diagram.
Button-Y
Button-Z | Output-C
START
S1
S3
Button-Z
Button-Y
Button-Y | Output-A
Button-X
S2
S4
Button-Z | Output-B
(a) Complete the table with reference to the diagram.
Answer
The number of different inputs
The number of different outputs
The single input value that could result in S4
[3]
(b) The initial state is S1.
Complete the table to show the inputs, outputs and next states.
Input
Output
Next state
Button-Y
none
Button-Z
S2
none
[4]

11
9618/22/M/J/22 · Question 1May/June 2022Paper 2211 marks
Loading question…
Question text

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 the technical term for the position at which the program stops.
… [1]
(b) The following table lists some activities from the program development life cycle.
Complete the table by writing the life cycle stage for each activity.
Activity
Life cycle stage
An identifier table is produced.
Syntax errors can occur.
The developer discusses the program requirements with the customer.
A trace table is produced.
[4]
(c) An identifier table includes the names of identifiers used.
State two other pieces of information that the identifier table should contain.
1 …
2 …
[2]
(d) The pseudocode statements in the following table may contain errors.
State the error in each case or write 'NO ERROR' if the statement contains no error.
You can assume that none of the variables referenced are of an incorrect type.
Statement
Error
TRUE AND FALSE
Status
IF LENGTH("Password") < "10" THEN
Code
LCASE("Electrical")
Result
IS_NUM(-27.3)
[4]

12
9618/23/M/J/22 · Question 2May/June 2022Paper 234 marks
Loading question…
Question text

2
A program has been written to implement a website browser and maintenance is now required.
One type of maintenance is called perfective.
Name two other types of maintenance that the program may require and give a reason for each.
Type 1 …
Reason …
…
…
…
Type 2 …
Reason …
…
…
…
[4]

13
9618/23/M/J/22 · Question 4May/June 2022Paper 234 marks
Loading question…
Question text

4
Items in a factory are weighed automatically. The weight is stored as an integer value representing
the item weight to the nearest gram (g).
A function is written to validate the weight of each item. The function will return "PASS" if the
weight of the item is within the acceptable range, otherwise the function will return "FAIL".
The acceptable weight range for an item is 150 g to 155 g inclusive.
The validation function is to be properly tested. Black-box testing will be used and a test plan
needs to be produced.
Complete the table by writing additional tests to test this function.
Type of
Example
Expected
Explanation
test data
test value
return value
Normal
153
"PASS"
Value within the acceptable range
[4]

Advertisement
14
9618/23/M/J/22 · Question 8May/June 2022Paper 236 marks
Loading question…
Question text

8
The following diagram shows the incomplete waterfall model of the program development life
cycle.
(a) Complete the diagram.
Analysis
Maintenance
[3]
(b) Explain the meaning of the downward and upward arrows.
Downward arrows …
…
…
Upward arrows …
…
…
[2]
(c) Identify another type of model for the program development life cycle.
… [1]

15
9618/22/M/J/21 · Question 2May/June 2021Paper 2211 marks
Loading question…
Question text

2
(a) Examine the following state-transition diagram.
Low level detected | Activate pump
Low level detected
X
S2
S1
Normal level detected | Deactivate pump
Normal level detected
S3
(i)
Complete the table with reference to the diagram.
Answer
The number of transitions that result in a different state
The number of transitions with associated outputs
The label that should replace ‘X’
The final or halting state
[4]
(ii)
The current state is S1. The following inputs occur.
1.
Low level detected
2.
Low level detected
3.
Low level detected
4.
Low level detected
Give the number of outputs and the current state.
Number of outputs …
Current state …
[2]
(b) A system is being developed to help manage book loans in a library.
Registered users may borrow books from the library for a period of time.
(i)
State three items of data that must be stored for each loan.
1 …
2 …
3 …
[2]
(ii)
State one item of data that will be required in the library system but does not need to be
stored for each loan.
… [1]
(iii)
One operation that manipulates the data stored for each loan, would produce a list of all
overdue books.
Identify two other operations.
Operation 1 …
…
Operation 2 …
…
[2]

Advertisement