EXAM QUESTIONS · AS LEVEL 9618
Software Development Exam-Style Questions with Answers (A Level 9618)
Original exam-style questions on the program development life cycle, waterfall, iterative and RAD models, structure charts, state-transition diagrams, types of error, testing methods, test data and maintenance for Cambridge AS & A Level Computer Science 9618 (Paper 2). There are 24 marks in total. Try each question on paper first, then press Show answer to see the mark scheme. Answers that can be calculated mark themselves.
State the five stages of the program development life cycle in order.
Show answer
Analysis, design, coding, testing, maintenance – 1 mark each, in the correct order. [5]
Compare the waterfall model with the iterative model of development.
Show answer
Any four from:
- Waterfall: each stage is completed in turn before the next begins.
- Waterfall is easy to manage and suits projects with clear, fixed requirements.
- In the waterfall model it is hard to go back and change earlier stages, and the client sees the product only at the end.
- Iterative: the program is developed in small parts, with each part designed, coded and tested in repeated cycles.
- Iterative lets the client give feedback regularly, and problems are found earlier.
Describe three features of Rapid Application Development (RAD).
Show answer
Any three from:
- Prototypes are built quickly and shown to the user.
- The user gives frequent feedback, which is used to improve the next version.
- Parts of the program can be developed in parallel.
- Less time is spent on detailed planning at the start.
- It produces a working product quickly.
Explain the difference between a syntax error, a logic error and a run-time error, with an example of each.
Show answer
- Syntax error: breaks the rules of the language so the code cannot be translated, e.g. a misspelled keyword such as ENDIFF. [1]
- Logic error: the program runs but gives the wrong result, e.g. using < instead of >. [1]
- Run-time error: the program crashes while running, e.g. division by zero or reading past the end of an array. [1]
Describe each testing method.
- Stub testing [1]
- Integration testing [1]
- Alpha testing [1]
- Acceptance testing [1]
Show answer
- Testing a module before the modules it calls are written, using simple placeholder routines (stubs). [1]
- Testing that separate modules work correctly when they are combined. [1]
- Testing by the developers in-house before the software is released to users. [1]
- Testing by the client to check the software meets the requirements before they accept it. [1]
Describe the three types of software maintenance.
Show answer
- Corrective: fixing errors that are found after the software is in use. [1]
- Adaptive: changing the software to meet new requirements or work with new hardware/software. [1]
- Perfective: improving the performance or usability of the software, or adding features. [1]
State the purpose of a structure chart and one thing it shows.
Show answer
- It shows how a program is broken down into modules (top-down design). [1]
- It shows the hierarchy of modules and the parameters/data passed between them, as well as selection and iteration. [1]
Frequently asked questions
What is the difference between white-box and black-box testing?
White-box testing uses knowledge of the code to test every path through it. Black-box testing checks that inputs give the expected outputs without looking at the code.
Are these past paper questions?
No. These are original exam-style questions written by a Computer Science teacher in the Cambridge style.
Revise the topic: 9618 software development notes · 9618 flashcards · All exam-style questions