Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

GATE | Gate IT 2005 | Question 66

  • Last Updated : 28 Jun, 2021

In a data flow diagram, the segment shown below is identified as having transaction flow characteristics, with p2 identified as the transaction centerdd

 

A first level architectural design of this segment will result in a set of process modules with an associated invocation sequence. The most appropriate architecture is

 
(A) p1 invokes p2, p2 invokes either p3, or p4, or p5
(B) p2 invokes p1, and then invokes p3, or p4, or p5
(C) A new module Tc is defined to control the transaction flow. This module Tc first invokes pl and then invokes
(D) A new module Tc is defined to control the transaction flow. This module Tc invokes p2. p2 invokes p1, and then invokes p3, or p4, or p5


Answer: (D)

Explanation:  

N(nodes) = 9

E(edges) = 10

Cyclomatic Complexity = E – N + 2P

= 10 -9 + 2*1

= 3

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!