Software Quality Engineering

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:45 AM on 10/6/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

42 Terms

1
New cards

Verification asks what question? | A) Are we building the right product? | B) Are we building the product right? | C) Did users approve it? | D) Can it be automated?

B) Are we building the product right? | Explanation: Verification checks work products against phase specifications.

2
New cards

Validation asks what question? | A) Are we building the product right? | B) Are all branches covered? | C) Are we building the right product? | D) Is the test suite complete?

C) Are we building the right product? | Explanation: Validation checks requirements and intended use.

3
New cards

What is a failure? | A) A human mistake | B) Inability to perform a required function | C) A test criterion | D) A review

B) Inability to perform a required function | Explanation: A failure is the externally observable inability to perform a required function.

4
New cards

Which is a testing principle? | A) Exhaustive testing is always possible | B) Testing is risk-based | C) Automation replaces testers | D) More tests are always better

B) Testing is risk-based | Explanation: Testing prioritizes risk because complete testing is impossible.

5
New cards

What is the first stage of the test process? | A) Closure | B) Planning and control | C) Execution | D) Exit evaluation

B) Planning and control | Explanation: Planning defines objectives, scope, risks, resources, and exit criteria.

6
New cards

What is the purpose of unit testing? | A) Evaluate the whole system | B) Validate one component independently | C) Test only installation | D) Test only acceptance

B) Validate one component independently | Explanation: Unit testing focuses on one component.

7
New cards

What is the focus of integration testing? | A) Individual statements | B) Interfaces and interactions between components | C) Only security | D) Only documentation

B) Interfaces and interactions between components | Explanation: Integration testing checks components working together.

8
New cards

Which activity compares actual and expected results? | A) Execution | B) Closure | C) Component selection | D) Requirements analysis

A) Execution | Explanation: Test execution records outcomes and comparisons.

9
New cards

What is confirmation testing? | A) Rerunning a failed test after a fix | B) Testing all possible inputs | C) Testing only new features | D) Reviewing a test plan

A) Rerunning a failed test after a fix | Explanation: It verifies that a particular correction worked.

10
New cards

What is regression testing? | A) Testing existing behavior after a change | B) Testing only invalid input | C) Testing grammar | D) Counting predicates

A) Testing existing behavior after a change | Explanation: It detects unintended side effects.

11
New cards

What is a software component? | A) A comment | B) An independently deliverable unit exposed through interfaces | C) A test report | D) A schedule

B) An independently deliverable unit exposed through interfaces | Explanation: Components provide reusable functionality through interfaces.

12
New cards

What is a component model? | A) Rules for constructing, packaging, deploying, and composing components | B) A list of defects | C) A test case | D) A user password policy

A) Rules for constructing, packaging, deploying, and composing components | Explanation: It is the backbone of component-based software.

13
New cards

What is vendor-oriented component testing? | A) Vendor testing against specifications | B) User testing only after release | C) Testing without requirements | D) Testing only documentation

A) Vendor testing against specifications | Explanation: Vendors test functions, behavior, performance, packaging, and deployment.

14
New cards

Why must users test reused components? | A) Reuse eliminates interfaces | B) The new context can change behavior | C) Vendors cannot test anything | D) Users always have source code

B) The new context can change behavior | Explanation: Environment, configuration, use, and integration can differ.

15
New cards

What is the interaction model? | A) How components interact through interfaces and events | B) Only source formatting | C) Only the schedule | D) Only variables

A) How components interact through interfaces and events | Explanation: It represents interfaces, events, control, and data interactions.

16
New cards

What is black-box testing based on? | A) Source code | B) Requirements and external behavior | C) Compiler warnings | D) Internal variables

B) Requirements and external behavior | Explanation: Black-box testing is specification-based.

17
New cards

Which method divides inputs into valid and invalid classes? | A) Equivalence partitioning | B) Basis path | C) State testing | D) Syntax testing

A) Equivalence partitioning | Explanation: EP selects representative values from equivalence classes.

18
New cards

What is EP coverage? | A) One test per equivalence class | B) Every source line | C) Every state transition | D) Every possible path

A) One test per equivalence class | Explanation: Each valid and invalid class should be represented.

19
New cards

For balances 0 through 100, which is invalid? | A) 50 | B) 0 | C) 100 | D) -1

D) -1 | Explanation: Values below zero are invalid.

20
New cards

What is boundary value analysis designed to test? | A) Limits and near-limit values | B) Only random values | C) Only source nodes | D) Only users

A) Limits and near-limit values | Explanation: BVA targets values at, just inside, and just outside boundaries.

21
New cards

For a 1 through 30 character field, which is just above the upper limit? | A) 0 | B) 1 | C) 30 | D) 31

