What is the software development process?
Analysis
Design
Implementation
Testing
Documentation
Evaluate
What do you do for the design stage?
The team plans how the system will work. They design the layout with a collection of wireframes to show progressions, data flow, and decide what tools or languages to use.
What is a variable?
Holds one piece of data of one data type. In RAM
What are the different data types?
Character - one letter number or symbol
String - a collection of characters
Integer - Whole number
Real / Float - Decimal number
Boolean - True or False
What are the 2 things under basic program structure?
Block comment
Line comment
When naming a variable what should you do?
Give it a sensible name
No spaces
What are the 5 factors of readability?
Sensible variable and list name
White space
Colour coding text
Use indentation for linked code
Use internal commentry
What is selection?
Selection is refering to additional statements. To carry out an action: Conditional statements
What are conditional statements?
They carry out an action if or while a condition is met: If…elif…else, while…
What are comparison operators?
> < == =!
What are the logical operators?
And, or, not
What is iteration?
Loops
Why do we use iteration?
Saves repeating code
Saves memory
Improves efficiency
Improves readability
Reduces risks of syntax errors
What is an array?
A memory location that stores multiple data items of one data type.
Arrays are known as lists
Arrays are declared using [ ]
Lists starting number is 0
Stored in RAM
They are 1 dimensional
What are some standard algorithms?
Input validation
Linear search
Count occurences
Min
Max
How to evaluate a program?
Fitness of purpose - does it reach the requirements
Efficiency of code - loop, lists, pre - defined functions and procedures
Robustness - ability to manage errors
Readability - you should know these
What is the software development process called?
Waterfall method
Iteration method
In the waterfall method what happens in the analysis stage?
This is where the project team finds out what the customer wants the system or software to do. All needs and goals are written down clearly.
In the waterfall method what happens in the implementation stage?
The actual building stage. Programmers write the code according to the design.
In the waterfall method what happens in the testing stage?
The system is checked to make sure it works correctly. Any errors or bugs found are fixed.
In the waterfall method what happens in the documentation stage?
The finished system is installed and delivered to the user or customer.
In the waterfall method what happens in the evaluation stage?
After the system is in use, updates and small fixes are done to keep it working properly.
What is a structure diagram used for?
To design a program by taking the goal and splitting it into sub-steps. The sub-steps can then be broken below the sub-step to give more detail.
What is pseudocode?
A text based design methodology that is made up of English like phrases.