software design and development Flashcards
development of software stages
analysis
design
implementation
testing
evaluation
array
used to store list of items which have same data type
conditional statement
statement either true or false eg IF, THEN, ELSE
simple condition
rely on condition being true or false
complex condition
rely on 2 or more conditional statements being true or false eg AND, NOT, OR
logical operators
AND, OR, NOT
select case
used when program requires too many IF statements, allows diff instructions to be selected depending on variable value
iteration
process where program repeats group of instructions 2 or more times - known as repetition or looping, efficient as code doest need to be repeated
fixed loop
when group of instructions are repeated a pre-determined number of times
conditional loops
group of instructions repeated until or while condition is true
nested loops
loop placed inside another loop completely
pre-defined functions
already built in program language which performs calculation - used to return single item of data
standard algorithms
algorithms used in program various times
input validation
program repeatedly asks for an item of data to be entered until its within possible range of values
running total
used to find sum or calculate average of numbers
syntax error
misspelt command words or missing brackets - identifies when program is translated
execution errors
incorrect calculation
logic error
mistake in code which causes error in calculation - answer incorrect
normal
correct results expected in range of values
extreme
lies on boundaries of possible data
exceptional
unexpected data most likely to crash software
fit for purpose
fulfils requirements stated in analysis stage
wether or not it solves problem it was supposed to solve
explain why it may be necessary to return to the design stage
logic errors were found at a later
stage or the program is not fit for purpose
how indentation is used to make the code above more readable
to clearly show what code is
inside the if statement
how SQL statement could be tested
comparison between expected results and actual results
two implications of the General Data Protection Regulation
- data must be accurate
- store data securely
- data can’t be shared without
members permission - must declare purpose data is used for
why a conditional loop would be used when writing code
- don’t know how often the loop
will execute - keeps looping until conditions
are met
why a pre-defined function would be used
- no need to write code
- error free (no need to test)
- re-useable