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