Fundamentals of Testing Flashcards

(29 cards)

1
Q

What is Testing

A

It is a set of activities to discover defects and evaluate the quality of software artifacts,

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

What is the primary objective of testing?

A

To detect faults or defects in the software to ensure it functions correctly.

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

What does “Validation” mean in software testing?

A

Validation checks if the software meets the user’s actual needs – “Are we building the right product?”

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

What does the “Verification” mean int software testing?

A

Verification ensures the product is built correctly according to specifications- “Are we building the product right?”

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

How is testing different from debugging?

A

Testing finds the defects, while debugging identifies the cause and fixes them.

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

Who typically performs testing and who performs debugging?

A

Testing -> Testers
Debugging -> Developers

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

Why is software testing necessary?

A

Because software is likely to have faults due to human error, tight deadlines, and incorrect assumptions

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

What are the 3 main terms associated with software faults?

A

Error : Human mistake
Fault (Defect/Bug) : Incorrect code caused by an error
Failure : When a fault causes incorrect software behavior

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

What is the difference between Quality Assurance (QA) and Quality Control (QC) ?

A

QA : process-oriented and aims to prevent defects
QC : product-oriented and aims to detect defects through testing.

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

What are the key goals of software testing?
How does testing contributes to a software product success?

A
  • Improve reliability
  • Ensure user satisfaction
  • Prevent costly failures
  • Meet requirements and standards
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What’s the difference between traditional and modern views of testing?

A

Traditional : Prove the system works
Modern : Try to break the system to find and fix faults.

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

What is a software defect?

A

A flaw in the system caused by an error.

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

What is a root cause analysis in software testing?

A

A technique used to identify the fundamental origin of a defect to prevent recurrence in future development.

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

What’s “Testing shows presence of defects” mean?

A

testing reveal bugs but the system is not completely error-free

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

Why is exhaustive testing impossible?

A

testing all inputs is impractical. Testers must use risk-based and prioritized testing.

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

Why should testing start early in the software development lifecycle?

A

helps detect defects in requirements or design, reducing costs and efforts to fix later.

17
Q

What is defect clustering in software testing?

A

most defects are typically found in a small number of modules. Focusing testing on high-risk areas increases efficiency.

18
Q

What is the Pesticide Paradox in testing?

A

Running the same tests repeatedly to find new bugs.

19
Q

What does “Testing is context dependent” mean?

A

testing methods should be tailored to its specific type and purpose.

20
Q

What is the Absence-of-Errors Fallacy?

A

software that doesn’t meet user needs is useless.

21
Q

What are the main test activities in software testing?

A
  1. Test Planning
  2. Test Monitoring & Control
  3. Test Analysis
  4. Test Design
  5. Test Implementation
  6. Test Execution
  7. Test Completion
22
Q

What does the test process in context depend on?

A

SDLC Model, product characteristics, domain, compliance, and company processes.

23
Q

What is testware?

A

All artifacts created during testing, like test cases, data, scripts, and tools.

24
Q

Why is version control important for testware?

A

To manage changes, ensure consistency, and support reuse.

25
What is traceability in testing?
the ability to link test cases to their sources (requirements/design) and outcomes
26
What are the benefits of bidirectional traceability?
Ensures full coverage, supports change impact analysis, and track progress.
27
What are essential skills for a tester?
Analytical thinking, communication, attention to detail, time management, and technical knowledge
28
What is the "Whole Team Approach" in testing?
It means everyone shares responsibility for quality.
29
What does "independence of testing" mean?
Testing done by someone not involved in coding to avoid bias.