BlackFriday 2024! 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-ADV300 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:

Cecilia
30 days 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 months 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
Hortencia
2 days ago
User 2: I agree, Option B specifies task behavior based on task priority.
upvoted 0 times
...
Brinda
7 days ago
User 1: I think Option B is the correct answer.
upvoted 0 times
...
...
Leonida
1 months 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
3 days ago
Let's go with Option C then.
upvoted 0 times
...
Desiree
14 days ago
I agree, parallel execution does seem more intuitive for task priority.
upvoted 0 times
...
Whitney
22 days ago
I think Option C is the correct answer.
upvoted 0 times
...
...
Tula
2 months ago
Why do you think Option A is correct?
upvoted 0 times
...
Mitsue
2 months ago
I disagree, I believe Option A is the correct answer.
upvoted 0 times
...
Tula
2 months ago
I think the correct answer is Option B.
upvoted 0 times
...
Zona
2 months 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 months 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 months ago
I agree, Option B seems to be the correct answer. The tasks are indeed ordered by priority.
upvoted 0 times
...
...

Save Cancel