D) 31 | Explanation: 31 is just outside the upper boundary.

22
New cards

What does decision table testing address? | A) Combinations of conditions and actions | B) Only loops | C) Only syntax | D) Only deployment

A) Combinations of conditions and actions | Explanation: Decision tables represent business rules.

23
New cards

How many raw rules are there for four binary conditions? | A) 4 | B) 8 | C) 16 | D) 32

C) 16 | Explanation: 2^4 = 16.

24
New cards

What should happen to impossible decision rules? | A) Treat them as valid | B) Remove or mark them impossible | C) Convert them to code | D) Ignore all conditions

B) Remove or mark them impossible | Explanation: Impossible combinations should not become normal test cases.

25
New cards

What does category partitioning identify? | A) Parameters, environments, categories, and choices | B) Only predicates | C) Only boundaries | D) Only source files

A) Parameters, environments, categories, and choices | Explanation: It systematically decomposes the specification.

26
New cards

What does scenario testing model? | A) Realistic user workflows | B) Only internal branches | C) Only numeric limits | D) Only version control

A) Realistic user workflows | Explanation: Scenarios are end-to-end usage stories.

27
New cards

What is white-box testing based on? | A) Requirements only | B) Source structure, control flow, data, and logic | C) User interviews only | D) Deployment documents only

B) Source structure, control flow, data, and logic | Explanation: White-box testing is program-based.

28
New cards

Who commonly performs white-box testing? | A) Developers | B) Only users | C) Only customers | D) Only managers

A) Developers | Explanation: Developers use source code and code coverage.

29
New cards

Which formula computes cyclomatic complexity? | A) E + N + 2 | B) E - N + 2 | C) N - E + 2 | D) P - 1

B) E - N + 2 | Explanation: V(G) = E - N + 2.

30
New cards

If P = 3, what is V(G)? | A) 2 | B) 3 | C) 4 | D) 6

C) 4 | Explanation: V(G) = P + 1 = 4.

31
New cards

What is the purpose of basis-path testing? | A) Exercise independent paths | B) Test every possible path | C) Test only invalid inputs | D) Replace requirements

A) Exercise independent paths | Explanation: Basis paths provide structured path coverage.

32
New cards

What must a new independent path add? | A) A new node or edge | B) A new tester | C) A new language | D) A new requirement

A) A new node or edge | Explanation: It must contribute new graph coverage.

33
New cards

What does branch testing require? | A) Both outcomes of each decision | B) Only true outcomes | C) Only statements | D) Every input

A) Both outcomes of each decision | Explanation: Branch coverage exercises each branch.

34
New cards

What can branch testing miss? | A) Simple-condition combinations in compound logic | B) The flow graph | C) All requirements | D) All test data

A) Simple-condition combinations in compound logic | Explanation: A compound condition can hide internal logic faults.

35
New cards

What does condition testing focus on? | A) Simple conditions inside compound expressions | B) Only deployment | C) Only closure | D) Only valid classes

A) Simple conditions inside compound expressions | Explanation: It examines Boolean variables, operators, and combinations.

36
New cards

Which loop case tests skipping the loop? | A) Zero iterations | B) One iteration | C) n iterations | D) n+1 iterations

A) Zero iterations | Explanation: Zero iterations exercises the loop-false path.

37
New cards

What is a def-clear path? | A) Definition to use with no redefinition | B) A path with no branches | C) A path with no nodes | D) Every state path

A) Definition to use with no redefinition | Explanation: Data-flow testing follows a definition to a use.

38
New cards

What does state testing use? | A) A finite-state machine | B) Only an EP table | C) Only a decision table | D) Only a test plan

A) A finite-state machine | Explanation: It tests states, transitions, inputs, and outputs.

39
New cards

Which is a state-machine defect? | A) Unreachable state | B) Valid boundary | C) Expected result | D) Test oracle

A) Unreachable state | Explanation: Unreachable and deadlock states are common defects.

40
New cards

What does syntax testing use? | A) A grammar or BNF graph | B) Only a state count | C) Only a database | D) Only a test plan

A) A grammar or BNF graph | Explanation: It generates valid and invalid command forms.

41
New cards

What is the main black-box versus white-box distinction? | A) Black box uses requirements; white box uses source structure | B) Black box uses source; white box uses requirements | C) Both use only users | D) Neither uses coverage

A) Black box uses requirements; white box uses source structure | Explanation: Their test bases are different.

42
New cards

What is an exit criterion? | A) A planned condition for deciding whether testing can stop | B) Proof of zero defects | C) A branch type | D) A component interface

A) A planned condition for deciding whether testing can stop | Explanation: Exit criteria use evidence such as coverage, defect rates, pass rates, schedule, and risk.