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

Can we override a method by using same method name and arguments but different return types?

0 Answers  


What is Polymorphism?

7 Answers   MindCracker, Protech, TCS,


State some of the advantages of object oriented programming?

0 Answers  


What is the difference between abstract & interface?

0 Answers   MindCracker,


Which oops concept is used as reuse mechanism?

0 Answers  






Can a class implement two interfaces having default method with same name and signature?

0 Answers  


Classes and structs support inheritance. Is this statement true or false?

0 Answers  


Why dynamic loading is used in object-oriented programming?

0 Answers  


What is a constructor in class?

0 Answers  


Explain about inheritance?

0 Answers  


What do you meant by "SBI" of an object?

2 Answers   TCS,


What is static and dynamic Binding?

0 Answers  


Categories