Unit 7.6-7.8; testing, error checking & problem solving Flashcards

(6 cards)

1
Q

Normal data

A

Data that falls within an allowed range and data type.

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

Boundary data

A

Data that exists at the upper and lower limit of the normal accepted range (accepted boundary data) or data is just outside the range (rejected boundary range)

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

Extreme data

A

Data that exists at the upper and lower acceptable limits of the prerequisite condition of the type and range of data. Same as accept boundary data.

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

Abnormal/erroneous data

A

Any data that should be rejected because it does not meet/fit the test criteria (e.g. outside range, not expected data type)

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

General things to look out for when identifying errors in algorithms

A
  1. Will your loop condition always be True/False (variable doesn’t change)
  2. Do all variables have an initial value defined?
  3. Arithmetic processes use correct operators?
  4. Logical/Boolean operators are correct
  5. Are conditions in correct order?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

4 different flow chart symbols + meanings + pseudo code equivalent

A
  1. Rectangle = variable assignment/simple processes
  2. Parallelogram = input/output/ Pseudo code: input/output commands or DECLARE
  3. Rhombus = decisions. Pseudo code: if else statements
  4. Rectange with 2 lines on either ends - subroutine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly