Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

OMG OMG-OCUP2-ADV300 - OMG Certified UML Professional 2 (OCUP 2) - Advanced Level

Page: 1 / 3
Total 90 questions

Choose the correct answer:

What two protocol state machine interpretations can be defined?

A.

behavioral and protocol

B.

declarative and procedural

C.

declarative and executable

D.

executable and non-executable

Choose the correct answer:

What happens when an Exception Handler completes execution?

A.

Execution of the thread halts after the ExceptionHandler completes

B.

Control tokens are offered on the outgoing ControlFlows of the protectedNode.

C.

Control tokens are offered on the outgoing ControlFlows of the ExceptionHandler.

D.

Control tokens remain within the ExceptionHandler waiting for additional Behaviors.

E.

The exception number is stored in an output ObjectPm of the ExceptionHandler and no control tokens are offered.

Choose the correct answer:

Which input element does lexical analysis of Action Language for Foundational UML text discard?

A.

term

B.

delimiters

C.

expression

D.

whitespace

Choose the correct answer:

Which statement is correct about a Decision Node?

A.

A Decision Node shall have at most one incoming Activity Edge

B.

A Decision Node shall have at most two incoming Control Flows

C.

If a Decision Node has an incoming Control Flow and a decisionlnput. then a decisionlnput shall have a single in Parameter.

D.

If a Decision Node has an incoming Object Flow, a decisionlnput. and a decisionlnputFlow. then a decisionlnput shall have two in Parameters.

Choose the correct answer:

Consider the following diagram:

What kind of model element is chentNo?

A.

a Port of Class ExamCompany

B.

a qualifier of the Association

C.

a Property defined by Association and owned by the Class ExamCompany

D.

a Property defined by Association and owned by the Class Examinee

Choose the correct answer:

You are asked to provide UML model content such that other modelers may use the Classes of your model as modular, partial specifications to be more fully specified by their models. You decide to provide a Vehicle Class that represents a partial specification of automobiles and allows tailoring of this class through the other modelers' choices of kinds of propulsion such as a gasoline motor, an electric engine, or a manual cyclesystem. You want to limit whichClass kinds the other modelers can choose as their propulsion system.

Which tactic appropriately exploits UML's syntax and semantics for modular reification?

A.

Model GasolineMotorVehicle. ElectricEngineVehicle. and ManualCyclingVehicle as specialized versions of your Abstract Class Automobile.

B.

Model Vehicle as a Template Classifier with a Class Parameter named Thrustor that is constrained to be a derivative of an Abstract Class PropulsionSystem

C.

Model Vehicle as a Class with a Property named thrustor of Type Enumeration Class Thrustor that has Enumeration Literals GasolmeMotor. ElectncEngme. and ManualCycler.

D.

Model three separate Packages named GasolineMotor Vehicles. ElectricEngme Vehicles, and ManualCyclmg Vehicles and Package Import into each of these the Package with your Vehicle Class.

Choose the correct answer:

A group of programming language designers want to create classes that model typical data collections such as arrays, lists, maps. etc.

Their design must satisfy three conditions:

1. The collections must be parameterizable to support any data type.

2. Some collections must inherit from other collections to leverage reuse of functionality.

3. The implementation of the collection functions cannot be overridden.

Which UML concept should these designers use?

A.

Classes

B.

Interfaces

C.

Power Types

D.

Class Templates

Choose the correct answer: What is the scope of fUML?

A.

It defines the implementation of the action metamodel defined in UML 1.5.

B.

It defines execution semantics for UML activity diagrams, state machines, and sequence diagrams

C.

It defines a subset of behavioral concepts to ensure computational independence of control and data structures.

D.

It defines execution semantics for a set of high-level UML modeling concepts used by a wide range of system types.

Choose the correct answer:

In addition to ObjectFlow. which mechanism could be used to move data within an Activity?

A.

Pin

B.

Variable

C.

Property

D.

ControlFlow

Choose the correct answer:

A behavior A is specified by an Activity. A specialized version B of the behavior shall also be specified

Which is a correct approach to model that scenario?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D