MC Which statement is CORRECT? Inheritance is not supported in Object-Orientation. incorrect A class only has variables. incorrect A class is an instance of an object. 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. correct MC Which variables types are not directly supported in UML? Composite variables incorrect Derived variables incorrect Variables with unique values (similar to key attribute types in the ER model) correct Multivalued variables incorrect MC Which variables types are not directly supported in UML? Composite variables incorrect Variables with unique values (similar to key attribute types in the ER model) correct Derived variables incorrect Multivalued variables incorrect MC Which statement is CORRECT? An aggregation cannot participate in a relationship type. incorrect The minimum multiplicity at the side of 'Book' should be 1. 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. correct A class is an instance of an object. incorrect MC Which one of the following is an example of a DISJOINT and PARTIAL specialisation? HUMAN -> VEGETARIAN + NON-VEGETARIAN incorrect HUMAN -> LOVES FISH + LOVES MEAT incorrect HUMAN -> BLONDE + BRUNETTE correct HUMAN -> UNIVERSITY DEGREE + COLLEGE DEGREE incorrect MC Which statement is CORRECT? An association is always bidirectional. 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 an instance of a link. incorrect MC

Given the ER model above, which of the following statements is CORRECT? A movie can have as many lead actors as there are in the movie. incorrect A director of a movie can also act in the same movie. correct A movie can have multiple actors, producers and directors. incorrect Producer is an existence dependent entity type. 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 'PRODUCER' entity type. incorrect 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 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 'PRODUCER' entity type. 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 either one of the linked entity types. 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 OCL constraints are defined in a procedural way. 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 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