Deck 9: Object-Oriented Database Management

Full screen (f)
exit full mode
Question
An instance of an object is an object class.
Use Space or
up arrow
down arrow
to flip the card.
Question
The objects that describe similar entities are known collectively as a(n) ____.

A) file
B) class
C) UML diagram
D) OODBMS
E) operation
Question
An object/relational DBMS is essentially ____.

A) an environment in which separate relational and object-oriented DBMSs pass data to each other
B) a legacy DBMS
C) an advanced research concept that is not as yet commercially viable
D) an object-oriented DBMS with relational features
E) a relational DBMS with object-oriented features
Question
In the object-oriented concept, abstract data types ____.

A) can include simple numeric and alphabetic data types
B) cannot exist - they are strictly part of the relational concept
C) can have operations associated with them
D) are a disaster recovery feature
E) can only be implemented if the DBMS is of the object/relational type
Question
An object ____.

A) is the same thing as an entity
B) is a method or operation that acts on stored data
C) includes an entity's attributes plus methods or operations which can operate on the attribute values
D) is a rectangular box in an entity-relationship diagram
E) is a descriptive characteristic of a person, thing, or event in the business environment
Question
In a generalization/specialization relationship ____.

A) attributes can be inherited but operations cannot be inherited
B) operations can be inherited but attributes cannot be inherited
C) both attributes and operations can be inherited
D) neither attributes nor operations can be inherited
E) attributes can only be inherited if they are aggregated
Question
The modification or refinement of operations as they are inherited downwards in a generalization/specialization relationship is called ____.

A) polygraphism
B) polygenesism
C) polytrophism
D) polychromism
E) polymorphism
Question
Unified Modeling Language (UML) is ____.

A) another term for Entity-Relationship diagrams
B) a logical database design technique
C) a programming language used to access data stored in object-oriented databases
D) the standard diagramming notation for object-oriented systems development
E) a query language that is a substitute for SQL in the OODBMS environment
Question
Relational database management systems directly support ____.

A) complex relationships among different sub-categories or specialized categories of particular entities
B) situations in which particular entities are constructed from other component entities
C) the concept of particular data being updated only by a controlled set of program segments which are not in application programs
D) complex data types such as graphic images, photo images, video clips, and audio clips
E) tabular data such as accounting data
Question
Attributes in object classes in a generalization/specialization relationship ____.

A) cannot be inherited from one class to another
B) can be inherited from the general class to the specialized classes
C) can be inherited from the specialized classes to the general class
D) can be inherited from one specialized class to another specialized class
E) can be inherited from one general class to another general class
Question
Generalization/specialization relationships are a form of aggregation relationships.
Question
Aggregation relationships are handled naturally by relational DBMSs but generalization/specialization relationships are not.
Question
The object classes in a generalization/specialization relationship are arranged in a ____.

A) row
B) string
C) hierarchy
D) closed loop
E) linked list
Question
The term for the relationship in which a class is shown to be composed of other classes is ____.

A) generalization/specialization
B) aggregation
C) binary one-to-many
D) binary many-to-many
E) polymorphism
Question
All of the following are true about encapsulation, except ____.

A) it is designed to improve data integrity
B) it prevents application code outside of the encapsulated object from modifying the object's data
C) a message from an application program can trigger an encapsulated object
D) operations are stored in the database together with the data they operate on
E) objects can only be encapsulated if they are in an aggregation relationship
Question
The term for the relationship that recognizes that some kinds of entities can really be subdivided into smaller, more specific groups is ____.

A) generalization/specialization
B) aggregation
C) binary one-to-many
D) binary many-to-many
E) polymorphism
Question
All of the following kinds of data are candidates for abstract data types, except ____.

