Chapter 7 Flashcards

(23 cards)

1
Q

Describe analysis

A

The first stage of the program development life cycle that involves investigating the problem. The problem is explored and the requirements of the program are identified.

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

Describe design

A

The second stage of the program development life cycle that involves the decomposition of the problem and algorithms created ready for implementation. This can include an overview of the program using a structure diagram and the designing of algorithms using flowcharts and pseudocode.

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

Decomposition

A

Taking a system and splitting it into smaller sub systems which can in turn be split into smaller sub systems.

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

Structure diagram

A

A hierarchical diagram that shows the decomposition of a system

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

Flowchart

A

A diagrammatic representation of an algorithm

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

Pseudocode

A

Code like statements used to design an algorithm but do not follow any specific language. Uses keywords and constructs like IF statements, while loops, etc..

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

Describe coding

A

The writing of a program using one or more programming languages. Includes iterative testing (testing carried out while the program is being developed)

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

Describe testing

A

Repeated use of a system to try all different possibilities to make sure the system is fully working, cannot be broken, meets all requirements and doesnt crash. (We use test data to test a program.)

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

Types of test data

A

Normal: Should be accepted Abnormal: Shouldnt be accepted Boundary: On the edge of being accepted and being rejected Extreme: On the edge of what is allowed

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

Search algorithm

A

A series of steps that searches for a specific value in a set of data

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

Sorting algorithm

A

A series of steps that will rearrange the data into an order

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

Linear search

A

A search algorithm that visits each item of data in turn to check if it is the data being looked for, continuing until it either finds the item or checks the last value

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

Bubble sort

A

Sorting algorithm that moves through the list repeatedly swapping values in pairs. Takes the first two values, compares them and swaps them if theyre in the wrong order. It then moves on with values 2 and 3 and does the same process. This continues until it has worked all the way through the list once. It then starts again with the first two values.

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

Totalling

A

Statements in a program that add together a set of data to produce a total. Initialise the variable to 0 and add the value to the current contents of the total.

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

Counting

A

Statements in a program that record how many of something there are. Initialise the variable to 0 tehn add 1 to the count variable each time.

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

Minimum

A

The smallest item in a set of data. Initialise the minimum value to a very large number and compare each value to the minimum. The value replaces the minimum if it is smaller than it

17
Q

Maximum

A

The largest item in a set of data. Initialise the maximum value to a very small number and compare each value to the maximum. The value replaces the maximum if it larger than it

18
Q

Average

A

The mean of a set of values, the total divided by the quantity

19
Q

Validation

A

The checking of data to make sure it is reasonable and within set bounds. Eg; Range check, type check, format check, presence check, check digit, length check

20
Q

Verification

A

Checking that data is entered accurately, that it is the same as the original

21
Q

Visual check

A

Comparing the data entered with the original side by side

22
Q

Double entry check

A

Two different people enter the same data which are then compared

23
Q

Trace table

A

A structure to complete when walking through an algorithm manually where the values that change are written in each row