Software Development

Software development methodologies and testing strategies.

Topics

Key terms

12.1 Software development life cycle

Software development life cycle (SDLC)
The stages of developing software: analysis, design, coding, testing and maintenance.
Analysis
Working out what the system must do and recording it in a requirements specification.
Feasibility study
An investigation into whether a project is practical, for example in cost, time and technology.
Requirements specification
A document that lists exactly what the new system must do.
Design
Planning how the system will work, for example its structure, data and algorithms.
Coding
Writing the program, usually following the design.
Testing
Running the program to find and fix errors and check it meets the requirements.
Maintenance
Changing the software after release. It can be corrective, adaptive or perfective.
Corrective maintenance
Fixing errors found after the software is in use.
Adaptive maintenance
Changing the software to work with new requirements or a new environment.
Perfective maintenance
Improving the software's performance or features.
Waterfall model
A development model where each stage is completed before the next begins.
Iterative model
A development model where the software is built and refined in repeated cycles.
Rapid application development (RAD)
Building prototypes quickly and improving them using regular user feedback.

12.2 Program design

Structure chart
A diagram showing the modules in a program and how they are related.
State-transition diagram
A diagram showing the states of a system and the events that move it from one to another.
Module
A self-contained part of a program that does one job.
Flowchart and pseudocode
Two ways to plan an algorithm before coding it.

12.3 Testing and maintenance

Syntax error
A mistake in the rules of the language, which stops the program from running.
Logic error
A mistake in the program's logic that gives wrong results without stopping it.
Runtime error
An error that happens while the program is running, such as dividing by zero.
Test plan
A table listing the test data, the expected result and the actual result for each test.
Normal test data
Valid data that the program should accept.
Boundary test data
Data at the very edges of what is allowed, and just outside it.
Abnormal (erroneous) test data
Data that should be rejected, such as the wrong type or out of range.
Dry run
Working through an algorithm by hand to check its logic.
White-box testing
Testing based on knowledge of the code's internal structure, so every path can be tried.
Black-box testing
Testing using only inputs and expected outputs, without looking at the code.
Integration testing
Testing that separate modules work correctly together.
Stub testing
Using simple dummy subroutines in place of modules that have not been written yet.
Alpha testing
Testing by the developers or an in-house team before release.
Beta testing
Testing by a limited group of real users before the full release.
Acceptance testing
Testing by the customer to confirm the system does what they asked for.

Practice questions for Software Development