Program-development life cycle Flashcards
Program development cycle (4)
Analysis
Design
Coding
Testing
Analysis (2 ways of doing it)
Abstraction - simplifying the problem by keeping key elements and discarding unnecessary details from the problem
Decomposition - breaks down a complex problem into smaller parts which can then be subdivided even futher until it is solved easily
Design
uses** program specification from the analysis stage **to show how the program should be developed
using flowcharts, pseudocode or structure diagrams
Coding and iterative testing
coding: program is written and developed,
iterative testing: the code is tested, amended and repeated until the program performs as required
Testing
program is run many times with different sets of test data to check for errors
Computer system
Made up of systems that can be broken down into subsystems that only perform a single action each
Top down design
(structure diagrams)
Decomposition of a computer system into subsystems until each sub-system performs only a single action
Components of a computer system/
components of decomposition (4)
Inputs
Outputs
Processes
Storage (variables)
Dry run
Manual process of working through an algorithm step by step,
to** trace the value of variables**. There is no software involved in this process.