2 votes 2 votes A flow graph $F$ with entry node $(1)$ and exit node $(11)$ is shown below: How many predicate nodes are there and what are their names? Three: $(1,(2,3),6)$ Three: $(1,4,6)$ Four: $((2,3), 6, 10, 11)$ Four: $((2,3), 6, 9, 10)$ Others ugcnetcse-dec2019-paper2 + – soujanyareddy13 asked May 12, 2021 • edited May 25, 2021 by soujanyareddy13 soujanyareddy13 419 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes In the flow graph predicate (decision) node, those nodes that have out-degree are $\geq$ 2. Note: Out degree of vertex = number of outgoing edges. In given flow graph $F$ three predicate node present:$(1,(2,3),6)$ Option $(A)$ is correct. Hira Thakur answered May 16, 2021 Hira Thakur comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Concept Predicate node is a node that contains a condition. This node has 2 or more outgoing edges from it. Explanation In the given graph, the nodes with a condition or with 2 or more outgoing edges are – 1, (2.3), 6. Hence, there are 3 predicate nodes. cbkk answered Sep 15, 2023 cbkk comment Share Follow See all 0 reply Please log in or register to add a comment.