MC Which statement is CORRECT? Information hiding (also referred to as encapsulation) states that the variables of an object can only be accessed through either getter or setter methods. correct UML supports variables with unique values. 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 A composite aggregation has a maximum multiplicity of n and a minimum multiplicity of 0 at the composite side. incorrect
MC A composite aggregation... has a maximum multiplicity of n and a minimum multiplicity of 0 or 1 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 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
MC Which statement is CORRECT? An existence dependent entity type always participates in a 1:1 relationship type. incorrect An existence dependent entity type is always a weak entity type. incorrect A weak entity type is always existence dependent. correct A weak entity type can only have one attribute type. 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 Which statement is CORRECT? An association is an instance of a link. incorrect Qualified associations can be used to represent weak entity types. correct Only binary associations are supported in the UML class diagram. incorrect An association is always bidirectional. incorrect
MC 
In the movie ER model above, we focus on the binary relationship 'PRODUCES'. Suppose we add an attribute type that indicates the time that each producer spent on producing each movie called 'WORKING HOURS'.
Which of the following scenarios is possible? We can migrate the attribute type 'WORKING HOURS' to the 'MOVIE' entity type. incorrect We can add the attribute type 'WORKING HOURS' to the relationship type PRODUCES. correct We can migrate the attribute type 'WORKING HOURS' to the 'PRODUCER' entity type. incorrect We can migrate the attribute type 'WORKING HOURS' to either one of the linked entity types. incorrect
MC Which variables types are not directly supported in UML? Multivalued variables incorrect Derived variables incorrect Variables with unique values (similar to key attribute types in the ER model) correct Composite variables incorrect
MC Which statement is NOT CORRECT? The changeability property specifies the type of operations which are allowed on either variable values or links. incorrect 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 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 Given the following ER model:

Which statement is NOT CORRECT? According to the ER model, a supplier cannot have more than 1 address. incorrect According to the ER model, there can be suppliers that supply no products and have no purchase orders outstanding. incorrect The ER model does not enforce that a supplier can only have purchase orders outstanding for products he/she can actually supply. incorrect The ER model has both weak and existence dependent entity types. correct
MC 
In the movie ER model above, we focus on the binary relationship 'PRODUCES'. Suppose we add an attribute type that indicates the time that each producer spent on producing each movie called 'WORKING HOURS'.
Which of the following scenarios is possible? We can migrate the attribute type 'WORKING HOURS' to either one of the linked entity types. incorrect We can migrate the attribute type 'WORKING HOURS' to the 'MOVIE' entity type. incorrect We can add the attribute type 'WORKING HOURS' to the relationship type PRODUCES. correct We can migrate the attribute type 'WORKING HOURS' to the 'PRODUCER' entity type. incorrect