Unit 1: Introduction Flashcards

1
Q

True or False? Verification focuses on if the requirements are meeting customer needs and are what the customer wants.

False
True

A

False

Verification looks at building the product right given the assumption that the requirements are correct. Validation looks at building the right product to bring value and meet the customer’s requirements.

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

A team of testers are testing software against a given set of requirements. The requirements have already approved by the customer. Is the testing team performing verification or validation of the software, or neither?

Neither
Validation
Verification

A

Verification

Verification looks at building the product right given the assumption that the requirements are correct. Validation looks at building the right product to bring value and meet the customer’s requirements.

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

How often does testing happen in agile development?

Weekly
At least daily
Monthly
At the end of the project

A

At least daily

Agile testing follows the theme of continuous integration where code is integrated and tested at least daily.

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

What is the correct phase order in test driven development?

Green, Refactor, Red
Red, Green, Refactor
Green, Red, Refactor
Red, Refactor, Green

A

Red, Green, Refactor
The red phase is where a small test is written that defines the behavior needed from the code. Then, in the green phase, code is written to ensure the failing test from the previous phase passes. In the refactor phase, the quality of code is improved while all tests are still passing.

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

What is the objective of system testing?
To test only nonfunctional requirements
To test only functional requirements
To test whether the customer accepts the software
To test both functional and nonfunctional requirements

A

To test both functional and nonfunctional requirements

System testing is when other components, such as hardware and software integration testing (functional requirements) and aspects such as stress, usability, and performance testing (nonfunctional requirements) are tested.

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

Question 4
What is the objective of unit level testing?

To verify that an individual developer’s unit is tested properly
To validate that an individual developer’s unit is tested properly
To test whether units of software can work together to perform high level functions and features
To test both functional and nonfunctional requirements

A

To verify that an individual developer’s unit is tested properly

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

Which group of people should perform system testing?

An independent test team

Developers

A combination of developers and testers

An integration team

A

An independent test team

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

What is(are) the primary objective(s) of system testing?

To find important problems and predict reliability
To find a required number of problems
To predict reliability
To perform an exhaustive search for all the problems

A

To find important problems and predict reliability

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

When is a reasonable time to stop testing?

Once it is demonstrated that the important requirements are met
No testing of requirements is needed.
Once it is demonstrated that at least one requirement is met
Once we have met our test objectives.

A

Once we have met our test objectives.

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

Why do defects cluster?
Because there are no changes happening to the codebase
Defects are actually distributed evenly across every thousand lines of code.
Because a developer intentionally includes them to be found by testers
Because of the complexity of code, programmer skill, etc.

A

Because of the complexity of code, programmer skill, etc.

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

True or False? Reliability is the probability that a software program operates for some given time period without software error.

A

True

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

True or False? Testing is the examination of the behavior of the program by executing it on all of the possible data sets.

A

False

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

True or False? Model based testing requires modeling the behavior of the system.

A

True

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

True or False? Certified software testers should ensure that the deliverables they provide meet the highest professional standards possible.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
In test driven development, what is the equivalent of gathering requirements during the software development process?
Gathering tester's input
Gathering test objectives
Gathering possible test designs
Gathering sample test cases
A

Gathering test objectives

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

True or False? The objective of integration testing is to test units and components as a group to determine if they can perform higher level functions and features.

A

True

17
Q

True or False? Acceptance testing is typically done by the customer themselves

A

True

18
Q

True or False? Functional testing looks at performance requirements, usability, etc.

A

False

19
Q

Testing only shows the:
Presence of defects
Correctness
Presence of defects and correctness

A

Presence of defects

20
Q

True or False? Does an absence of errors in a program show that the right product was built?

A

False