Testing Flashcards

1
Q

What can testing demonstrate?

A

The presence of errors

Testing cannot demonstrate the absence of errors.

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

What is systematic testing?

A

Testing that is planned and documented.

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

What is comprehensive testing?

A

Testing that covers every aspect of the software.

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

What is a test plan?

A

A set of test data created to systematically and comprehensively test software.

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

When is much of the test plan created?

A

During the design stage of the software development process.

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

What does a test plan include?

A
  • Software specification
  • Schedule for testing
  • Details of what is and is not to be tested
  • Test data and expected results
  • Documentation of the testing process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are syntax errors?

A

Errors spotted by a translator, compiler, or interpreter due to incorrect code structure.

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

What is an execution error?

A

An error that causes the program to stop running (crash).

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

What is a logic (semantic) error?

A

Code that is grammatically correct but does not perform as intended by the programmer.

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

What is debugging?

A

The process of finding and correcting errors in code.

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

What is a dry run?

A

A manual run through pseudocode or the source code of the program.

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

What is a breakpoint?

A

A set point in a program where execution stops to examine variable values.

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

What is a watchpoint?

A

A condition where a program halts when a variable reaches a specific value.

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

Fill in the blank: A _______ is a set of test data to ensure software meets specifications.

A

test plan

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

True or False: A logic error can be identified by a compiler.

A

False

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

What types of test data should a test plan include?

A
  • Normal
  • Extreme
  • Exceptional
17
Q

What happens if errors are discovered during the testing stage?

A

The implementation stage needs to be re-visited to correct them.

18
Q

What is the primary goal of testing?

A

To demonstrate the presence of errors.

19
Q

How can logical errors be found?

A

By running the program and monitoring its operation.