A) numeric data
B) video clips
C) audio clips
D) photo images
E) graphic images
Question
A potential exposure that can introduce errors in relational data is the ability of many application programs to manipulate shared data.
Question
The relational data model does not directly support such data types as photo images, video clips, and audio clips.
Question
An object is an advanced data structure that includes an entity's attributes plus methods which can operate on and modify the object's attribute values.
Question
Generalization/specialization is a relationship that recognizes that some kinds of entities can really be subdivided into smaller, more specialized groups.
Question
Methods or operations cannot be modified when they are inherited downwards.
Question
Draw an object-oriented class diagram, including traditional unary, binary and ternary relationships, as well as generalization and aggregation relationships as needed, to represent the following Central Zoo environment. Include all of the attributes and operations listed in the description.
Central Zoo has three kinds of enclosures: cages, fenced areas, and water tanks. Each enclosure, regardless of which kind it is, has a unique enclosure number and a location. In addition, each cage has an area (in square feet or square meters), a height, and a type, each fenced area has an area and a fence height, each water tank has a temperature. Each water tank is composed of two parts, a tank (the zoo keeps track of the volume of the tank) and a pump (the zoo keeps track of the number of amperes of the pump.)
Each animal that lives in a cage in the zoo has a unique animal number, a species, name, gender, and weight. Each cage can have several animals living in it or it can be empty. An animal can live in only one cage.
There is an operation that calculates the next cleaning date of each enclosure, but this calculation is different for cages, fenced areas, and water tanks.
Question
An object/relational database might include a table that has audio clip data in one of its columns.
Question
Aggregation is a special case of the generalization/specialization relationship.
Question
An object/relational DBMS is an OODBMS with relational features added to them.
Question
When an application program has to update encapsulated data, it sends a message to one of the object's encapsulated operations to trigger the operation.
Question
A video clip is an example of an abstract data type.
Question
An OODBMS allows associated operations to be defined along with abstract data types.
Question
An object class can only be encapsulated if it is involved in an aggregation relationship.
Question
In a generalization/specialization hierarchy, attributes are inherited downwards from the general object class to the specialized object classes.
Question
Generalization/specialization is a relationship that can be handled directly by an OODBMS.
Question
An OODBMS will only permit the attributes of an encapsulated object to be updated by its encapsulated methods or operations.
Question
Generalization/specialization is denoted in a UML diagram by an arrow pointing upward towards the "general" object class.
Question
Generalization/specialization is a relationship in which a class is shown to be composed of other classes.
Question
The Unified Modeling Language (UML) is the standard diagramming notation for object-oriented systems development.
Question
A BLOB (binary large object) is an example of generalization/specialization hierarchy.
Question
Aggregation is denoted by a diamond-shaped symbol in a UML diagram.
Question
The modification or refinement of methods or operations as they are inherited downwards is called polymorphism.
Question
In a generalization/specialization hierarchy, attributes can be inherited downwards from the general object class to the specialized object classes, but methods or operations cannot.
Question
Draw an object-oriented class diagram, including traditional unary, binary and ternary relationships, as well as generalization and aggregation relationships as needed, to represent the following Grand Travel Airlines environment. Include all of the attributes and operations listed in the description.
Grand Travel Airlines operates as both a passenger and a cargo airline. It has different kinds of planes for each of the two functions. For planes of both types it keeps track of each plane's top speed, length, and range. In addition, it keeps track of the capacity (number of seats) of each passenger plane and the capacity (in tons or metric tons) of each cargo plane.
Each passenger flight has a flight number, a date, departure time, and arrival time. A flight uses only one airplane while a particular plane is used on many flights.
Grand Travel Airlines has two kinds of passenger planes: jet and propeller driven. For the propeller driven planes it must keep track of the maximum revolutions per minute (RPM) of the propellers. Each jet plane is composed of three parts: the fuselage, the wings, and the engines. Grand Travel records the fuselage height and width, the wingspan (length) of the wings, and the number of engines and their maximum thrust.
An operation calculates the next maintenance date of each passenger plane, but the calculation is different for jet and propeller driven planes.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/41
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 9: Object-Oriented Database Management
1
An instance of an object is an object class.
False
2
The objects that describe similar entities are known collectively as a(n) ____.

