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

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77