Software Design and Development Flashcards

1
Q

What are the phases of an iterative development process?

A

(A Dance In The Dark Every Monday)
Analysis – production of a software specification that will outline what the software must do
Design – plan the design of the program, and the user interface
Implementation – write the code for the program/ software
Testing – fully test the program/ software to ensure that all aspect work correctly
Documentation – technical guide – how to install software - and user guide – how to work the software.
Evaluation – is the program fit for purpose and robust
Maintenance- keep checking up on the program to ensure it continues to run smoothly.

Iterative process – each stage may have to be revisited.

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

what are the inputs,processes and outputs of a program?

A

Inputs – data that is entered into the program.
Processes – what the program does with the inputted data.
Output – data that is outputted to the user.

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

what is the purpose of a structured diagram?

A

It breaks the problems down into smaller sections.

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

what is the purpose of a flowchart?

A

It shows what is going on in a program and how data flows around it.

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

what is the pseudocode?

A

Its structured English for describing a program, read by a human

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

What is the symbol used for an input or output in a flow chart?

A

___
/___/
a parallelogram

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

What is the symbol used for data flow (direction of data flow) in a flow chart?

A

an arrow

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

What is the symbol used for decisions(yes or no)in a flow chart?

A

🔸

a diamond

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

What is the symbol used for a process in a flow chart?

A

a rectangle

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

What is the symbol used for a process in a structured diagram?

A

a rectangle

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

What is the symbol used for a loop in a structured diagram?

A
⬭
an oval (ellipse)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the symbol used for a selection in a structured diagram?

A

__

a pointy edge oval.

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

What is the symbol used for a Pre-defined function in a structured diagram?

A

_____
||__||
a rectangle with two extra lines at the end.

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

list all of the data types and their uses.

A

string – stores text and alphanumeric combinations e.g. Sausage, AB12 4RT
character – stores a single character which can be a letter, number or symbol e.g. Q. #, 6
integer – stores positive and negative whole numbers e.g. 17. -45. 124
real – stores numbers with decimal places, can also store integers e.g. 3.14, - 5.67
boolean – stores TRUE or FALSE only.

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

name a data structure.

A

an array – stores a list of related data e.g. names of pupils in a class.

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

How would you add A and B together?

A

a + b

17
Q

How would you takeaway B from A?

A

a – b

18
Q

How would you times A and B?

A

a * b

19
Q

How would you divide A by C?

A

a / c

20
Q

How would you put A to the power of B (exponentiation ) ?

A

a^b

21
Q

what is the process of joining two or more strings together to make a new text string?

A

concatenation- represented by “&” in pseudocode and “,” in python

22
Q

Name and describe the three types of tests.

A

Normal – data that you would expect to work or be accepted (value within the range)
Extreme – data at the lower and upper limits of what is expected (lowest value or highest value in range)
Exceptional – data that should not be accepted by the program (value outside of the range)

23
Q

What are the three types of errors?

A

Syntax – This is an error in the spelling or grammar used when coding.
For example, misspelt command words, missing brackets, commands or colons.
Syntax errors are identified by the interpreter, as the code will not run.

Execution – This type of error occurs when the program is asked to do something that it cannot, resulting in a crash. For example, dividing by zero or trying to store a string a integer variable.

Logic – This is an error in the logic of the code e.g. using a < instead of >. The program will run, but it will produce unexpected results. Logic errors are usually only resolved by carrying out testing.

24
Q

How can you tell if a program is fit for purpose?

A

If it does what it is supposed to do

25
Q

Efficient use of coding constructs

A

use of loops –repeating instructions is more efficient than a sequence of individual instructions.
arrays – using arrays to store related data is more efficient than using multiple variables.
nested IFs – using IF … ELSE IF … is more efficient that using multiple IF … THEN

26
Q

is the program robust?

A

can the program cope with unexpected input or mishaps without crashing
usually programs made at Nat 5 level are not fully robust.

27
Q

How do you tell if a program is readable?

A

if it has:
internal commentary – add descriptions, notes and explanation to the code.
meaningful identifiers – use variable names that describe what the variable contains.
indentation – makes it easier to identify constructs. Mandatory in Python.
white space – help makes it clearer where code is placed.