in IS&Software Engineering edited by
4,623 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$

in IS&Software Engineering edited by
4.6k views

4 Comments

which concept of transaction is using here?
5
5

@Bikram

sir please help confused between a and c

And do these questions are still in gate syllabus?

0
0
why a new module is defined here to control the transaction needed??

why not A??
1
1

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.

4 Comments

If p1 can't alone invoke p2, why is there an arrow from p1 to p2? Option C says that Tc invokes p1 and then p2. Then the arrow from p1 to p2 is redundant. If Option C were "A new module Tc is defined to control the transaction flow. This module Tc first invokes pl. p1 then invokes p2. p2 in turn invokes p3, or p4, or p5", then its description would match the flow diagram and would be correct. As of now, I think option A is the stronger answer.
0
0
This is from Software Engineering and no longer needed for GATE -- but required for NET, ISRO etc.
11
11

`@Arjun sir under which module of software engineering does this topic comes in ???

0
0
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.
by
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true