Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

OMG Exam OMG-OCUP2-FOUND100 Topic 8 Question 22 Discussion

Actual exam question for OMG's OMG-OCUP2-FOUND100 exam
Question #: 22
Topic #: 8
[All OMG-OCUP2-FOUND100 Questions]

Choose the correct answer:

Consider the following invalid state machine fragment:

Why is the diagram invalid?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Xochitl
9 days ago
Ah, the joys of state machine diagrams! This one's a real head-scratcher. I'm going to have to go with C on this one - a trigger is not allowed on the transition to the final state. After all, who needs triggers when you can just teleport straight to the end?
upvoted 0 times
...
Page
10 days ago
This question is a real state machine brain-teaser! I'm going to have to say that the answer is A. A transition requires a trigger or guard, and this one has neither. Time to brush up on my UML knowledge!
upvoted 0 times
...
Elroy
12 days ago
I'm going to have to go with D on this one. A transition is not allowed to leave and enter the same state. Looks like the state machine architect had a case of the Monday's when they drew this up.
upvoted 0 times
...
Rosio
19 days ago
Hmm, I'm pretty sure the correct answer is B. A guard condition is not allowed on the initial transition. That's a classic state machine no-no.
upvoted 0 times
...
Carlene
25 days ago
This is a tricky one! The diagram is invalid because a transition requires a trigger or guard, and the initial transition has neither. Gotta watch out for those pesky state machine rules.
upvoted 0 times
Isadora
9 days ago
A) A transition requires a trigger or guard.
upvoted 0 times
...
...
Rosalind
28 days ago
I believe option A) is the correct answer, as it provides a valid rationale for why the diagram is invalid.
upvoted 0 times
...
Anna
1 months ago
I agree with you, Ardella. Without a trigger or guard, the transition wouldn't have any conditions to be activated.
upvoted 0 times
...
Ardella
1 months ago
I think the diagram is invalid because a transition requires a trigger or guard.
upvoted 0 times
...

Save Cancel