1.2.3 Software Development
1.2.3 Software Development
1. A software company decides to release a duplicate file finder which it has named “De-Duplicator”. Duplicate files
are files that are exactly the same (bit for bit identical). Space is often wasted on computers by having multiple
versions of the same file. Duplicate file finders are programs that find and identify duplicate files on a hard drive
so that they can be removed.
* The software team that produces De-Duplicator decides to make a new version that can detect duplicated
images the previous version could not. The software team must decide which methodology they will use for the
project. Some members of the team suggest extreme programming whilst others would prefer to use the
waterfall lifecycle.
Discuss the two methodologies and justify which you would recommend.
[12]
PhysicsAndMathsTutor.com
2. A software development company is building an operating system for a mobile phone that is in the process of
being designed.
3 [3]
(ii) Justify why the waterfall lifecycle is suited to the development of the operating system.
[2]
(iii) Give one disadvantage of using the waterfall lifecycle to develop the operating system.
[1]
PhysicsAndMathsTutor.com
3.
A procedure takes as input a number between 1 and 100. It calculates and outputs the square of each number
starting from 1, to the number input. The square of a number is the result of multiplying a number by itself.
(i) Describe how black box testing can be used to test a program.
[3]
(ii) For each type of test given in the table, identify two examples of test data that can be used to test the
program.
Normal
Extreme
Invalid
[3]
PhysicsAndMathsTutor.com
4. Beryl has to write a program that explains patterns in crystals, using the following information.
All the patterns in crystals have two lengths, x and y, and an angle A.
PhysicsAndMathsTutor.com
During alpha testing, both white box testing and black box testing are used.
[1]
(ii) Describe how Beryl will use white box testing in her program.
[2]
(iii) Beryl prepares a set of test data for black box testing. Three test cases where the angle is exactly 90° are
given in the table below.
Complete the table by stating the values of x and y to be tested, the reason for the test and the expected
outcome. The first row has been completed as an example.
A = 90
The angle is exactly 90 and the two sides SQUARE
x = 100 are exactly equal
y = 100
A = 90
x = ______________
y = ______________
A = 90
PhysicsAndMathsTutor.com
x = ______________
y = ______________
[6]
______________
______________
______________
(d). Give one potential value of b if the output value of a=42, c=44 and d=14.
______________
[4]
PhysicsAndMathsTutor.com
6. A programmer is going to design a procedure that will prompt for and receive two values, A and B. The
procedure will then compare them. The procedure will also write a suitable message to a file on disk depending
on whether:
[5]
PhysicsAndMathsTutor.com
7. A software development team is writing a word game.
[4]
PhysicsAndMathsTutor.com
Question Answer/Indicative content Marks Guidance
PhysicsAndMathsTutor.com
Question Answer/Indicative content Marks Guidance
understanding shown; the material is basic potentially affect how decisions and the
and contains some inaccuracies. The logic involved are dealt with and how
candidate makes a limited attempt to apply concurrency is dealt with
acquired knowledge and understanding to Discussion of other social factors that
the context provided. affect the use of the different
methodologies.
The candidate provides nothing more than
an unsupported assertion. AO3.3: Evaluation
The information is basic and Having considered the different sides to
communicated in an unstructured way. The the argument candidates will need to reach
information is supported by limited a supported judgment based on the
evidence and the relationship to the evidence included in their response.
evidence may not be clear.
0 marks There should be no bias in marks as to
No attempt to answer the question or which methodology is chosen but
response is not worthy of credit. especially in the top mark band there must
be a clear link between the points
candidates have made and justification.
e.g.
The waterfall lifecycle establishes
requirements in early stages and
subsequent stages focus on these. New
requirements can be adopted throughout
XP. The requirements in this project are
likely to be static making the Waterfall
model a more appropriate approach.
OR
Total 12
PhysicsAndMathsTutor.com
Question Answer/Indicative content Marks Guidance
2 i – Feasibility Study 3
– Investigation / Requirements Elicitation
– Analysis
– Design
– Implementation / Coding
– Testing
– Installation
– Documentation
– Evaluation
– Maintenance
(1 per –, max 3)
Total 6
PhysicsAndMathsTutor.com
Question Answer/Indicative content Marks Guidance
Total 6
PhysicsAndMathsTutor.com
Question Answer/Indicative content Marks Guidance
iii Award marks in groups of three, for: 6 Note: If expected outcome is wrong then
do not award marks for other columns
Examiner's Comments
Outcome: Rectangle
Reason :Angle 90 and difference This question was on the whole answered
between x and y >= 10% of x poorly. Few candidates took into account
Test data matches the expected the tolerance of < 10% when deciding the
outcome outcome, with a few candidates just
Outcome: Square repeating the example given.
Reason: Angle 90 and difference
between x and y <10% of x
Test data matches expected outcome
Total 9
5 a 16 4 Max 4 marks
b 16
c 15
d 42
43 Examiner's Comments
(max. 1)
Candidates generally achieved some
success, but few scored all four marks.
Those who could reason logically and who
understood the XOR function gained most
credit.
Total 4
PhysicsAndMathsTutor.com
Question Answer/Indicative content Marks Guidance
Total 5
Examiner’s Comments
(Max 4) Most candidates gained some marks on
this question but few achieved full marks.
In general responses lacked attention to
detail and clarity of expression. Centres
should advise candidates that the number
of marks awarded for questions gives an
indication of the number of points required
in the response.
Total 4
PhysicsAndMathsTutor.com