Software development and testing – A Level Computer Science (old syllabus, to 2021) (9608)
5 questions · Clear filters
Question text
5
(a) Module iteration and module selection are features of a structure chart.
State two other features that may be represented in a structure chart.
Feature 1 …
…
Feature 2 …
…
[2]
(b) Examine this structure chart of a booking system.
MakeBooking()
A
A
C
B
D
StoreBooking()
AmendDate()
MakePayment()
E
ExternalAuthorisation()
Complete the following table by writing the correct parameter letter (A, B, C, D or E) for each
parameter identifier.
Parameter identifier
Parameter letter
Quantity
BookingID
ItemCost
TotalCost
BookingDate
[5]
Question text
1
(a) Translation is one stage of the program development cycle.
State three other stages.
1 …
2 …
3 …
[3]
(b) Define the following types of maintenance.
Corrective maintenance …
…
…
Adaptive maintenance …
…
…
[2]
(c) Experienced programmers have a transferable skill.
Explain how this skill might be useful for a programmer.
…
…
…
… [2]
(d) Jackie has written a program and has used the identifier names I1, I2, and I3.
Explain why this is not good practice.
…
…
…
… [2]
(e) A pseudocode algorithm assigns values to three variables as follows:
FALSE
GateOpen
Alarm
TRUE
PowerFail
TRUE
Evaluate the expressions given in the following table:
Expression
Evaluates to
Alarm OR NOT PowerFail
NOT (Alarm AND PowerFail)
(GateOpen OR Alarm) AND PowerFail
(GateOpen AND Alarm) OR NOT PowerFail
[2]
Question text
2
(a) A structure chart is often used in modular program design. One feature shown is the sequence
of module execution.
State four other features that may be shown.
Feature 1 …
…
Feature 2 …
…
Feature 3 …
…
Feature 4 …
…
[4]
(b) Identify and describe one feature of an Integrated Development Environment (IDE) that can
help with program presentation.
Feature …
Description …
…
[2]
(c) By value is one method of passing a parameter to a subroutine.
Identify and describe the other method.
Method …
Description …
…
…
[2]
(d) Explain the term adaptive maintenance.
…
…
…
… [2]
Question text
2
(a) Describe the program development cycle with reference to the following:
•
source code
•
object code
•
corrective maintenance.
…
…
…
…
…
…
…
…
… [3]
(b) Give three features of an Integrated Development Environment (IDE) that can help with
initial error detection while writing the program.
1 …
…
2 …
…
3 …
…
[3]
Question text
3
(a) State why a high-level language program must be translated before it can be run.
…
… [1]
(b) A program runs but does not give the expected output.
Describe two methods you could use to find the error.
Method 1 …
…
…
…
Method 2 …
…
…
…
[4]
(c) Two testing methods are black-box and white-box. A student is choosing test data for both
methods.
Tick one or more boxes in each row to identify the testing method each statement describes.
Statement
White-box
Black-box
The student does not need to know the structure of the
code.
The student chooses data to test every possible path
through the code.
The student chooses normal, boundary and erroneous data.
The student chooses data to test that the program meets the
specification.
[4]
Question 4 begins on the next page.