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

What is the function of dynamic typing?

0 Answers  


What is the difference between an interface and abstract class?

0 Answers  


Why do we separate interface from implementation?

0 Answers  


What is method overriding?

0 Answers  


what is full form OOP?

0 Answers   Wipro,






Explain about the relationship between object oriented programming and databases?

0 Answers  


What are abstract functions? Why are they used?

0 Answers  


What is inheritance in java?

0 Answers  


Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?

0 Answers  


Explain what is object oriented programming language?

0 Answers  


How many methods are there in the externalizable interface?

0 Answers  


How many methods do u implement if implement the serializable interface?

0 Answers  


Categories