Unit 2 What is Testing Flashcards

1
Q

Describe the pros and cons of manual testing

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

Describe the pros and cons of automated testing

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

Identify scenarios where to apply either manual or automated testing

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

What is software verification?

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

What is unit testing?

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

What is the difference between a failure, fault, and error?

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

What is the difference between functional and non-functional testing?

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

The Therac-25 machine was used for radiation therapy in the 1980’s. It had two modes of radiation: low and high. During the accidents, the machine would incorrectly display the machine was set to low power when in fact it was configured for high power. What initiated the deadly chain of events?

A

The technician input commands very quickly

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

Context: What is Software Testing?

An Error is a deviation from the expected behavior

A

False

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

Context: What is Software Testing?

Unit Testing is when the smallest component of a software system is verified to produce the expected behavior.

A

True

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

Context: What is Software Testing?

Given the following scenario, identify if it would best be tested manually or with an automated system.

You want to ensure developers verify their code doesn’t break existing features before adding it to the centralized repository.

Manual or Automated?

A

Automated

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

Context: Unit Testing

Each unittest test case must include at least one ________.

A

Assertion

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

Context: Unit Testing

Identify the 4 elements to a testing framework.

A

Test Suite
Test fixture
Test case
Test runner

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

Context: Software Development Process

What happens in the Requirements phase?

A

Interviews with stakeholders
Craft user stories and use cases

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

Context: Software Development Process

What are the 5 phases of the software development process covered in this course?

A

Requirements
Implementation
Maintenance
Verification
Design

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

Context: Unit Testing

What is the testing framework we use in this course?

A

Unittest

17
Q

Context: What is Software Testing?

Which of the following are reasons testing important?

A

Saves money
Saves time
Life and Death
Happier customers

18
Q

Context: Software Development Process

What happens during the Design phase?

A

Produce the design document
Layout the architecture of the program

19
Q

Context: What is Software Testing?

A Failure occurs because of a “bug” in the code: a fault

A

True

20
Q

Context: What is Software Testing?

Given the following scenario, identify if it would best be tested manually or with an automated system.

You are a game developer and received an angry email from a customer saying they fell through the ground when trying to climb a particular hill.

A

Manual

21
Q

Context: What is Software Testing?

Which of the following are examples of Functional Testing?

A

Regression Testing
Unit Testing

22
Q

Context: What is Software Testing?

A Fault is a mistake

A

False