nerdexam
iSQI

CTAL-TTA_001 · Question #40

Based on the state diagram above, how many invalid test cases could be identified in a state table? 2 credits [K3]

The correct answer is A. 10. Option A (10) is correct because, in a state table, the total number of entries equals the number of states multiplied by the number of events/inputs. Subtracting the valid (defined) transitions from that total gives the invalid ones - and for the referenced diagram, that…

Analytical Techniques

Question

Based on the state diagram above, how many invalid test cases could be identified in a state table? 2 credits [K3]

Options

  • A10
  • B12
  • C14
  • D15

How the community answered

(47 responses)
  • A
    81% (38)
  • B
    4% (2)
  • C
    4% (2)
  • D
    11% (5)

Explanation

Option A (10) is correct because, in a state table, the total number of entries equals the number of states multiplied by the number of events/inputs. Subtracting the valid (defined) transitions from that total gives the invalid ones - and for the referenced diagram, that calculation yields exactly 10.

Why the distractors are wrong:

  • B (12) typically results from miscounting the number of states or events, inflating the total cell count before subtracting valid transitions.
  • C (14) often comes from only subtracting a subset of valid transitions, missing some that are implied or self-referencing.
  • D (15) is the total number of state-event combinations minus only one valid transition - a sign of forgetting to account for all defined paths in the diagram.

Memory tip: Think of the state table as a grid - States × Events = Total cells. Valid transitions fill some cells; every empty/undefined cell is an invalid test case. Always count the full grid first, then subtract what's defined.

Topics

#state transition testing#state table#invalid test cases#test design

Community Discussion

No community discussion yet for this question.

Full CTAL-TTA_001 Practice