New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

OMG-OCUP2-ADV300 Exam - Topic 5 Question 22 Discussion

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

Choose the correct answer:

Consider the following diagram fragment:

Which diagram fragment correctly specifies task behavior based on task priority?

A)

B)

Show Suggested Answer Hide Answer
Suggested Answer: B

The correct answer is B, which uses a selection edge to specify task behavior based on task priority. In UML, an object flow with a selection property is used to select objects from a collection according to some criterion, which is typically represented by a Boolean expression. In the case of B, the selection criterion is described as 'ordering = the most important first', indicating that tasks are selected to be executed based on their priority.


UML 2.5 Specification: The UML 2.5 specification describes how selection behaviors can be applied to object flows to filter objects according to specific criteria, such as priority in this scenario.

Contribute your Thoughts:

0/2000 characters
Fatima
3 months ago
C is definitely not the answer, just saying!
upvoted 0 times
...
Sharan
3 months ago
Wait, are we sure about B? It seems off to me.
upvoted 0 times
...
Kerrie
3 months ago
Not so sure about that, A might be better.
upvoted 0 times
...
Donte
4 months ago
Totally agree, B looks spot on!
upvoted 0 times
...
Naomi
4 months ago
I think Option B shows the right task priority.
upvoted 0 times
...
Jeff
4 months ago
I remember we discussed how task priority affects behavior, but I can't recall the specifics for this question.
upvoted 0 times
...
Nickole
4 months ago
I’m leaning towards Option B, but I’m not completely confident. The diagrams can be tricky!
upvoted 0 times
...
Cecil
4 months ago
I feel like I saw a similar question in our practice tests, but I’m not sure if it was about task behavior or something else.
upvoted 0 times
...
Melodie
5 months ago
I think task priority is really important, but I can't remember which option shows it correctly.
upvoted 0 times
...
Mitsue
5 months ago
I'm not entirely sure about this one. I'll need to double-check my understanding of task priority and how it's represented in these diagram fragments.
upvoted 0 times
...
Pok
5 months ago
I'm pretty confident I know the right answer here. The diagram fragment in option B looks like it accurately depicts task behavior based on priority.
upvoted 0 times
...
Blair
5 months ago
Okay, I think I've got this. The key is to look for the diagram fragment that shows tasks being executed in order of their priority, with higher priority tasks taking precedence.
upvoted 0 times
...
Herman
5 months ago
Hmm, I'm a bit confused by the different diagram fragments. I'll need to review the task priority concepts to make sure I understand them before choosing an answer.
upvoted 0 times
...
Dana
5 months ago
This looks like a tricky question. I'll need to carefully analyze the diagram fragments to determine which one correctly specifies task behavior based on priority.
upvoted 0 times
...
Abel
5 months ago
Hmm, there are a lot of steps here. I'll need to read through it carefully to make sure I don't miss anything.
upvoted 0 times
...
Cecilia
1 year ago
Ooh, this is a tricky one. I'm going to go with Option D just to throw the graders for a loop. Keep 'em on their toes, you know?
upvoted 0 times
...
Coral
1 year ago
Ha! This question is a piece of cake. Option B is the way to go. Wouldn't want to get my priorities mixed up, now would I?
upvoted 0 times
Mabelle
1 year ago
User 3: Definitely, Option B is the way to go to avoid mixing up priorities.
upvoted 0 times
...
Hortencia
1 year ago
User 2: I agree, Option B specifies task behavior based on task priority.
upvoted 0 times
...
Brinda
1 year ago
User 1: I think Option B is the correct answer.
upvoted 0 times
...
...
Leonida
1 year ago
Hmm, I'm not so sure. Option C with the parallel execution seems more intuitive for handling tasks based on priority. Though I could be wrong.
upvoted 0 times
Willie
1 year ago
Let's go with Option C then.
upvoted 0 times
...
Desiree
1 year ago
I agree, parallel execution does seem more intuitive for task priority.
upvoted 0 times
...
Whitney
1 year ago
I think Option C is the correct answer.
upvoted 0 times
...
...
Tula
1 year ago
Why do you think Option A is correct?
upvoted 0 times
...
Mitsue
1 year ago
I disagree, I believe Option A is the correct answer.
upvoted 0 times
...
Tula
1 year ago
I think the correct answer is Option B.
upvoted 0 times
...
Zona
1 year ago
Option B looks like the correct answer to me. The diagram clearly shows the tasks being executed in order of priority.
upvoted 0 times
Luz
1 year ago
Yes, I also think Option B is the right choice. The diagram clearly represents task behavior based on priority.
upvoted 0 times
...
Chery
1 year ago
I agree, Option B seems to be the correct answer. The tasks are indeed ordered by priority.
upvoted 0 times
...
...

Save Cancel