Software Design & Development Flashcards

1
Q

State the seven stages of the software development process

A

Analysis, Design, Implementation, Testing, Documentation & Evaluation

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

analysis stage

A

To get a clear understanding of the problem in terms of inputs, processes and outputs in order to provide the solution.

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

design stage

A

To planning the solution for example writing your pseudocode and creatring a wireframe

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

implementation stage

A

Turning the design into a set of computer instructions that the computer can understand; begin coding.

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

testing stage

A

To test that the program actually meets the specification; what the program is expected to do

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

documentation stage

A

the documentation which is to be distributed with the software is produced; how to use guide or technical installation guide etc

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

evaluation stage

A

Evaluation is reviewing the solution against a given criteria.

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

State what is meant by the functional requirements of a program?

A

Everything that the program must do highlighting the inputs, processes and outputs

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

Describe what a programs inputs are.

A

Anything that has to be entered into the program.

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

Describe what a programs processes are.

A

Any calculation or decision that the program has to do.

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

Describe what a programs outputs are.

A

Anything that has to be displayed on a screen or sent to a printer.

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

State the purpose of a variable?

A

Used to store data.

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

State the data type that is used to store text/words, alphanumberic data?

A

String

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

State the data type that is used to store a single letter or symbol?

A

Character

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

State the data type that is used to store a whole number

A

Integer

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

State the data type that is used to store a number with a decimal point

A

Real

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

State the data type that is used to store a true/false value.

A

Boolean

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

State the data structure that is used to store a list.

A

(1-D) Array

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

State the appropriate data type that should be used to store a pupils first name.

A

String

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

State the appropriate data type that should be used to store someones initial of their surname.

A

Character

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

State the approrpriate data type that should be used to store someones age.

A

Integer

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

State the appropriate data type that should be used to store someones wage per hour for example £7.40

A

Real

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

State the approrpriate data type that should be used to store a true/false option.

A

Boolean

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

State the approrpriate data type that should be used to store a list of the same data type. For example all surnames names from a class.

A

Array

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

When declaring an array what 3 things must you include?

A

Name, type and size

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

Describe the purpose of a structured diagram.

A

A visual design technique used to show the steps needed to solve a problem.

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

Describe the term assign values to variables.

A

Means putting a value into a variable.

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

State what this is an example off: SET username to gtennet

A

Assigning a value to a variable

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

State the variable name and data type of this: SET username to gtennet

A

username & string.

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

State the five arithmetic operations.

A

addition, subtraction, multiplication, division, power

31
Q

State what arithmetic operator+ represents

A

Addition

32
Q

State what arithmetic operator* represents

A

Multiplication

33
Q

State what arithmetic operator- represents

A

Subtraction

34
Q

State what arithmetic operator/ represents

A

Division

35
Q

State what arithmetic operator^ represents

A

To the power of

36
Q

Describe the term concatentation

A

To combine/merge/join string fields together/

37
Q

State the six comparison operators.

A

less than, more than, less than or equal to, more than or equal to, not equal to, equal to

38
Q

State what comparison operator this represents

A

Less than

39
Q

State what comparison operator this represents >

A

More than

40
Q

State what comparison operator this represents <=

A

Less than or equal to

41
Q

State what comparison operator this represents >=

A

More than or equal to

42
Q

State what comparison operator this represents =

A

Equal to

43
Q

State what comparison operator this represents <>

A

Not equal to

44
Q

Describe what is meant by a complex conditional statement.

A

Two or more conditions

45
Q

Is the following an example of a simple or complex statement? IF age >15 THEN DISPLAY “You can buy a lottery ticket”

A

Simple conditional statement

46
Q

Is the following an example of a simple or complex statement? IF age >10 AND age <19 THEN DISPLAY “You are most likely at secondary school”

A

Complex conditional statement

47
Q

State the three types of logical operators

A

AND OR NOT

48
Q

Describe the logical operator AND

A

Both sides of the operator must be true for the if statement to succeed

49
Q

Describe the logical operator OR for example If drink = ‘pepsi’ OR drink = ‘coke’”

A

Either side of the operator must be true for the if statement to succeed.

50
Q

Describe what is meant by a fixed loop.

A

This is where you go around the loop a set number of times.

51
Q

If you had to write a program that would do something seven times. State the most appropriate computation construct that you should use?

A

A fixed loop.

52
Q

Describe what is meant by a conditional loop.

A

This kind of loop allows you to keep going round the loop until a condition is met.

53
Q

If you have to write a program for to check someones password is correct and it will not let you gain access unless the password it right. State the most appropriate computational construct that you should use?

A

Conditional loop

54
Q

Describe what is meant by a predefined function

A

It is a built in function that does a specific task. That allow the program to do calculation, format values or manipulate text.

55
Q

State the advantage of predefined functions

A

Code is already written and tested for you so you know it works so long as you give it the right information it will work in the right way.

56
Q

State three predefined functions

A

Round, length, random

57
Q

Describe how the predefined function round works

A

It takes a number and returns the nearest whole number.

58
Q

Describe how the predefined function length works

A

It will returns the length of a string variable.

59
Q

Describe how the predefined function random works

A

It will give you a random number between two values.

60
Q

Describe the input validation algorithm.

A

It is the process of ensuring that any data which the user has entered is within a reasonable range or set. For example write a program that only accepts numbers between 1 and 5.

61
Q

State the three types of programming errors

A

Syntax, logic, execution

62
Q

Describe why a syntax error happens.

A

This error shows that your code breaks a rule about how to use the language you are coding in.

63
Q

Describe why a logical error happens

A

This is an error that causes the program to operate incorrectly but not crash.

64
Q

Describe why a execution error happens

A

This is an error that occurs when the program is running causing it to crash.

65
Q

State what is meant by the term fit for purpose?

A

The program meets the specification

66
Q

Describe the term robustness

A

How well a program handles unexpected input. This is determind from testing the exceptional test data.

67
Q

Describe what is meant by readability

A

How easy it is to read and understand code. This is important for editing code and also when working in a team someone else can understand what the program is meant to do.

68
Q

State four ways you can make your code readable.

A

White space, Internal commentary, Meaningful variable names, Identation

69
Q

Describe what is meant by making your code more readable with white space.

A

leaving white space (empty lines) throughout the program, making it easier to read.

70
Q

Describe what is meant by making your code more readable by using internal commentary.

A

describes what is going on in your program. It makes it easier for someone else to understand what your program should do.

71
Q

Describe what is meant by making your code more readable by using meaningful identifiers/variable names

A

makes it easy to work out what your program is doing and what data is being gathered/used and what for.

72
Q

Describe what is meant by making your code more readable with indentation

A

the overall structure of your code. Using indentation well can make your code much easier to read.

73
Q

Efficient use of coding constructs

A

Has the programmer used repetition where possible to reduce the amount of code? Has the programmer used arrays where possible instead of declaring many individual variables?