A) file
B) class
C) UML diagram
D) OODBMS
E) operation
B
3
An object/relational DBMS is essentially ____.

A) an environment in which separate relational and object-oriented DBMSs pass data to each other
B) a legacy DBMS
C) an advanced research concept that is not as yet commercially viable
D) an object-oriented DBMS with relational features
E) a relational DBMS with object-oriented features
E
4
In the object-oriented concept, abstract data types ____.

A) can include simple numeric and alphabetic data types
B) cannot exist - they are strictly part of the relational concept
C) can have operations associated with them
D) are a disaster recovery feature
E) can only be implemented if the DBMS is of the object/relational type
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
5
An object ____.

A) is the same thing as an entity
B) is a method or operation that acts on stored data
C) includes an entity's attributes plus methods or operations which can operate on the attribute values
D) is a rectangular box in an entity-relationship diagram
E) is a descriptive characteristic of a person, thing, or event in the business environment
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
6
In a generalization/specialization relationship ____.

A) attributes can be inherited but operations cannot be inherited
B) operations can be inherited but attributes cannot be inherited
C) both attributes and operations can be inherited
D) neither attributes nor operations can be inherited
E) attributes can only be inherited if they are aggregated
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
7
The modification or refinement of operations as they are inherited downwards in a generalization/specialization relationship is called ____.

A) polygraphism
B) polygenesism
C) polytrophism
D) polychromism
E) polymorphism
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
8
Unified Modeling Language (UML) is ____.

A) another term for Entity-Relationship diagrams
B) a logical database design technique
C) a programming language used to access data stored in object-oriented databases
D) the standard diagramming notation for object-oriented systems development
E) a query language that is a substitute for SQL in the OODBMS environment
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
9
Relational database management systems directly support ____.

A) complex relationships among different sub-categories or specialized categories of particular entities
B) situations in which particular entities are constructed from other component entities
C) the concept of particular data being updated only by a controlled set of program segments which are not in application programs
D) complex data types such as graphic images, photo images, video clips, and audio clips
E) tabular data such as accounting data
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
10
Attributes in object classes in a generalization/specialization relationship ____.

A) cannot be inherited from one class to another
B) can be inherited from the general class to the specialized classes
C) can be inherited from the specialized classes to the general class
D) can be inherited from one specialized class to another specialized class
E) can be inherited from one general class to another general class
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
11
Generalization/specialization relationships are a form of aggregation relationships.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
12
Aggregation relationships are handled naturally by relational DBMSs but generalization/specialization relationships are not.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
13
The object classes in a generalization/specialization relationship are arranged in a ____.

A) row
B) string
C) hierarchy
D) closed loop
E) linked list
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
14
The term for the relationship in which a class is shown to be composed of other classes is ____.

A) generalization/specialization
B) aggregation
C) binary one-to-many
D) binary many-to-many
E) polymorphism
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
15
All of the following are true about encapsulation, except ____.

A) it is designed to improve data integrity
B) it prevents application code outside of the encapsulated object from modifying the object's data
C) a message from an application program can trigger an encapsulated object
D) operations are stored in the database together with the data they operate on
E) objects can only be encapsulated if they are in an aggregation relationship
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
16
The term for the relationship that recognizes that some kinds of entities can really be subdivided into smaller, more specific groups is ____.

A) generalization/specialization
B) aggregation
C) binary one-to-many
D) binary many-to-many
E) polymorphism
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
17
All of the following kinds of data are candidates for abstract data types, except ____.

