Summer Sale Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 28522818

Home > OMG > OMG Certification > OMG-OCUP2-FOUND100

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

Question # 4

Choose the correct answer:

Consider the following diagram:

Which statement is true about the diagram?

A.

Within G you may refer to v:K by gh.H::v. .

B.

From within H it is impossible to reach the v within G.

C.

The package Pckg cannot have two definitions of v as shown in the diagram.

D.

v will indicate different elements depending on where you refer to v within Pckg

Full Access
Question # 5

Choose the correct answer:

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

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.

Full Access
Question # 6

Choose the correct answer:

Which statement is correct about a FlowFmalNode in an Activity?

A.

FlowFinalNodes do not appear in activities: they are used in State Machines.

B.

FlowFinalNodes do not appear in activities; the proper element for this use is NoneEndEvent.

C.

A token that reaches a FlowFinalNode causes all execution within the activity to cease.

D.

A token that reaches a FlowFmalNode signifies the conclusion of execution along that flow although execution elsewhere within the activity may continue.

Full Access
Question # 7

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 # 8

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 # 9

Choose the correct answer:

Consider the following diagram:

Which statement is true about the execution of Action c?

A.

It will never get executed, since the parallel flow is not synchronized.

B.

It will get executed one time, since it has one incoming control flow.

C.

It will get executed two times, since two tokens are offered to it

D.

Nothing can be said. The diagram is invalid.

Full Access
Question # 10

Choose the correct answer:

How is the abstract syntax of UML specified?

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

Full Access
Question # 11

Choose the correct answer:

Which statement is always true about the following sequence diagram?

A.

Sending message x is the first occurrence that happens.

B.

Sending message z will happen after receiving message x.

C.

Sending message y will happen before sending message z.

D.

Sending message p will happen before receiving message y.

Full Access
Question # 12

Choose the correct answer:

The Use Case "Manage customer information" is a high-level description of how to handle customers and their data. Specific descriptions of how to add or delete a customer, or update a customer's information, are represented by the Use Cases "Add new customer", "Delete customer", and "Update customer information".

Which diagram depicts this scenario?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 13

Choose the correct answer:

How many activities can feed an initial node at the beginning of an activity thread?

A.

0

B.

0..*

C.

1

D.

1..*

Full Access
Question # 14

Choose the correct answer:

Consider the following diagram:

Which statement is true about the execution of Action c?

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.

Full Access
Question # 15

Choose the correct answer:

Which scenario would be modeled most appropriately in a state machine?

A.

the use of buttons to control a digital watch

B.

the exchange of messages in a client-server system

C.

the data flows and processes in an office automation system

D.

the nature of the transitions from ice to water to steam in a physical system

E.

the overview ofbehavior and message exchange in a distributed medical insurance system

Full Access
Question # 16

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 # 17

Choose the correct answer:

In the model shown below, what is gained by using the Extend relationship?

A.

The Extend relationships avoid the need for behavior descriptions such as Activities.

B.

The Extend relationship is used here to perform a functional decomposition of the Use case behavior.

C.

This Use Case model could be updated with further payment methods without changing the main Use Cases "Book a car" and "Charge account".

D.

Extend is a taxonomic relationship between Use Cases that extracts general descriptions into the super Use Case "Charge account" to avoid redundant descriptions in the sub Use Cases "Charge credit card" and "Pay with PayPal*.

Full Access
Question # 18

Choose the correct answer:

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

A)

B)

C)

D)

E)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

Full Access
Question # 19

Choose the correct answer:

Which statement is true about the following diagram?

A.

E waits for an Event.

B.

E is always executed faster than B

C.

The valid trace is A. E, C (without B).

D.

C waits for tokens on both incoming edges

Full Access
Question # 20

Choose the correct answer:

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

A.

0

B.

1

C.

1..*

D.

0..*

Full Access
Question # 21

Choose the correct answer:

Which statement is correct regarding Enumeration Literals?

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.

Full Access
Question # 22

Choose the correct answer:

Consider the following diagram:

Which statement is always true in the diagram?

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]

Full Access
Question # 23

Choose the correct answer:

Which statement characterizes a valuable model?

A.

A simple model that is useful has value.

B.

The value of a model is directly related to its complexity.

C.

A model must be "right" in an engineering sense to have value.

D.

The value of a model is always based on its ability to predict system behavior.

Full Access
Question # 24

Choose the correct answer:

When is a state machine for an object created and ready to accept events?

A.

by the time the last state ends

B.

immediately after the sequence diagrams start

C.

by the time the object has finished its initialization

D.

when all objects in the system are ready to receive events

Full Access
Question # 25

Choose the correct answer:

Consider the following diagram:

Which statement is correct according to the diagram?

A.

responsiblePerson inherits from Person.

B.

Client and Manager have nothing in common.

C.

responsiblePerson can not refer to an object of class Client.

D.

The object referred to as responsiblePerson can be a Manager.

Full Access
Question # 26

Choose the correct answer:

Given the diagram fragment below:

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

A.

Maybe

B.

Yes. No, Maybe

C.

There is insufficient information to determine the answer.

D.

The diagram is not legal UML

Full Access
Question # 27

Choose the correct answer:

In UML modeling, what is the (unction of Comments?

A.

to provide additional semantics to the model elements

B.

to provide useful information to the reader of the model

C.

to enable automatic generation of comments in the code

D.

to add UML constraints to one or more model elements of the diagrams

Full Access