OMG-Certified UML Professional Advanced Exam v6.0 (OMG-OCUP-300)

Page:    1 / 9   
Total 134 questions

In the protocol state machine exhibited, what does m1 represent?

  • A. part of a guard condition for the transition between S1 and S2
  • B. an operation that is a feature of the corresponding interface
  • C. a method corresponding to operation m1
  • D. an invocation of the operation m1 of the corresponding interface


Answer : B

If a data store node has three values and one moves across an outgoing edge, how many are left?

  • A. two
  • B. one
  • C. three
  • D. none


Answer : C

What is wrong with the collaboration occurrence shown in the exhibit?

  • A. The <<role>> keywords are missing.
  • B. The <<occurrence>> keyword is missing.
  • C. Client and Server role names should be underlined.
  • D. The collaboration occurrence name should be underlined.
  • E. Role bindings should be represented by dashed lines.


Answer : E

Which statements are true about OCL? (Choose three)

  • A. OCL is a programming and procedural language.
  • B. OCL is a procedural language.
  • C. OCL is a programming language.
  • D. OCL is a typed language.
  • E. OCL is a specification language.
  • F. OCL is a query language.


Answer : D,E,F

What is NOT a standard stereotype of an OCL constraint?

  • A. <<precondition>>
  • B. <<CLHelper>>
  • C. <<definition>>
  • D. <<invariant>>
  • E. <<postcondition>>


Answer : B

When a component is deleted, what happens to objects in a component's namespace?

  • A. only those objects that participate in shared aggregations are retained
  • B. objects continue to exist
  • C. contents of the component's namespace are promoted to its superclass
  • D. objects are deleted


Answer : D

What is true about a class used as a template parameter for a parameterized class? A class used as template parameter _______. (Choose two)

  • A. is a class that can be substituted with another class as part of binding parameters.
  • B. is an object of the parameterized class.
  • C. can be used as any other class.
  • D. is a class that can be redefined in subclasses of the parameterized class.
  • E. is a class that is partially defined.


Answer : A,C

What is the difference between the relationships between A and B in diagram (i) and diagram (ii) in the exhibit?

  • A. (ii) implies (i)
  • B. (i) applies to all instances of A, while (ii) does not
  • C. (i) is only permitted if (ii) is also defined
  • D. (i) applies to all instances of B, while (ii) does not


Answer : A

In the exhibit, what two input sets would yield a FALSE result when invoking a
ReadIsClassifiedObjectAction? (Choose two)




Answer : C.F

To which layers in the 4-layer metamodel hierarchy for the UML metamodel (as depicted in the exhibit) do M1 and M2 correspond?

  • A. M2 = MOF meta-metamodel; M1 = UML metamodel
  • B. M2 = UML metamodel; M1 = MOF meta-metamodel
  • C. M2 = UML metamodel; M1 = user model
  • D. M2 = user model; M1 = UML metamodel
  • E. M2 = user model; M1 = runtime instances


Answer : C

What is true of a protocol state machine?

  • A. must be associated with exactly one classifier
  • B. may be associated with any number of classifiers
  • C. may have a behavioral feature context
  • D. cannot be associated with a classifier


Answer : A

What is the correct identity of the UML 2.0 infrastructure package A in the exhibit?

  • A. Core
  • B. Profiles
  • C. CommonStructure
  • D. Kernel
  • E. CommonBehavior


Answer : A

What are the instances of a power type?

  • A. associations
  • B. association instances
  • C. association classes
  • D. classifiers


Answer : D

How does OCL identify comments?

  • A. // text
  • B. /* text
  • C. -- text
  • D. " text"
  • E. 'text'


Answer : C

OCL expressions may NOT contain which special character or character combinations?

  • A. @
  • B. ..
  • C. .
  • D. >=
  • E. ~
  • F. ->


Answer : E

Page:    1 / 9   
Total 134 questions