Algorithm design and problem solving

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/36

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

37 Terms

1
New cards

Program development life cycle

A series of structure steps / activities that are used to produce a system.

2
New cards

Analysis

The first stage of the program development life cycle that involves investigating the problem.

3
New cards

Decomposition

Taking a system and splitting it into smaller sub-systems

4
New cards

Design

The second stage of the program development life cycle

5
New cards

Structure diagram

A hierarchical diagram that shows the decomposition of a system.

6
New cards

Process

An action that is performed

7
New cards

Decompose

The action of performing decomposition

8
New cards

splitting a system into smaller sub-systems

which in turn can be split into smaller sub-systems.

9
New cards

Flowchart

A diagrammatic representation of an algorithm.

10
New cards

Psuedocode

Code-like statements that are used to design an algorithm but do not follow any specific language.

11
New cards

Coding

The writing of a program using one or more programming languages.

12
New cards

Testing

Repeated use of a system to try all different possibilities to make sure the system is fully working and cannot be broken.

13
New cards

Test data

The input data that is used to test a system.

14
New cards

Normal test data

Data that a program should accept.

15
New cards

Abnormal test data

Data that a program should not accept.

16
New cards

Extreme test data

Data that is on the edge of what is allowed.

17
New cards

Boundary test data

Data that is on the edge of being accepted

18
New cards

Search algorithm

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

19
New cards

Sorting algorithm

A series of steps that will rearrange a set of data into an order

20
New cards

Linear search

A search algorithm which visits each item of data in turn to check whether it is the data being looked for.

21
New cards

Bubble sort

A sorting algorithm that moves through the list repeatedly swapping values in pairs.

22
New cards

Totalling

Statements in a program that add together a set of data to produce the total.

23
New cards

Counting

Statements in a program that record how many of something there are.

24
New cards

Minumum

The smallest item in a set of data.

25
New cards

Maximum

The largest item in a set of data.

26
New cards

Average

The mean of a set of values

27
New cards

Validation

The checking of data to make sure it is reasonable and within set bounds.

28
New cards

Range check

A type of validation that makes sure data is between the minimum and maximum.

29
New cards

Length check

A type of validation that checks the number of characters is within a set limit.

30
New cards

Type check

A type of validation that checks data is the correct data type.

31
New cards

Presence check

A type of validation that makes sure data has been entered.

32
New cards

Format check

A type of validation that makes sure the data meets a specific order

33
New cards

Check digit

A type of error detection method that is used for data entry. A calculation is performed on the data entered to create a value. Check digit values are compared to see if the data entered is correct.

34
New cards

Verification

Checking that data is entered accurately

35
New cards

Visual check

Comparing the data entered with the original side-by-side.

36
New cards

Double entry check

Two different people enter the same data which are then compared.

37
New cards

Trace table

A structure to complete when walking through an algorithm manually