Weekend Sale Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

OMG-OCUP2-FOUND100 OMG Exam Lab Questions

OMG Certified UML Professional 2 (OCUP 2) - Foundation Level Questions and Answers

Question 13

Choose the correct answer:

Consider the following invalid state machine fragment:

Why is the diagram invalid?

Options:

A.

A transition requires a trigger or guard.

B.

A guard condition is not allowed on the initial transition.

C.

A trigger is not allowed on the transition to the final state.

D.

A transition is not allowed to leave and enter the same state.

Question 14

Choose the correct answer:

How many class instances can be shown on an Object Diagram?

Options:

A.

0

B.

1

C.

1..*

D.

0..*

Question 15

Choose the correct answer:

Consider the following diagram fragment:

Which statement is correct about the parameter part?

Options:

A.

It is optional.

B.

It accepts a collection of items.

C.

It accepts only values either 0 or 1.

D.

It accepts only values between 0 and 1.

Question 16

Choose the correct answer:

Which object has the highest value that is properly assigned to a salary slot?

A)

B)

C)

D)

E)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E