volume_mute

Executable UML

publish date2026/06/08 21:08:36.001910 UTC

volume_mute

Executable UML (xUML) is described as a subset of UML 2 that supports fully automated model-to-code transformation. What two requirements must be met to achieve this automated transformation?

Correct Answer

Models must be constructed with clearly defined meanings that can be compiled to code, AND a way of adding information to graphical models about how the operations defined in the model are implemented must exist

Explanation

To achieve fully automated transformation of models to code using Executable UML, two requirements must be met: (1) Models must be constructed with clearly defined meanings that can be compiled to code — graphical models need unambiguous semantics; (2) A way of adding information to graphical models about how the operations defined in the model are implemented is needed — this goes beyond what standard UML diagrams capture.

Reference

Software Engineering, Ian Sommerville, 9th edition


Quizzes you can take where this question appears