Paper 2 Flashcards
What is the program development life cycle
Analysis
Design
Coding
Testing
What are the stages in analysis
Abstraction
Decomposition of the problem
Identification of the problem
Requirements
What is the stages of design
Decomposition
Structure diagrams
Flowcharts
Pseudo code
Stages of coding
Writing program code
Itreative testing
Stages of testing
Testing program with the use of test data
What is every computer system made up of
Sub systems which are made up of further sub systems that performs a single test or action
What is decomposition
Means breaking a complex problem down into more manageable parts
Advantages of decomposition
Makes problems easier to solve
Different people can work on different parts at the same time, reducing development time
Program components developed in one program can be easily used in other programs
What is inputs
Anything that needs to be supplied to the program so it can meet its goals - often supplied by the user
Consider an appropriate variable name and data type for inputs
What is processes
Calculations that need to be performed while the program is running
Consider whether any data need to change format or data type
WHat is outputs
Consider what your program needs to output to the user
Consider what firm outputs take
Consider an appropriate name and data type for outputs
What is storage
Consider any data that needs to be stored in files on an appropriate medium for use or retrieval in the future
Structure diagrams
A method of designing a solution to a problem
Produced using a method known as step-wise refinement
Bre@k a problem down into sub-problems using decomposition
Some areas of the program will need to be broken down more than others
Lowest-level nodes should achieve one task - and therefore, be coded as a single module or sub-program
What is flow chart
Is a method of representing the sequence of steps in an algorithm in the form of a diagram
What is pseudo code
Is an alternate , text based way of representing the sequence of steps in an algorithm
It can be thought of a simplified form of programming code
What is the start and stop shape for flowcharts
Looks like car mirror
_________
( ________ )
Called terminal
What is the symbol of calculation or something that is happening in flowcharts
It’s called process
__________
|_________|
What is the shape where you ask the questions or branch off
It’s decision
Diamond
/\
\/
What is the shape of where you say “what is your name”
Input output
__________
/_________/