software design and development Flashcards

1
Q

development of software stages

A

analysis
design
implementation
testing
evaluation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

array

A

used to store list of items which have same data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

conditional statement

A

statement either true or false eg IF, THEN, ELSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

simple condition

A

rely on condition being true or false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

complex condition

A

rely on 2 or more conditional statements being true or false eg AND, NOT, OR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

logical operators

A

AND, OR, NOT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

select case

A

used when program requires too many IF statements, allows diff instructions to be selected depending on variable value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

iteration

A

process where program repeats group of instructions 2 or more times - known as repetition or looping, efficient as code doest need to be repeated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

fixed loop

A

when group of instructions are repeated a pre-determined number of times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

conditional loops

A

group of instructions repeated until or while condition is true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

nested loops

A

loop placed inside another loop completely

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

pre-defined functions

A

already built in program language which performs calculation - used to return single item of data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

standard algorithms

A

algorithms used in program various times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

input validation

A

program repeatedly asks for an item of data to be entered until its within possible range of values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

running total

A

used to find sum or calculate average of numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

syntax error

A

misspelt command words or missing brackets - identifies when program is translated

17
Q

execution errors

A

incorrect calculation

18
Q

logic error

A

mistake in code which causes error in calculation - answer incorrect

19
Q

normal

A

correct results expected in range of values

20
Q

extreme

A

lies on boundaries of possible data

21
Q

exceptional

A

unexpected data most likely to crash software

22
Q

fit for purpose

A

fulfils requirements stated in analysis stage
wether or not it solves problem it was supposed to solve

23
Q

explain why it may be necessary to return to the design stage

A

logic errors were found at a later
stage or the program is not fit for purpose

24
Q

how indentation is used to make the code above more readable

A

to clearly show what code is
inside the if statement

25
Q

how SQL statement could be tested

A

comparison between expected results and actual results

26
Q

two implications of the General Data Protection Regulation

A
  • data must be accurate
  • store data securely
  • data can’t be shared without
    members permission
  • must declare purpose data is used for
27
Q

why a conditional loop would be used when writing code

A
  • don’t know how often the loop
    will execute
  • keeps looping until conditions
    are met
28
Q

why a pre-defined function would be used

A
  • no need to write code
  • error free (no need to test)
  • re-useable