All mock tests are FREE till 31 December — register to save your progress
Unit 6 · Software Engineering Paper 2 CS · December 2019

Directions (Q91–95): A flow graph F with entry node 1 and exit node 11 is shown (figure with Q91). Its nodes are 1, (2,3), (4,5), 6, 7, 8, 9, 10 and 11, with edges 1→(2,3), (2,3)→6, (2,3)→(4,5), 6→7, 6→8, 7→9, 8→9, 9→10, (4,5)→10, 10→1 and 1→11.

How many nodes are there in the longest independent path?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. 8

Explanation

The longest basis path, 1 → (2,3) → 6 → 7 → 9 → 10 → 1 → 11, has 8 nodes.

More Software Engineering questions