Skip to main content

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

  • OMG
  • 5 free sample questions

About this exam

OMG-OCUP2-FOUND100 is the OMG exam OMG Certified UML Professional 2 (OCUP 2) - Foundation Level. Paid practice material for this exam is not available yet, but you can try its free sample questions.

Exam code
OMG-OCUP2-FOUND100
Vendor
OMG
Practice questions
Not available yet
Free sample questions
5
Question bank last updated
Not available yet

Try 2 sample questions

Taken from the free sample set for OMG-OCUP2-FOUND100.

Question 1

Choose the correct answer:


Consider the following diagram:


OMG-OCUP2-FOUND100 Question 4


Which statement is always true in the diagram?

  1. Option A:

    Receiving m{C) must come before sending m(D).

  2. Option B:

    Sending m(D) is the first occurrence of this scenario.

  3. Option C:

    Receiving m{D) is the last occurrence of this scenario.

  4. Option D:

    All occurrences of v[11 will happen before all occurrences of v[3]

Show answer and explanation

Correct answer: A

The diagram shows a UML Sequence Diagram where two messages are being exchanged between lifelines representing instances of

objects: m(C) is being sent from v1 to v2 , and m(D) is being sent back from v2 to v1 .


In a sequence diagram, the vertical order of message arrows shows the sequence of interactions, with time proceeding down the page. Since the message m(C) is shown above m(D) ,

this means that m(C) occurs before m(D) . The receipt of m(C) by v2[B] must therefore occur before v2[B] can send m(D) back to v1[B] .


Therefore, the statement "Receiving m(C) must come before sending m(D) " is always true in this diagram.


B, C, and D are not necessarily true based on the diagram alone: B) "Sending m(D) is the first occurrence of this scenario" is not depicted. C)

"Receiving m(D) is the last occurrence of this scenario" is also not depicted. D) "All occurrences of v[1] will happen before all occurrences of v[3] " is

not something we can infer from this diagram since v[3] is not involved in the interactions shown.


Therefore, the correct answer is:


A. Receiving m(C) must come before sending m(D).


[Reference: Object Management Group (OMG) Unified Modeling Language (UML) Specification Version 2.5.1 Section 17.3 on Sequence Diagrams, which

explains the interpretation of message ordering., ]

Question 2

Choose the correct answer:


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

  1. Option A:

    This is typically required by management for planning purposes

  2. Option B:

    This is typically required by the implementers for coding purposes

  3. Option C:

    This is typically required by the system engineers to write requirements.

  4. Option D:

    This is typically required by tools that automatically transform the model.

Show answer and explanation

Correct answer: D

Having all the UML diagrams of a model maintain the same level of detail is typically required by tools that automatically transform the model into other forms, such as code or other types of models. Consistency in the level of detail across different diagrams ensures that automated tools can reliably interpret and convert the UML diagrams without encountering discrepancies that could lead to errors or misrepresentations in the generated outputs. This consistency is crucial for maintaining the integrity of the transformations and for ensuring that the resultant products accurately reflect the intended design and specifications.

See all 5 free sample questions