MC Which statement is NOT CORRECT? An aggregation can have attribute types and participate in relationship types. incorrect A composite aggregation has a maximum multiplicity of n and a minimum multiplicity of 0 at the composite side. correct This aggregation is composite. incorrect Information hiding (also referred to as encapsulation) states that the variables of an object can only be accessed through either getter or setter methods. incorrect MC Which statement is NOT CORRECT? In UML, dependency defines a 'using' relationship which states that a change in the specification of a UML modeling concept may affect another modeling concept that uses it. incorrect The changeability property specifies the type of operations which are allowed on either variable values or links. incorrect OCL constraints are defined in a procedural way. correct OCL constraints can be used for various purposes such as, to specify invariants for classes, to specify pre- and post-conditions for methods, to navigate between classes, or to define constraints on operations. incorrect MC Which statement is NOT CORRECT? A private access modifier (denoted by the symbol '-') is used in case the variable or method can only be accessed by the class itself. incorrect A protected access modifier (denoted by the symbol '#') is used in case the variable or method can be accessed by both the class and its superclasses. correct A public access modifier (denoted by the symbol '+') is used in case the variable or method can be accessed by any other class. incorrect In UML, access modifiers can be used to specify who can have access to a variable or method. incorrect MC Which statement is CORRECT? A ternary relationship type cannot have attribute types. incorrect In case a ternary relationship type is represented as 3 binary relationship types, then semantics will get lost. correct A ternary relationship type can always be represented as 3 binary relationship types without loss of semantics. incorrect 3 binary relationship types between 3 entity types can always be replaced by 1 ternary relationship type between the 3 participating entity types. incorrect MC Given the following EER categorisation:



Which statement is CORRECT? A patient only inherits the 'Name' and 'Date of Birth' attribute types from the superclass that the current entity belongs to. correct All men and women are patients. incorrect The categorisation can also be represented as an aggregation. incorrect The categorisation can also be represented as a specialisation. incorrect MC

Given the ER model above, which of the following statements is CORRECT? A director of a movie can also act in the same movie. correct A movie can have as many lead actors as there are in the movie. incorrect Producer is an existence dependent entity type. incorrect A movie can have multiple actors, producers and directors. incorrect MC A composite aggregation... has a maximum multiplicity of 1 and a minimum multiplicity of 1 at the composite side. incorrect has a maximum multiplicity of n and a minimum multiplicity of 0 at the composite side. incorrect has a maximum multiplicity of 1 and a minimum multiplicity of 0 or 1 at the composite side. correct has a maximum multiplicity of n and a minimum multiplicity of 0 or 1 at the composite side. incorrect MC Given the following EER categorisation:



Which statement is CORRECT? A patient only inherits the 'Name' and 'Date of Birth' attribute types from the superclass that the current entity belongs to. correct The categorisation can also be represented as a specialisation. incorrect The categorisation can also be represented as an aggregation. incorrect All men and women are patients. incorrect MC Which statement is NOT CORRECT? In UML, dependency defines a 'using' relationship which states that a change in the specification of a UML modeling concept may affect another modeling concept that uses it. incorrect The changeability property specifies the type of operations which are allowed on either variable values or links. incorrect OCL constraints can be used for various purposes such as, to specify invariants for classes, to specify pre- and post-conditions for methods, to navigate between classes, or to define constraints on operations. incorrect OCL constraints are defined in a procedural way. correct MC Which statement is CORRECT? An association is an instance of a link. incorrect Only binary associations are supported in the UML class diagram. incorrect Qualified associations can be used to represent weak entity types. correct An association is always bidirectional. incorrect