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

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

Questions 4

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 5

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
Questions 6

Choose the correct answer:

Which one of the following is a Behavioral Feature?

Options:

A.

Method

B.

Function

C.

Operation

D.

Constraint

E.

Method Invocation

F.

Classifier behavior

Buy Now
Questions 7

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 8

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 9

Choose the correct answer:

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

Options:

A.

0

B.

1

C.

1..*

D.

0..*

Buy Now
Questions 10

Choose the correct answer:

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

Options:

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

Buy Now
Questions 11

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.

Buy Now
Questions 12

Choose the correct answer:

Consider the following diagram fragment:

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

Options:

A.

age

B.

name

C.

salary

D.

title

E.

gender

F.

company

Buy Now
Questions 13

Choose the correct answer:

The state machine in the diagram below is in the Start state when an event of type Ev occurs. At that time, the value of local variable VAR is equal to zero.

Which stale will the state machine be in after the run-to-completion step triggered by this event completes?

Options:

A.

End1

B.

End2

C.

End3

D.

Start

Buy Now
Questions 14

Choose the correct answer:

In UMLmodeling, what is a Constraint?

Options:

A.

a condition that must be satisfied when it is evaluated

B.

a condition that should be met depending on system operation

C.

a condition that causes the state of the objects to change over time

D.

a condition that constrains what can or cannot be put in a class diagram

Buy Now
Questions 15

Choose the correct answer:

Which elements in the diagram are Features of the Car class?

Options:

A.

drive(), Car

B.

stop(). driver

C.

name. stop()

D.

driveO, stop(). Person

Buy Now
Questions 16

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 17

Choose the correct answer:

Consider the following diagram:

Which statement is correct according to the diagram?

Options:

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.

Buy Now
Questions 18

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?

Options:

A.

deploy

B.

logStatus. deploy

C.

deploy, scanTarget

D.

logStatus. deploy. scanTarget

E.

logStatus. deploy. scanTarget. logStatus

Buy Now
Questions 19

Choose the correct answer: Consider the following interaction diagram.

Which number pair represents the start and end of an execution specification?

Options:

A.

1, 2

B.

1, 4

C.

1, 3

D.

3, 5

E.

2, 3

Buy Now
Questions 20

Choose the correct answer:

Consider the following diagram:

Which element(s) from P3 are visible inside P2 without using a qualified name?

Options:

A.

None

B.

One

C.

TWo

D.

One and Two

Buy Now
Questions 21

Choose the correct answer:

Which characteristic should apply to any useful model?

Options:

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.

Buy Now
Questions 22

Choose the correct answer:

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

Options:

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.

Buy Now
Questions 23

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 24

Choose the correct answer:

Exactly two Player Instances are involved in the "Play Tennis" Use Case.

Which diagram depicts this scenario correctly?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 25

Choose the correct answer:

What is the key difference between DataTypes and Classes?

Options:

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.

Buy Now
Questions 26

Choose the correct answer:

Which UML term pair captures complementary ways of looking at a relationship?

Options:

A.

include / extend

B.

use / implement

C.

dependency / trace

D.

aggregation / composition

E.

generalization / specialization

Buy Now
Questions 27

Choose the correct answer:

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

Options:

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.

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

PDF + Testing Engine

$134.99

Testing Engine

$99.99

PDF (Q&A)

$84.99