What is guard condition?

Answers were Sorted based on User's Feedback



What is guard condition?..

Answer / debalina

In Unified Modeling Language (UML) sequence diagrams, a
guard condition, also called as an interaction constraint,
is a Boolean conditional expression that guards an
interaction operand in a combined fragment. A guard
condition contains two expressions that designate the
minimum and maximum number of times that a loop combined
fragment executes.

Is This Answer Correct ?    29 Yes 5 No

What is guard condition?..

Answer / ranjith

A condition that determines whether a certain transition
will occur in a state diagram when an event happens
A guard condition is evaluated only when the associated
event happens.

Is This Answer Correct ?    22 Yes 2 No

What is guard condition?..

Answer / shaifali

A condition that determines whether a certain transition will occur in a state diagram when an event happens....

Is This Answer Correct ?    8 Yes 1 No

What is guard condition?..

Answer / tilak chandan

A guard condition appears at the start of the interaction
and contains all the information that is required to make
the decision about whether to execute the traces in the
interaction operand. If the guard condition tests true, the
traces execute. Because a guard condition is optional, the
interaction also executes if no guard condition is specified
in the interaction operand

Is This Answer Correct ?    6 Yes 1 No

What is guard condition?..

Answer / sourya

A guard condition is evaluated only when the associated event happens.

Is This Answer Correct ?    1 Yes 1 No

What is guard condition?..

Answer / aktarul ahsan

Guard condition is a boolean expression associated with a transition that is evaluated at the time the event fires The transition only takes place if the condition is true.

Is This Answer Correct ?    0 Yes 0 No

What is guard condition?..

Answer / chhewang tamang

A CONDITION THAT MUST BE SATISFIED IN ORDER TO ENABLE AN ASSOCIATED TRANSITION TO FIRE.

Is This Answer Correct ?    4 Yes 9 No

What is guard condition?..

Answer / p.anbil prabu

One who plays different roles
One who is interacting with the system

Is This Answer Correct ?    4 Yes 20 No

Post New Answer

More OOAD Interview Questions

Differentiate between overloading and overriding.

0 Answers  


What is guard condition?

8 Answers   Mannar Company, Syntel,


What is an USECASE? Why it is needed?

8 Answers  


Explain about instance in object oriented programming?

0 Answers  


What is Polymorphism, overloading, overriding and virtual?

0 Answers   MindCracker,






What are the four phases of the Unified Process ?

8 Answers   Protech, Student,


What is Object Constraint Language (OCL)?

1 Answers   Protech,


What is a nested interface?

0 Answers  


Suppose a class acts an Actor in the problem domain, how to represent it in the static model?

2 Answers  


Can you call the base class method without creating an instance?

0 Answers  


Differentiate between Aggregation and containment?

3 Answers  


Comment: C++ "includes" behavior and java "imports"

1 Answers   Protech,


Categories