Testing Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is Normal Test Data

A

Puting in Inputs that the program would usually get

1-100

Example: 56,24,87,5

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

What is Extreme Test Data

A

Putting in Inputs which cant go any higher or lower then the programs max or min input

1-100

Example:1,100

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

What is Exceptional Test Data

A

Making sure the program can handle situations that it has not been designed to cope with

1-100

Examples:Z, %, 200, !, @

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

What are the Three types of Errors

A

Syntax Error
Logic Error
Execution Error

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

What is Syntax Error

A

This occurs when the rules of the program code have been broken.

Example: Missing a Braket or Colon

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

What is an execution error

A

An execution error occurs when a program is asked to do something that it cannot, resulting in a ‘crash’

Example: When asked to divide by 0

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

What is Logic Error

A

When the program will execute the code without crashing but will produce unexpected results.

Example : Using > instead of < or using AND instead of OR

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

What are the two Testing Techniques

A

Dry Runs
Trace Tables

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

What is a Dry run

A

When a programmer manually working through their code to trace the value of variables. Using pen and paper

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

What is a Trace Table

A

Trace tables are used to allow programmers to trace the value of variables as each line of code is executed.

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

What is a BreakPoint

A

Setting a chosen line for the program to stop execution so the values on during the line can be examined

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

What is a WatchPoint

A

The Program will stop at a line where a variable would be a specific value

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