Software Development Flashcards
What is a variable
Programmers use variables to store pieces of data whilst the program is running.
•If the user is asked to enter information into a program then it needs to be stored – so a variable is created.
•A variable is a temporary storage space that can store one piece of data.
The 6 different Variable types
oCharacter
oString
oInteger
oReal
oBoolean
o1-D Arrays
variable type-character
only stores one character. E.g. S, k, P
Variable type - string
can contain a mixture of letters, numbers and characters. E.g. hello, FK6 5EE, mrsbrown@hotmail.co.uk
Variable type- interger
whole numbers, both positive and negative. Cannot contain anything else. E.g. 11, 999, -128
Variable type - real
numbers that contain a fraction or decimal. E.g. 0.09, 10.2, 1567.87
Variable type - Boolean
has only two states, true or false.
Data structure - 1D array
(For the purposes of this course you only need to know about 1 Dimensional Arrays.)
•1-D Array – used to store a list of variables, that are all of the same data type.
•E.g. harry, sam, peter 12, 16, 18
What are the 6 stages of the software development process
Analysis - This is where the problem is analysed and the programmer ensures that they know exactly what they are meant to do.
Design – A solution to the problem is designed using a variety of design techniques. Design decisions are made at this stage.
Implementation – The solution is created.
Testing – Solution is tested using test data, errors are identified and corrected.
Documentation – The paperwork is completed. A technical guide and a user guide are written.
Evaluation – The solution is examined to make sure that it meets the specification and is fit for purpose.
Why is the Software development process known as an iterative process
The SDP has 6 stages that are worked through in order. However, sometimes new information means that a previous stage has to be revisited. This is iteration.
For example, During the testing stage it might be discovered that there is an error in the code. This would mean that the implementation stage needs to be revisited.
Test data types
normal, extreme and exceptional.
Test data - Normal
data that is within range, of the correct data type and should be accepted.
Test data- Extreme
data that is on the edge of what should be accepted but should be accepted
Test data - exceptional
data that is out of range or the wrong data type. It should not be accepted.
Different types of errors
Syntax,execution,logic