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
7 months agoSharan
7 months agoKerrie
7 months agoDonte
8 months agoNaomi
8 months agoJeff
8 months agoNickole
8 months agoCecil
8 months agoMelodie
9 months agoMitsue
9 months agoPok
9 months agoBlair
9 months agoHerman
9 months agoDana
9 months agoAbel
9 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