Testing Flashcards

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

2 types of programming errors

A

Syntax
Logic

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

Syntax Error

A

When there is a grammar issue in the code which the compiler cannot understand

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

Logic Error

A

When the compiler can run the program but the output is unexpected

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

How are syntax errors diagnosed?

A

By the compiler

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

2 types of testing

A

Iterative testing
Final (terminal) testing

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

Iterative Testing

A

Program is tested during the development process

Often the programmer tests a module, fixes errors, and moves on to the next module

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

Final (terminal) Testing

A

Program is tested at the end of the development process

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

What is iterative testing used for?

A

To find + fix small errors, to help prevent formation of larger errors

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

What is final testing used for?

A

to make sure modules work together

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

Test Plan

A

Outlines exactly what and how you are going to test something

Should cover all possible paths through a program

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

What makes a good test plan?

A

Anticipates all potential issues of a program and selects appropriate data to test for this

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

Types of test data

A

Normal Data
Boundary Data
Invalid Data
Erroneous Data

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

Normal Data

A

things that user is likely to put in

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

Boundary Data

A

values at the limit of accepted values

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

Invalid Data

A

inputs with correct data type but should be rejected by program

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

Erroneous Data

A

inputs with incorrect data type and should be rejected by the program