ISTQB - Chapter 1 Flashcards

1
Q

This is a list of what?

  • To prevent defects
  • To find defects and failures
  • To verify specified requirements
  • To check that the test object is complete and works as expected
  • To build confidence in its quality
  • To provide information to stakeholders
  • To comply with contractual, legal, or regulatory requirements
A

The typical objectives of testing

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

What is the difference between testing and debugging?

A

Testing shows failures that are caused by defects in the software
Debugging is the development activity that finds, analyzes, and fixes defects

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

What is dynamic testing?

A

Testing that involves the execution of the component or system being tested

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

What is static testing?

A

Testing that does not involve the execution of the component or system being tested

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

What is the difference between verification and validation?

A

Verification involves specified requirements (is it build according to specification?)
Validation involves intended use (is it fit for purpose?)

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

Why is testing necessary?

A

It reduces the likelihood of delivering a system that causes failures or does not meet the stakeholders’ needs.

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

Explain the relationship between the terms defect, error, and failure

A

Person makes an error –> which leads to a defect (fault or bug) –> defect in code can cause failure

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

Are failures always caused by defects in the code?

A

No, they can also be caused by environmental conditions such as radiation, pollution, and incorrect hardware.

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

What is the aim of root cause analysis?

A

Root cause analysis (figuring out the root cause of a defect) aims to prevent future defects through process improvements.

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

What might you receive when a product is shipped with defects present?

A

Customer complaints

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

What is the difference between quality assurance and testing?

A

Both are part of quality management:
- Quality assurance ensures that employees follow the company’s standard ways of performing tasks correctly
- Testing examines the quality of work products rather than processes, which makes it part of quality control

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

How does quality assurance support testing?

A

Quality assurance is about the proper execution of the entire software development process, which includes testing.

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

Briefly explain the principle that “Testing shows the presence of defects, not their absence”

A

Testing is not a proof of correctness: it can’t prove that there are no defects left undiscovered, only reduce the likelihood of it

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

Briefly explain the principle that “Exhaustive testing is impossible”

A

Testing every combination of inputs and preconditions is not possible, instead we should focus test efforts using risk analysis, test techniques, and priorities

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

What is another term for “Early testing” and why is it important?

A

Shift left: Early testing which saves time and money

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

Briefly explain the principle that “Defects cluster together”

A

A small number of modules usually contains most of the defects discovered during pre-release testing

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

Briefly explain the principle that “Beware of the pesticide paradox”

A

If the same tests are repeated over and over again, eventually these tests no longer find any new defects. Tests may need to be changed or new ones written.

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

Briefly explain the principle that “Testing is context dependent”

A

Testing needs to be done differently for e.g. safety-critical software vs an e-commerce mobile app, an Agile project vs a sequential lifecycle project

19
Q

Briefly explain the principle that “Absence-of-errors is a fallacy”

A

Finding an fixing many defects won’t ensure the success of a system (it could still be difficult to use, fail to fulfil the users’ needs and expectations, or be inferior to a competing system)

20
Q

List, in order, the seven main groups of activities that make up a test process

A
  • Test planning
  • Test monitoring and control
  • Test analysis
  • Test design
  • Test implementation
  • Test execution
  • Test completion
21
Q

What are these an example of?

  • Software development lifecycle model
  • Test levels and test types
  • Product and project risks
  • Business domain
  • Operational constraints (budget, resources, time, complexity)
  • Organizational policies and practices
  • Required internal and external standards
A

Contextual factors that may influence the test process

22
Q

What does test planning involve?

A

Defining the objectives of testing and the approach for meeting those objectives

23
Q

What does test monitoring involve?

A

It’s the ongoing comparison of actual progress against planned progress (often using metrics)

24
Q

What does test control involve?

A

Taking actions necessary to meet the objectives of the test plan when progress deviates from the plan

25
Q

What does test analysis involve?

A

Analyzing the test basis to identify testable features and define associated (prioritized) test conditions. It determines “what to test” in a measurable way.

26
Q

What kinds of defects might test analysis find in the test basis?

A
  • Ambiguities
  • Omissions
  • Inconsistencies
  • Inaccuracies
  • Contradictions
  • Superfluous statements
27
Q

What does test design involve?

A

Elaborating the test conditions into prioritized high-level test cases. Determines “how to test.”

28
Q

What additional activities are necessary during test design?

A

Identifying necessary test data, required infrastructure and tools, and designing the test environment

29
Q

What does test implementation involve?

A

Sequencing the test cases into test procedures and finishes creating the necessary testware. “Do we now have everything in place to run the tests?”

30
Q

What does test execution involve?

A

Running test procedures or test suites (sets of test cases) in accordance with the test execution schedule

31
Q

List the seven typical steps involved in test execution.

A
  • Recording the IDs and versions of the test object and testware
  • Executing tests manually or using tools
  • Comparing actual and expected results
  • Analyzing anomalies to establish likely causes
  • Reporting defects
  • Logging the outcome (pass, fail, blocked)
  • Repeating test activities as necessary
32
Q

What does test completion involve?

A

Collecting data from completed test activities to consolidate experience, testware, and other relevant information.

33
Q

Provide examples of test planning work products

A

Test plans

34
Q

Provide examples of test monitoring and control work products

A

Test reports, e.g. progress & summary reports

35
Q

Provide examples of test analysis work products

A

Defined and prioritized test conditions

36
Q

Provide examples of test design work products

A

Test cases

37
Q

Provide examples of test implementation work products

A

Test procedures, test suites, test execution schedules

38
Q

Provide examples of test execution work products

A

Case statuses, defect reports

39
Q

Provide examples of test completion work products

A

Test summary reports, action items for improvement of subsequent projects or iterations, change requests or product backlog items, and finalized testware

40
Q

What provides the following benefits?

  • Evaluating test coverage
  • Analyzing the impact of changes
  • Making testing auditable
  • Improving the understandability of test reports
  • Making technical aspects of testing understandable to stakeholders
  • Assessing quality and progress against business goals
A

Traceability between the test basis and the work products

41
Q

The following is a list of what?
- Collaboration
- Emphasizing the benefits of testing
- Neutral, fact-focused communication
- Trying to understand how the other person feels
- Confirming that the other person has understood what has been said and vice versa

A

Strategies to mitigate the perception of testing as a destructive activity

42
Q

What is it called when a defect is reported but no defect exists in the test object?

A

A false positive

43
Q

What is it called when a test fails to identify a defect that is present in the test object?

A

A false negative