edited by
4,664 views
19 votes
19 votes

In a data flow diagram, the segment shown below is identified as having transaction flow characteristics, with $p_2$ identified as the transaction center

GATE2005-IT_66

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

  1. $p_1$ invokes $p_2, p_2$ invokes either $p_3,$ or $p_4,$ or $p_5$
  2. $p_2$ invokes $p_1,$ and then invokes $p_3,$ or $p_4,$ or $p_5$
  3. A new module $T_c$ is defined to control the transaction flow. This module $T_c$ first invokes $p_1$ and then invokes $p_2.$ $p_2$ in turn invokes $p_3,$ or $p_4,$ or $p_5$

  4. A new module $T_c$ is defined to control the transaction flow. This module $T_c$ invokes $p_2.$ $p_2$ invokes $p_1,$ and then invokes $p_3,$ or $p_4,$ or $p_5$

edited by

2 Answers

15 votes
15 votes

Answer: C

A new module Tis defined to invoke p1 as p1 isn't being invoked in the diagram. Later, p1 invokes p2 which then invokes p3, p4 or p5.

0 votes
0 votes
Answer (A) p1 invokes p2, p2 invokes either p3, or p4, or p5.

Answer is not C because C says A new module Tc is defined to control the transaction flow. This module Tc first invokes p1 and then invokes p2.But we can clearly see in the flow diagram p2 is clearly getting invoked by p1 and not by Tc.
Answer:

Related questions

4 votes
4 votes
2 answers
1
Ishrat Jahan asked Nov 3, 2014
2,849 views
Tb carry out white box testing of a program, its flow chart representation is obtained as shown in the figure below:For basis path based testing of this program, its cycl...