A measure of model quality is a metric that evaluates how well a model satisfies some desired characteristics, such as correctness, completeness, consistency, clarity, etc. The number of actions and activities with no incoming object or control flows is a measure of model quality that indicates how well the model captures the dependencies and sequences of events in the system. A high number of such actions and activities may imply that the model is incomplete or inconsistent, and may lead to errors or ambiguities in the system behavior.
Question # 15
Choose the correct answer
What can be included in a model library?
Options:
A.
any model element
B.
any model element that Is contained In a profile
C.
any model element that can be contained in a package
D.
only those model elements that are re-used in the model
Any model element that can be contained in a package can be included in a model library. A model library is a package with the stereotype <<modelLibrary>> applied to it. It contains reusable model elements that can be imported into other models by using an «import» relationship. Any kind of model element that can be owned by or nested within a package can be part of a model library, such as blocks, constraints, values, units, etc. References: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm https://www.omg.org/spec/SysML/1.6/PDF
Question # 16
Choose the correct answer
What kind of models can be exchanged using XMI?
Options:
A.
only UML models including profiles
B.
only UML and SysML models
C.
instances of MOF models
D.
instances of metamodels that can be described by an XML schema
The kind of models that can be exchanged using XMI are instances of MOF models. MOF (Meta-Object Facility) is a standard that defines a metamodeling architecture and a set of metamodels for creating and manipulating models. A metamodel is a model that defines the abstract syntax and semantics of another model. A model is an instance of a metamodel that conforms to its rules and constraints. XMI (XML Metadata Interchange) is a format specification that enables the interchange of objects and models through an XML formatted file. It is based on a metamodel that defines the mapping of MOF concepts to XML concepts. By using XMI, any model that is an instance of a MOF metamodel can be serialized and deserialized in terms of XML elements and attributes. This includes UML, SysML, and other modeling languages that are defined as MOF metamodels. References: https://www.omg.org/ocsmp/ocsmp-adv-exam.htm https://www.omg.org/spec/XMI/2.5.1/About-XMI/