Choose the correct answer:
Consider the following diagram fragment:

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

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.
Fatima
9 months agoSharan
9 months agoKerrie
9 months agoDonte
10 months agoNaomi
10 months agoJeff
10 months agoNickole
10 months agoCecil
10 months agoMelodie
11 months agoMitsue
11 months agoPok
11 months agoBlair
11 months agoHerman
11 months agoDana
11 months agoAbel
11 months agoCecilia
2 years agoCoral
2 years agoMabelle
2 years agoHortencia
2 years agoBrinda
2 years agoLeonida
2 years agoWillie
2 years agoDesiree
2 years agoWhitney
2 years agoTula
2 years agoMitsue
2 years agoTula
2 years agoZona
2 years agoLuz
2 years agoChery
2 years ago