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