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

OMG-OCUP2-FOUND100 Questions and Answers

Question # 6

Choose the correct answer:

Consider the following diagram:

What is the name of the property that the lifeline represents in the Start Sensor Device Driver interaction?

A.

Driver

B.

x-axisGyro

C.

sensorDriver

D.

DeviceDriver

E.

cannot determine from the information shown

Full Access
Question # 7

Choose the correct answer:

Consider the following diagram:

How many event occurrences are specified in InteractionP?

A.

2

B.

3

C.

4

D.

5

E.

6

F.

8

G.

10

Full Access
Question # 8

Choose the correct answer:

Which statement is correct regarding the diagram below?

A.

All of the elements in Package G depend on all of the elements in Package F

B.

All of the elements in Package F depend on all of the elements in Package G.

C.

One or more of the elements in Package G depends on one or more of the elements in Package F.

D.

One or more of the elements in Package F depends on one or more of the elements in Package G.

Full Access
Question # 9

Choose the correct answer:

Consider the following diagram fragment:

What makes this fragment invalid?

A.

A list of elements is not allowed in a package body.

B.

«class»one is missing a visibility.

C.

An *interface» is not allowed in a package

D.

Private elements are not allowed on the list.

E.

Protected elements are not allowed in a package.

F.

Element six is missing its stereotype.

Full Access
Question # 10

Choose the correct answer:

Which diagram shows inherited properties?

A)

B)

C)

D)Inherited properties cannot be shown In a specialized class.

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 11

Choose the correct answer:

Consider the following diagram fragment:

Which slot's value is hidden outside of the current Employee9

A.

age

B.

name

C.

salary

D.

title

E.

gender

F.

company

Full Access
Question # 12

Choose the correct answer:

Consider the following class diagram:

Which statement is true about the class diagram?

A.

The preferred age to open a bank account is 18 years old or older

B.

Only customers who are 18 years old or older can open a bank account.

C.

The age condition should only hold when the setAge(Integer) function is called

D.

An object of Customer with age set to 18 or greater will raise an exception.

Full Access
Question # 13

Choose the correct answer:

Consider the following diagram:

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

A.

Car Rental

B.

Booking unit

C.

Rental system

D.

Call-Center Agent

Full Access
Question # 14

Choose the correct answer:

The Sensor Controller state machine shown below is at rest in the Ready state. The acquireData event occurs.

What Is the complete sequence of behaviors that executes before the state machine comes to rest in the Acquiring Data state?

A.

deploy

B.

logStatus. deploy

C.

deploy, scanTarget

D.

logStatus. deploy. scanTarget

E.

logStatus. deploy. scanTarget. logStatus

Full Access
Question # 15

Choose the correct answer: Consider the following diagram:

A.

0

B.

1

C.

2

D.

3

E.

5

Full Access
Question # 16

Choose the correct answer: Consider the following diagram:

How many object nodes in total are shown?

A.

1

B.

2

C.

3

D.

4

E.

5

F.

6

G.

8

Full Access
Question # 17

Choose the correct answer:

Which modeling relationship allows instances of one class to substitute for instances of another?

A.

auxiliary

B.

association

C.

dependency

D.

replacement

E.

generalization

Full Access
Question # 18

Choose the correct answer:

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

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

Full Access
Question # 19

Choose the correct answer:

What is the defining characteristic of a domain model?

A.

It is a model that is specified using UML diagrams.

B.

It is a model that focuses on the domain requirements of the system

C.

It is a model that captures the main domain concepts and their relationships.

D.

It is a model that represents the domain architecture of the implementation of the system.

Full Access
Question # 20

Choose the correct answer:

Which characteristic should apply to any useful model?

A.

It is specified in UML.

B.

It is platform independent.

C.

It abstracts away irrelevant detail.

D.

It is specified using a visual notation.

Full Access
Question # 21

Choose the correct answer:

Consider the following invalid state machine fragment:

Why is the diagram invalid?

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.

Full Access
Question # 22

Choose the correct answer:

Consider the following diagram:

Which statement is always true about this diagram?

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.

Full Access
Question # 23

Choose the correct answer:

What is the key difference between DataTypes and Classes?

A.

Classes can have operations that show that a class reacts to invocations sent by other classes DataTypes do not have this feature.

B.

DataTypes can only be very simple structures with attributes that are Datatypes as well, whereas Classes can be of arbitrary complexity.

C.

Two instances of a Datatype are considered to be equal when all their attributes have the same values, unlike instances of classes.

D.

Classes can inherit attributes, operations and other features of their super classes. DataTypes can only get instantiated.

Full Access
Question # 24

Choose the correct answer: Consider the following diagram:

Is this diagram valid?

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.

Full Access
Question # 25

Choose the correct answer:

Which statement is correct about an Activity Parameter Node?

A.

It is a kind of Object Node

B.

It is used to model a data store

C.

It is equivalent to an action in or out pin.

D.

It can hold only input parameters, not output parameters.

Full Access
Question # 26

Choose the correct answer:

What is a reason to have all the UML diagrams of a model have the same amount of detail?

A.

This is typically required by management for planning purposes

B.

This is typically required by the implementers for coding purposes

C.

This is typically required by the system engineers to write requirements.

D.

This is typically required by tools that automatically transform the model.

Full Access
Question # 27

Choose the correct answer:

Which statement is correct regarding object (lows and control flows?

A.

Both object flows and control flows can pass both control tokens and object tokens.

B.

Only object flows provide additional support for multicast and transformation of tokens.

C.

Only control flows provide additional support for multicast and transformation of tokens.

D.

Only object flows may reorder multiple simultaneous tokens before offering them to the activity node.

Full Access