Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Sure Pass Exam OMG-OCUP2-FOUND100 PDF

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

Question 5

Choose the correct answer:

Which statement is correct about Activity precondition and postcondition constraints?

Options:

A.

They apply to all invocations of the Activity

B.

They apply only to specific invocations of the Activity.

C.

They are used to constrain specific actions within the Activity.

D.

They are used to constrain only the flow of objects within the Activity.

Question 6

Choose the correct answer: Consider the following scenario:

The "Withdraw Money" action can only be executed after the amount to withdraw is entered and the account contains sufficient funds. After the action is executed, the account balance is updated.

Which diagram models this scenario

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 7

Choose the correct answer:

Which statement is correct regarding Enumeration Literals?

Options:

A.

EnumerationLiterals are immutable

B.

EnumerationLiterals may be anonymous.

C.

EnumerationLiterals may not be compared for equality.

D.

Enumeration Literal names may appear more than once within an Enumeration.

Question 8

Choose the correct answer:

Consider the following diagram:

Which statement is always true about this diagram?

Options:

A.

There are infinitely many H objects inside Pckg.

B.

There are between 1 and 5 G objects inside Pckg

C.

For every H object, there are fewer than 5 G objects associated with it.

D.

There may be an G object which has no H object associated with it through gh.