OMG-OCUP2-ADV300 practice question 9 of 10

What is true about the use of a Template Classifier to specify the Type of a Typed Element?

Full set: 90 questions
Answer options
A: The Template Classifier needs to be modeled
B: The Template Classifier must have defaults for all of its Template Parameters
C: The Type Property of the Typed Element must directly name the Template Classifier.
D: Template Classifiers cannot be used in the specification of Types for Typed Elements.
E: A set of bound elements provides values for the Template Parameters of the Template Classifier. exam question Correct answer
Correct Answer:
E. A set of bound elements provides values for the Template Parameters of the Template Classifier. https://kxbjsyuhceggsyvxdkof.supabase.co/storage/v1/object/public/file-images/OMG-OCUP2-ADV300/page_22_img_1.jpg
Explanation

A set of bound elements provides values for the Template Parameters of the Template Classifier. This operation allows for dynamic instantiation of the Template Classifier based on specific values, thus enabling reuse and customization.

Why Incorrect

A. The Template Classifier is not required to be specifically modeled; it can exist as an abstract definition.
B. Defaults for Template Parameters are not necessary for the Template Classifier to function.
C. The Type Property does not need to directly name the Template Classifier; it can be instantiated without direct naming.
D. Template Classifiers can indeed be used to specify Types for Typed Elements; this statement is false.

References

- Object Management Group. (2017). OMG Unified Modeling Language (OMG UML) Specification, Version 2.5.1, Section 7.3.3 (Templates - Classifier), p. 64. https://www.omg.org/spec/UML/2.5.1/PDF

Scroll to Top