In UML modeling, what is the (unction of Comments?
In UML modeling, what is the (unction of Comments?A . to provide additional semantics to the model elementsB . to provide useful information to the reader of the modelC . to enable automatic generation of comments in the codeD . to add UML constraints to one or more model elements...
What is the key difference between DataTypes and Classes?
What is the key difference between DataTypes and Classes?A . Classes can have operations that show that a class reacts to invocations sent by other classes DataTypes do not have this feature.B . DataTypes can only be very simple structures with attributes that are Datatypes as well, whereas Classes can...
What is the meaning of the relationship shown in the diagram below?
What is the meaning of the relationship shown in the diagram below? A . class B is the creator of class AB . class A is dependent on class BC . class B is dependent on class AD . class A can be reached (torn class BView AnswerAnswer: B Explanation:...
Which actual entity does this element represent?
In the context of a UML model designed to capture the elements of a real-world business enterprise, the class Employee appears in the fragment of a class diagram as shown below: Which actual entity does this element represent?A . An employee of the companyB . The set of all employees...
Which technique does Abstraction incorporate?
Which technique does Abstraction incorporate?A . agile modelingB . information hidingC . complexity couplingD . context-driven decision makingView AnswerAnswer: B Explanation: Abstraction in UML and software modeling often incorporates the technique of information hiding. Information hiding is a principle that supports abstraction by ensuring that unnecessary details about software components...
How is the abstract syntax of UML specified?
How is the abstract syntax of UML specified?A . using a MOF metamodelB . using the Backus-Naur Form (BNF)C . using natural language (e.g.. English)D . using UML structure and behavior diagramsView AnswerAnswer: A Explanation: The abstract syntax of UML is specified using the Meta-Object Facility (MOF) metamodel. MOF is...
OpaqueExpression can use which languages?
OpaqueExpression can use which languages?A . onlyOCLB . only programming languagesC . only Mathematical ExpressionsD . any languageView AnswerAnswer: D Explanation: An OpaqueExpression in UML 2 is used to specify behavior in a textual form when it is not necessary to specify which language is used, or when it is...
Which statement is always true about this diagram?
Consider the following diagram: Which statement is always true about this diagram?A . There are infinitely many H objects inside Pckg.B . There are between 1 and 5 G objects inside PckgC . For every H object, there are fewer than 5 G objects associated with it.D . There may...
What are the possible values for the attribute response in the class Query?
Given the diagram fragment below: What are the possible values for the attribute response in the class Query?A . MaybeB . Yes. No, MaybeC . There is insufficient information to determine the answer.D . The diagram is not legal UMLView AnswerAnswer: B Explanation: The second diagram fragment you provided includes...
What is a reason to have all the UML diagrams of a model have the same amount of detail?
What is a reason to have all the UML diagrams of a model have the same amount of detail?A . This is typically required by management for planning purposesB . This is typically required by the implementers for coding purposesC . This is typically required by the system engineers to...