PDF File

Latest OMG-OCUP2-FOUND100 Practice Questions BY Hartman

Question 1

Choose the correct answer:

Which statement is correct about a FlowFmalNode in an Activity?

  • A. FlowFinalNodes do not appear in activities: they are used in State Machines.
  • B. FlowFinalNodes do not appear in activities; the proper element for this use is NoneEndEvent.
  • C. A token that reaches a FlowFinalNode causes all execution within the activity to cease.
  • D. A token that reaches a FlowFmalNode signifies the conclusion of execution along that flow although execution elsewhere within the activity may continue.
Question 2

Choose the correct answer:

Consider the following diagram:

What does the filled diamond mean?

  • A. A Ship-instance is responsible for the existence of the Person-instances linked to it.
  • B. Class Person's existence depends on the ship. It will get deleted when the ship gets deleted.
  • C. It is a modeling placebo It does not have any influence on the structure of the instances of Ship or Person.
  • D. Class Ship owns an attribute passenger of Type Person. The ownership of attribute my_ship is undefined.
  • E. Class Person owns an attribute my_ship of Type Ship. The ownership of attribute passenger is undefined.