Identify the five stages of the system's life cycle in the correct order
Analysis
Design
Coding
Testing
Maintenance
Identify three things that are produced in the design stage
Flowcharts
Structure chart
State transition diagram
Pseudocode
Identify the three types of programming errors
Syntax
Logic
Runtime
Identify the three categories of maintenance
Adaptive, corrective and perfective
Which type of program development lifecycle starts with a simple subset of requirements, which is then developed, with the development lifecycle being repeated until the full system has been developed?
Iterative model
Draw a state transition diagram on the board to represent a door with the entry code 259, going from the locked to the unlocked state.
Figure 12.9. Page 293
A program requires an input of an integer between 30 to 200 inclusive. Identify the names and suitable test data for all four categories of test data.
Normal- 80
Abnormal- @ "Hello", -67
Extreme- 30 / 200
Boundary- 29,30, 200, 201
Which method of maintenance is used to improve the performance of a program during its use, for example improving the speed of response.
Perfective
Identify two benefits and two drawbacks of the waterfall method
+ Easy to manage, understand and use
+ Stages do not overlap and are completed one at a time
+Each stage has specific deliverables
+Works well for smaller program where requirements are known and understood
- Difficult to change the requirements at a later stage
-Not suitable for programs where the requirements could be subject to change
-Working program is produced late in the lifecycle
-Not suitable for long and complex projects
Construct a structure chart based on the following modules. The module convert can call the other three modules repeatedly
PROCEDURE convert()
FUNCTION InputMiles() RETURNS INTEGER
FUNCTION Convert(Miles:INTEGER) Returns Integer
PROCEDURE Output(Miles:INTEGER)
Teacher assessed
Compare and contrast alpha and beta testing methods
Beta testing is then used. The completed program is tested by a small group of users before it is generally released.
Corrective- Is used to correct any errors that appear during use, for example, trapping a runtime error that had been missed during testing.
Perfective- Is used to improve the performance of a program during its use, for example, improving the speed of response.
Adaptive- is used to alter a program so it can perform any new tasks required by the customer, for exampl,e working with voice commands as well as keyboard entry.