Paper 2 Flashcards
What are the 4 stages of program development life cycle (4)
Analysis
Design
Coding
Testing
Features of analysis (4)
Abstraction
decomposition of problem
Identification of problem
Requirements
Features of design (4)
decomposition
structure diagrams
Flowcharts
Pseudocode
Features of coding (2)
Writing program code
iterative testing
Feature of testing
Testing program code using test data
Explain computer systems (3)
Computer systems range from small and simple to large and complex
Almost all computer systems can be broken down into sub-systems. These sub-systems can typically be broken down into further sub-systems
Eventually, each sub-system performs a single task or action
Define decomposition
Breaking a complex problem into smaller, more manageable parts
Advantages of decomposition (2)
Makes problems easier to solve
Different people can work on different parts of a problem at the same time, reducing development time
Define algorithm
specific sequence of steps that can be followed to complete a task
Define computer program
Implementation of an algorithm
Define input validation
checking that data input by user meets specific criteria/rules before processing
What are the different types of input validation checks (5)
Type check
Range check
presence check
Format check
length check
Explain type check
The input is of the correct data type
EG: integer, real, string
Explain range check
The input is within a predetermined range
EG: between 1 and 10
Explain presence check
All required data has been entered