programming stuff Flashcards

1
Q

range check

A

checking if the data entered is within the allowed range

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

type check

A

checking that data is of the right type, such as integer, letter or text

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

length check

A

Text entered is not too long or too short – for example, a password is between 8 and 15 characters

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

prescence check

A

Checks that data has been entered, i.e. the field has not been left blank

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

format check

A

Checks that the format of, for example, a postcode or email address is correct

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

validation vs verification

A

Validation can only check that the data entered is reasonable
Verification is used to double-check that the data has been typed in correctly

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

normal data

A

Typical data that a program expects

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

Erroneous data

A

The data that is Not accepted by the problem

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

Boundary data

A

The data that is on the border of being allowed and not allowed by program

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

Extreme data

A

Data that is invalid and not allowed 

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

What is the difference between erroneous data and extreme data?

A

There is no difference

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

Boundary erroneous data

A

Data on the border which is not allowed

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

valid data

A

data in the range accepted by the program

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

invalid data

A

data not in the range accepted by the program

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

boundary valid data

A

data which is on the edge of the range, but is accepted by the program

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

three advantages of subroutines (3)

A
  • code can be developed in isolation
  • easier to program with a team
  • easier to find and fix mistakes
  • easier to reuse code
  • code is easier to understand