Algorithm design Flashcards

1
Q

validation

A

to test whether data entered is reasonable/ sensible

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

7 types of validation

A
Range check
Type check
Length check
Presence Check
Character check
Format check
Look up check
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

length check

A

To make sure the data entered is within a certain number of characters

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

Format check

A

To make sure an appropriate format of letters and numbers have been used

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

Type check

A

To check the correct type of data has been entered

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

Lookup check

A

To check the validity of data by reference to table or file

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

Presence check

A

To check that some data has been entered(not left blank)

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

Character Check

A

Checks that the input contains (or does not contain) specific characters

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

Verification

A

To check that the data input is the same as the original source

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

Double entry

A

Data is entered twice

Compares both data entries to check if they are the same

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

Visual Check

A

Data is entered once and then visually compared against the original

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

Test data

A

Normal
Abnormal
Extreme
Boundary

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

Normal test data

A

Should be accepted(valid) and has known outcomes

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

Abnormal/Erroneous test data

A

Data should be rejected(invalid) and produce error messages

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

Extreme test data

A

Largest and smallest values that should be accepted(normal data can take)

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

Boundary test data

A

Used to establish where the smallest and largest values occur
At each boundary 2 values are required: one valid and one invalid

17
Q

Algorithm

A

A set of step-by-step instructions to solve a problem or complete a task
Independent of any programming language

18
Q

Flowchart symbols

A
terminator- long circle
process- square
input and output - parallelogram
decision - diamond
continuation - circle