MC Which statement is NOT CORRECT? Objects are blueprints of classes. "Human", "Employee", "Sale" are examples of objects. correct Objects are instances of classes. The people "Bart Baesens", "Wilfried Lemahieu" and "Seppe vanden Broucke" could be instances of the class "Person". incorrect Objects store both a piece of information and ways to manipulate this information. incorrect A class can be instantiated into several objects. incorrect MC Which statement is NOT CORRECT? Encapsulation refers to storing a value in a variable, and never changing it again. This way its value is safe forever. incorrect Encapsulation refers to storing a value variable, and making it impossible to retrieve it. incorrect Encapsulation refers to controlling the way a variable is accessed by forcing users to use getter/setter methods that prevent misuse of the variable. correct Encapsulation implies that the methods of a class are not accessible to the other classes. incorrect MC In Java, what is method overloading? Putting so much code in a method that its functionality becomes hard to understand. incorrect Using two methods with the same name, but a different number (and/or different type) of arguments. correct Offering the user of your class all possible methods that he/she would like to perform on the variables the class offers. incorrect Making sure that every method uses all variables of the class. incorrect MC Which statement is CORRECT? Dynamic binding means that objects are allowed to take the form of either the class they are an instance of, or any of its sub classes. incorrect In an inheritance structure with a parent-class "Animal" and sub-class "Chicken" at most 1 of these classes is allowed to have a method with name "makeNoise". incorrect Different subclasses of a parent class can all have different implementations of methods with the same name, number of parameters and parameter types. correct Static binding occurs at run-time whereas dynamic binding occurs at compile-time. incorrect MC Objects should be made persistent when... you need them over multiple program executions. correct you only need them during 1 program execution, and then never again. incorrect MC Which statement is NOT CORRECT? Persistence by marking implies that all objects will be created as persistent. An object can then be marked as transient at compile-time. correct Persistence by class implies that all objects of a particular class will be made persistent. incorrect Persistence by creation is achieved by extending the syntax for creating objects to indicate at compile-time that an object should be made persistent. incorrect Persistence by inheritance indicates that the persistence capabilities are inherited from a pre-defined persistent class. incorrect MC Which statement is CORRECT? The OID of an object remains the same during the entire lifetime of the object. correct An OID is the same as a primary key in a relational database setting. incorrect Two objects with the same values always have the same OID. incorrect Each literal is defined by an OID according to the ODMG standard. incorrect MC Which statement is CORRECT? ODL is only optimized for Java objects. incorrect The extent of a class is the set of all current instances. correct Many-to-many relationships cannot be expressed using ODL. incorrect Unary, binary and ternary relationships are supported in ODL. incorrect MC Which statement is NOT CORRECT? OQL is a declarative, non-procedural query language. incorrect Join queries are not supported in OQL. correct OQL can be used for both navigational (procedural) as well as associative (declarative) access. incorrect The OQL language provides no explicit support for INSERT, UPDATE, and DELETE operations. incorrect MC What is NOT an advantage of OODBMSs? They allow to store objects and relationships in a transparent way. incorrect They solve the impedance mismatch problem by using the same data model as the programming language. incorrect Scalability and fault-tolerance of OODBMSs is far better than that of their relational counterparts. correct The identity based approach allows for improved performance when performing complex queries involving multiple interrelated objects, avoiding expensive joins. incorrect