MC Which variables types are not directly supported in UML? Variables with unique values (similar to key attribute types in the ER model) correct Derived variables incorrect Multivalued variables incorrect Composite variables incorrect MC Which statement is CORRECT? 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 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 MC Given the following EER categorisation:



Which statement is CORRECT? The categorisation can also be represented as an aggregation. incorrect 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 All men and women are patients. incorrect MC

Given the ER model above, which of the following statements is CORRECT? Producer is an existence dependent entity type. incorrect 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 A movie can have multiple actors, producers and directors. incorrect MC Which statement is NOT CORRECT? Information hiding means that data can only be accessed via getter and setter methods. incorrect A class only has variables. correct UML's concept of 'link' corresponds to EER's concept of 'relationship'. incorrect The maximum multiplicity at the side of 'Book' should be 1. incorrect MC Which one of the following is an example of a DISJOINT and PARTIAL specialisation? HUMAN -> UNIVERSITY DEGREE + COLLEGE DEGREE incorrect HUMAN -> VEGETARIAN + NON-VEGETARIAN incorrect HUMAN -> LOVES FISH + LOVES MEAT incorrect HUMAN -> BLONDE + BRUNETTE correct 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 an aggregation. incorrect All men and women are patients. incorrect The categorisation can also be represented as a specialisation. incorrect MC Which statement is NOT CORRECT? 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 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 MC A composite aggregation... 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 or 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 NOT CORRECT? OCL is a declarative language incorrect This aggregation is composite. incorrect A qualified association in UML is similar to a weak entity type in EER. incorrect A composite aggregation has a maximum multiplicity of n and a minimum multiplicity of 0 or 1 at the composite side. correct