nerdexam
iSQI

CTAL-TTA_001 · Question #33

For the control flow, what is the correct labelling? 1 credit [K2] i ii iii

The correct answer is A. NodesLinkRegion. Option A (Nodes → Link → Region) follows the conventional hierarchical order of control flow graph components: Nodes are the fundamental building blocks (statements or decision points), Links are the directed edges connecting them, and Regions are the enclosed areas formed by…

Structure-Based Testing

Question

For the control flow, what is the correct labelling? 1 credit [K2] i ii iii

Options

  • ANodesLinkRegion
  • BNodesRegionLink
  • CRegionLinkNodes
  • DRegionNodesLink

How the community answered

(27 responses)
  • A
    93% (25)
  • B
    4% (1)
  • C
    4% (1)

Explanation

Option A (Nodes → Link → Region) follows the conventional hierarchical order of control flow graph components: Nodes are the fundamental building blocks (statements or decision points), Links are the directed edges connecting them, and Regions are the enclosed areas formed by those connections - so the labelling matches the natural structural dependency (you need nodes before you can have links, and links before you can define regions).

Why distractors fail:

  • B (Nodes, Region, Link) skips Links before Regions, but regions cannot be defined without links first enclosing them.
  • C (Region, Link, Nodes) inverts the entire hierarchy - you cannot have regions or links without nodes existing first.
  • D (Region, Nodes, Link) similarly places Regions first, which is structurally impossible since regions emerge from node-link structures.

Memory tip: Think "No Lazy Resting" - Nodes, Links, Regions - each layer depends on the one before it, just like building a house: frame (nodes) → walls (links) → rooms (regions).

Topics

#control flow graph#nodes#links#regions

Community Discussion

No community discussion yet for this question.

Full CTAL-TTA_001 Practice