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

Pass the OMG OMG Certification OMG-OCUP2-ADV300 Questions and answers with CertsForce

Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions
Questions # 1:

Choose the correct answer:

How are the execution semantics of Alf defined?

Options:

A.

by a specification defined with the Meta Object Facility


B.

by a specification defined with the Object Constraint Language


C.

by a specification defined with the programming language Java


D.

by mapping the concrete syntax of Alf to the abstract syntax of fUML


Expert Solution
Questions # 2:

Choose the correct answer:

Can State Machine Events have Features?

Options:

A.

Yes. they can


B.

Yes. they can. but only when the modeled Events also extend Classifier.


C.

No. they can not. because State Machine Events are not Classifiers.


D.

No. they can not. because UML State Machines do not have an Event concept.


Expert Solution
Questions # 3:

Choose the correct answer:

Which behavioral process can be modeled by a FunctionBehavior?

Options:

A.

populating a file-based Spreadsheet with mathematical functions and their input values


B.

turning on or off a light in room depending on whether people are or are not in that room


C.

taking thenext 5 elements out of a First in First Out queue


D.

return an array containing the Fibonacci sequence (0.1.1. 2. 3. 5.....n) for a given parameter n


E.

UML has no concept of FunctionBehavior.


Expert Solution
Questions # 4:

Choose the correct answer:

A framework developer has been given a requirement to create an extensible utility for solution developers to use to create collections. The framework developer has submitted the following diagram fragment for review:

Question # 4

Which review comment is valid and applicable?

Options:

A.

The upper limit of 10 for the Size of PhontyQueue is too small and should be increased to at least 20 to accommodate special cases.


B.

The «bind» relationship between the concrete class Vector and the abstract class AbstractList is incorrect. It should be a Generalization relationship.


C.

The Generalization relationship between the concrete class PriorityOueue and the abstract class AbstractQueue is incorrect. It should be a «bmd» relationship.


D.

The template parameter Size cannot be added to a specialized class. It needs to be moved to the top of the hierarchy and added to AbstractCollection and AbstractQueue.


Expert Solution
Questions # 5:

Choose the correct answer:

Consider the following profile:

Question # 5

Which statement is true?

Options:

A.

Each instance of Class must be linked to exactly one instance ofDisplayArea, Frame, or Form.


B.

Each instance of Class must be linked to at most one instance of DisplayArea. Frame, or Form.


C.

Each instance of Class must be linked to exactly one instance of DisplayArea. Frame, and Form.


D.

Instances of Class or its subclasses do not have to be linked to instances of DisplayArea. Frame, or Form.


E.

The diagram is incorrect because a required extension cannot be applied to a stereotype inheritance hierarchy.


Expert Solution
Questions # 6:

Choose the correct answer:

What should a modeler do lo represent specific hardware environments In a deployment model?

Options:

A.

Create a profile with the applicable details


B.

Create an instance of a deployment manifest with the applicable details


C.

Create an instance of a deployment specification with the applicable details.


D.

Create a mapping between the logical hardware description and the physical hardware description with the applicable details.


Expert Solution
Questions # 7:

Choose the correct answer:

What is a metamodel in the context of MOF?

Options:

A.

a collection of Stereotypes


B.

a model of a modeling language


C.

a model based on an executable semantic


D.

a model library of model elements to be reused by many models


Expert Solution
Questions # 8:

Choose the correct answer: Consider the following diagram fragment:

Question # 8

Assume that the system is in StateAl Which sequence of triggers will move the system to StateC?

Options:

A.

a6., a3, a1, a7, an


B.

a5, a5, a5. a1. a8, a8, a11


C.

a5, a6, a5, a3, a2, a10, a11, a12

D a1, a7, a8, a7, an


Expert Solution
Questions # 9:

Choose the correct answer:

Which can be added to a redefined operation?

Options:

A.

scope


B.

templates


C.

parameters


D.

preconditions


Expert Solution
Questions # 10:

Choose the correct answer: What does Protocol Conformance represent?

Options:

A.

It shows that the general Protocol State Machine conforms to the inherited Protocol State Machine.


B.

It declares that the general Protocol State Machine specifies a protocol that conforms to that specified by the nested Protocol State Machine.


C.

It specifies that the specific Protocol State Machine represents a protocol that conforms to that specified by the redefined Protocol State Machine.


D.

It represents a declaration that every rule and constraint specified for the general Protocol State Machine applies to the specific Protocol State Machine.


Expert Solution
Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions