New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtick70

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

Questions 4

Choose the correct answer:

Consider the following model

Where is v visible?

Options:

A.

Only inside S

B.

Only inside T

C.

Only inside S and T

D.

Inside the whole P

Buy Now
Questions 5

Choose the correct answer:

What represents the most appropriate use of UML during software development?

Options:

A.

forcing management decisions

B.

describing a planned or existing system to non-technical stakeholders

C.

capturing and clarifying the business-level concerns of a planned or existing system

D.

capturing the essential characteristics and design decisions of a planned or existing system

Buy Now
Questions 6

Choose the correct answer:

Consider the following diagram:

Which statement is always true in the diagram?

Options:

A.

Receiving m{C) must come before sending m(D).

B.

Sending m(D) is the first occurrence of this scenario.

C.

Receiving m{D) is the last occurrence of this scenario.

D.

All occurrences of v[11 will happen before all occurrences of v[3]

Buy Now
Questions 7

Choose the correct answer:

How is the abstract syntax of UML specified?

Options:

A.

using a MOF metamodel

B.

using the Backus-Naur Form (BNF)

C.

using natural language (e.g.. English)

D.

using UML structure and behavior diagrams

Buy Now
Questions 8

Choose the correct answer:

Consider the following diagram:

What does the filled diamond mean?

Options:

A.

A Ship-instance is responsible for the existence of the Person-instances linked to it.

B.

Class Person's existence depends on the ship. It will get deleted when the ship gets deleted.

C.

It is a modeling placebo It does not have any influence on the structure of the instances of Ship or Person.

D.

Class Ship owns an attribute passenger of Type Person. The ownership of attribute my_ship is undefined.

E.

Class Person owns an attribute my_ship of Type Ship. The ownership of attribute passenger is undefined.

Buy Now
Questions 9

Choose the correct answer:

Consider the following diagram:

How many event occurrences are specified in InteractionP?

Options:

A.

2

B.

3

C.

4

D.

5

E.

6

F.

8

G.

10

Buy Now
Questions 10

Choose the correct answer:

Consider the following diagram:

Who is the owner of the Use Case "Book a car"?

Options:

A.

Car Rental

B.

Booking unit

C.

Rental system

D.

Call-Center Agent

Buy Now
Questions 11

Choose the correct answer: Consider the following diagram:

How many object nodes in total are shown?

Options:

A.

1

B.

2

C.

3

D.

4

E.

5

F.

6

G.

8

Buy Now
Questions 12

Choose the correct answer:

What is an advantage of modeling as a part of the software analysis and design process?

Options:

A.

It reduces the risk of inconsistent or improper implementations.

B.

It reduces the risk of incorporating technology constraints into a design.

C.

It reduces the risk of using an incorrect or improper programming language.

D.

It reduces the risk of the solution being strongly related to business practices.

Buy Now
Questions 13

Choose the correct answer:

Consider the following diagram;

What is the minimum number of occurrences that must happen before the reception of m(200)?

Options:

A.

0

B.

2

C.

4

D.

5

E.

6

Buy Now
Questions 14

Choose the correct answer:

Which diagram models the following situation:

The class starts when 10 students are present and the professor arrives.

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 15

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

Buy Now
Questions 16

Choose the correct answer: Consider the following scenario:

Activity Act1 shall be carried out. then activity Act2. and then activity Acl1 again.

Which diagram shows this?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 17

Choose the correct answer:

Which sequence of behavior executions occurs if the state machine below is in state S11 and an event of type E occurs?

Options:

A.

actnE; exS1; exS11: entS21; entS2

B.

actnE; exS1; exS11: entS2; entS21

C.

exS11; actnE; entS2

D.

gxSH; exS1; actnE; entS2

E.

exS11; exS1; actnE; entS2; entS21

Buy Now
Questions 18

Choose the correct answer:

For projects involving complex and strategic systems, what is a key advantage of developing models before starting implementation?

Options:

A.

Developing models ensures that all requirements will be addressed.

B.

Models are useful to provide proof of progress to project management.

C.

Models help to establish a consensus among all the project stakeholders.

D.

Modeling helps to convince developers that models are necessary for good design.

Buy Now
Questions 19

Choose the correct answer:

Consider the following diagram:

Which statement is true based on this specification ofInteractionF?

Options:

A.

An execution of InteractionF is valid only if the o3 lifeline receives ml before the o2 lifeline receives m2.

B.

An execution of InteractionF is valid only if the o2 lifeline receives m2 before the o3 lifeline receives m 1.

C.

An execution of InteractionF can be valid no matter the order in which o2 and o3 receive their respective messages.

D.

InteractionF is an ill-formed model of a behavior.

Buy Now
Questions 20

Choose the correct answer:

Given the diagram fragment below:

What are the possible values for the attribute response in the class Query?

Options:

A.

Maybe

B.

Yes. No, Maybe

C.

There is insufficient information to determine the answer.

D.

The diagram is not legal UML

Buy Now
Questions 21

Choose the correct answer: Consider the following diagram:

Is this diagram valid?

Options:

A.

No, because a DataType cannot have Associations to a Class.

B.

No, because a DataType cannot have Operations.

C.

No, because a DataType cannot have Attributes.

D.

Yes, it is formally correct.

Buy Now
Questions 22

Choose the correct answer:

Which statement describes the semantics of a Property that has the aggregation kind composite9

Options:

A.

The aggregation kind composite is semantically equivalent to namespace containment

B.

Instances of the composed object's type can exist only in the context of the composite object.

C.

When the Property's composite object ceases to exist, all of its composed objects also cease to exist.

D.

The Property's composed objects are part of a subset and the composite object is a union of the defined subsets.

Buy Now
Questions 23

Choose the correct answer:

Consider the following diagram:

Which statement is true about the execution of Action c?

Options:

A.

After one Signal is received and either a or b is executed, depending on x. it will get executed once

B.

Two or more Signals must be received, depending on x. before c will get executed once.

C.

Action c will get executed twice, since a and b will eventually offer a token.

D.

Nothing can be said The diagram is invalid.

Buy Now
Questions 24

Choose the correct answer:

The stale machine below is in state1:

When does it transition to state2?

Options:

A.

When all of el. e2. and e3 occur in any order.

B.

When any one of the events e1. e2. or e3 occurs.

C.

Only when e1. e2. and e3 occur in exactly this order

D.

Never, because a transition cannot have more than one trigger.

Buy Now
Questions 25

Choose the correct answer:

Which statement is true about the following diagram?

Options:

A.

D has an invalid notation.

B.

A. B. C. and D are actions.

C.

C will be executed when B or D finishes.

D.

After A finishes, either B or D will be executed, but not both.

Buy Now
Questions 26

Choose the correct answer:

How would you refer lo element One of Package PI. when inside Package P2?

Options:

A.

One

B.

PLOne

C.

P1:One

D.

P1::One

E.

"One

F.

One/P1

Buy Now
Questions 27

Choose the correct answer:

Which semantics differentiate a pseudostate from a regular state in a UML state machine?

Options:

A.

A pseudostate must have an outgoing transition

B.

An outgoing transition from a pseudostate must always terminate on a regular state.

C.

A pseudostate is transient and so cannot be the termination point of a run-to-completion step.

D.

The outgoing transitions of a pseudostate must have triggers that consist exclusively of guard conditions.

Buy Now
Exam Code: OMG-OCUP2-FOUND100
Exam Name: OMG Certified UML Professional 2 (OCUP 2) - Foundation Level
Last Update: Dec 26, 2024
Questions: 90
OMG-OCUP2-FOUND100 pdf

OMG-OCUP2-FOUND100 PDF

$25.5  $84.99
OMG-OCUP2-FOUND100 Engine

OMG-OCUP2-FOUND100 Testing Engine

$30  $99.99
OMG-OCUP2-FOUND100 PDF + Engine

OMG-OCUP2-FOUND100 PDF + Testing Engine

$40.5  $134.99