What must the supervisor do?

Choose the correct answer.

A modeling team supervisor has defined a stereotype of block named *projectBlock» and wants to prevent any use of an unstereotyped block

What must the supervisor do?
A . delete «block» from the profile
B. give * blocks the (abstract) keyword in the profile
C. mark the extending stereotype with the {strict} keyword
D. mark the extending stereotype with the {required} keyword
E. attach a note to «block» in the profile forbidding its use

Answer: C

Explanation:

To prevent any use of an unstereotyped block, the supervisor must mark the extending stereotype with the {strict} keyword. This keyword indicates that only elements with this stereotype can be created as instances of the extended metaclass. In this case, only blocks with the stereotype <<projectBlock>> can be created as instances of Block.

References: https://www.omg.org/ocsmp/ocsmp-adv-exam.htmhttps://www.ibm.com/docs/SSB2MU_8.2.0/com.ibm.rhp.sysml.doc/topics/rhp_c_dm_sysml_profile_features.html

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments