nerdexam
OMG

OMG-OCUP-300 · Question #41

When can an OCL expression be used to specify a state change?

The correct answer is C. when expressing the postconditions of an operation. See the full explanation below for the reasoning.

Question

When can an OCL expression be used to specify a state change?

Options

  • Ain all circumstances
  • Bnever
  • Cwhen expressing the postconditions of an operation
  • Dwhen expressing the preconditions of an operation

How the community answered

(16 responses)
  • A
    6% (1)
  • B
    13% (2)
  • C
    75% (12)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full OMG-OCUP-300 Practice