Chapter 7: Algorithm design and problem solving Flashcards

1
Q

Definition of analysis

A

part of the program development life cycle; a process of investigation, leading to the specification of what a program is required to do

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

Definition of design

A

part of the program development life cycle; uses the program specification from the analysis stage to show how the program should be developed

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

Definition of coding

A

part of the program development life cycle; the writing of the program or suite of programs

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

Definition of testing

A

part of the program development life cycle; systematic checks done on a program to make sure that it works under all condition

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

Definition of abstraction

A

a method used in the analysis stage of the program development life cycle; the key elements required for the solution to the problem are kept and any unnecessary details and information that are not required are discarded

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

Definition of decomposition

A

a method used in the analysis stage of the program development life cycle; the key elements required for the solution to the problem are kept and any unnecessary details and information that are not required are discarded

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

Definition of top-down design

A

the breaking down of a computer system into a set of sub-systems, then breaking each sub-system down into a set of smaller sub-systems, until each sub-system just performs a single action

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

Definition of inputs

A

the data used by the system that needs to be entered while the system is active

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

Definition of processes

A

the tasks that need to be performed by a program using the input data and any other previously stored data

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

Definition of outputs

A

information that needs to be displayed or printed for the users of the system

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

Definition of storage

A

data that needs to be stored in files on an appropriate media for use in the future

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

Definition of structure diagram

A

a diagram that shows the design of a computer system in a hierarchical way, with each level giving a more detailed breakdown of the system into sub-systems

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

Definition of flowchart

A

a diagram that shows the steps required for a task (sub-system) and the order in which the steps are to be performed

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

Definition of algorithm

A

an ordered set of steps to solve a problem

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

Definition of pseudocode

A

a simple method of showing an algorithm; it describes what the algorithm does by using English key words that are very similar to those used in a high-level programming language but without the strict syntax rules

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

Definition of linear search

A

an algorithm that inspects each item in a list in turn to see if the item matches the value searched for

17
Q

Definition of bubble sort

A

an algorithm that makes multiple passes through a list comparing each element with the next element and swapping them. This continues until there is a pass where no more swaps are made

18
Q

Definition of validation

A

automated checks carried out by a program that data is reasonable before it is accepted into a computer system

19
Q

Definition of verification

A

checking that data has been accurately copied from another source and input into a computer or transferred from one part of a computer system to another

20
Q

Definition of set of test data

A

all of the items of data required to work through a solution

21
Q

Definition of normal data

A

data that is accepted by a program

22
Q

Definition of abnormal data

A

data that is rejected by a program

23
Q

Definition of extreme data

A

the largest/smallest data value that is accepted by a program

24
Q

Definition of boundary data

A

the largest / smallest data value that is accepted by a program and the corresponding smallest/largest rejected data value

25
Q

Definition of range check

A

a check that the value of a number is between an upper value and a lower value

26
Q

Definition of a length check

A

a method used to check that the data entered is a specific number of characters long or that the number of characters is between an upper value and a lower value

27
Q

Definition of type check

A

a check that the data entered is of a specific type

28
Q

Definition of presence check

A

a check that a data item has been entered

29
Q

Definition of format check

A

a check that the characters entered conform to a pre-defined pattern

30
Q

Definition of check digit

A

An additional digit appended to a number to check if the entered number is error-free; check digit is a data entry check and not a data transmission check