A) numeric data
B) video clips
C) audio clips
D) photo images
E) graphic images
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
18
A potential exposure that can introduce errors in relational data is the ability of many application programs to manipulate shared data.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
19
The relational data model does not directly support such data types as photo images, video clips, and audio clips.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
20
An object is an advanced data structure that includes an entity's attributes plus methods which can operate on and modify the object's attribute values.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
21
Generalization/specialization is a relationship that recognizes that some kinds of entities can really be subdivided into smaller, more specialized groups.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
22
Methods or operations cannot be modified when they are inherited downwards.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
23
Draw an object-oriented class diagram, including traditional unary, binary and ternary relationships, as well as generalization and aggregation relationships as needed, to represent the following Central Zoo environment. Include all of the attributes and operations listed in the description.
Central Zoo has three kinds of enclosures: cages, fenced areas, and water tanks. Each enclosure, regardless of which kind it is, has a unique enclosure number and a location. In addition, each cage has an area (in square feet or square meters), a height, and a type, each fenced area has an area and a fence height, each water tank has a temperature. Each water tank is composed of two parts, a tank (the zoo keeps track of the volume of the tank) and a pump (the zoo keeps track of the number of amperes of the pump.)
Each animal that lives in a cage in the zoo has a unique animal number, a species, name, gender, and weight. Each cage can have several animals living in it or it can be empty. An animal can live in only one cage.
There is an operation that calculates the next cleaning date of each enclosure, but this calculation is different for cages, fenced areas, and water tanks.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
24
An object/relational database might include a table that has audio clip data in one of its columns.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
25
Aggregation is a special case of the generalization/specialization relationship.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
26
An object/relational DBMS is an OODBMS with relational features added to them.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
27
When an application program has to update encapsulated data, it sends a message to one of the object's encapsulated operations to trigger the operation.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
28
A video clip is an example of an abstract data type.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
29
An OODBMS allows associated operations to be defined along with abstract data types.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
30
An object class can only be encapsulated if it is involved in an aggregation relationship.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
31
In a generalization/specialization hierarchy, attributes are inherited downwards from the general object class to the specialized object classes.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
32
Generalization/specialization is a relationship that can be handled directly by an OODBMS.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
33
An OODBMS will only permit the attributes of an encapsulated object to be updated by its encapsulated methods or operations.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
34
Generalization/specialization is denoted in a UML diagram by an arrow pointing upward towards the "general" object class.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
35
Generalization/specialization is a relationship in which a class is shown to be composed of other classes.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
36
The Unified Modeling Language (UML) is the standard diagramming notation for object-oriented systems development.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
37
A BLOB (binary large object) is an example of generalization/specialization hierarchy.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
38
Aggregation is denoted by a diamond-shaped symbol in a UML diagram.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
39
The modification or refinement of methods or operations as they are inherited downwards is called polymorphism.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
40
In a generalization/specialization hierarchy, attributes can be inherited downwards from the general object class to the specialized object classes, but methods or operations cannot.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
41
Draw an object-oriented class diagram, including traditional unary, binary and ternary relationships, as well as generalization and aggregation relationships as needed, to represent the following Grand Travel Airlines environment. Include all of the attributes and operations listed in the description.
Grand Travel Airlines operates as both a passenger and a cargo airline. It has different kinds of planes for each of the two functions. For planes of both types it keeps track of each plane's top speed, length, and range. In addition, it keeps track of the capacity (number of seats) of each passenger plane and the capacity (in tons or metric tons) of each cargo plane.
Each passenger flight has a flight number, a date, departure time, and arrival time. A flight uses only one airplane while a particular plane is used on many flights.
Grand Travel Airlines has two kinds of passenger planes: jet and propeller driven. For the propeller driven planes it must keep track of the maximum revolutions per minute (RPM) of the propellers. Each jet plane is composed of three parts: the fuselage, the wings, and the engines. Grand Travel records the fuselage height and width, the wingspan (length) of the wings, and the number of engines and their maximum thrust.
An operation calculates the next maintenance date of each passenger plane, but the calculation is different for jet and propeller driven planes.
Unlock Deck
Unlock for access to all 41 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 41 flashcards in this deck.