Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Chapter 3 - testbank (Database Management Systems)

Total questions: 67

Worksheet time: 34mins

Name
Class
Date
1.

The property by which subtype entities possess the values of all attributes of a supertype is called.

a)

hierarchy reception.

b)

class management.

c)

multiple inheritance.

d)

attribute inheritance.

2.

Which of the following is a generic entity type that has a relationship with one or more subtypes?

a)

Megatype

b)

Supertype

c)

Subgroup

d)

Class

3.

Given the following entities, which of the choices below would be the most complicated? Automobile: VIN, EngineSize, NumberOfDoors, NumberOfPassengers, FuelType, Transmission SUV: VIN, EngineSize, NumberOfPassengers, NoWheelDrive, FuelType, Transmission Truck: VIN, EngineSize, NoWheelDrive, FuelType, Transmission, Payload

a)

Define one vehicle entity type to hold all entities.

b)

Define a separate entity type for each entity.

c)

Define a supertype called vehicle and make each of the entities subtypes.

d)

Keep only the Truck entity type.

4.

Subtypes should be used when:

a)

there are attributes that apply to some but not all instances of an entity type.

b)

supertypes relate to objects outside the business.

c)

the instances of a subtype do not participate in a relationship that is unique to that subtype.

d)

a recursive relationship is needed.

5.

In the figure below, which of the following apply to both OUTPATIENTs and RESIDENT_PATIENTs?

a)

Checkback_Date

b)

Date_Discharged

c)

Patient_Name

d)

XML

6.

In the figure below, which of the following is a subtype of patient?

a)

Outpatient

b)

Physician

c)

Bed

d)

Date_Hired

7.

The process of defining one or more subtypes of a supertype and forming relationships is called:

a)

specialization.

b)

generalization.

c)

creating discord.

d)

selecting classes.

8.

In the figure, to which entity are the entities "CAR" and "TRUCK" generalized?

a)

Make

b)

Vehicle

c)

Model

d)

Price

9.

The process of defining a more general entity type from a set of more specialized entity types is called:

a)

generalization

b)

specialization

c)

normalization

d)

extrapolation

10.

The figure shows ROOM as a supertype with subtypes CLASSROOM, LABORATORY, and OFFICE, each indicated by conditions such as classroom = "Y", lab = "Y", office = "Y". The figure is an example of:

a)

partial specialization

b)

completeness

c)

total specialization

d)

disjointness

11.

The ______ rule specifies that an entity instance of a supertype is allowed not to belong to any subtype.

a)

semi-specialization

b)

total specialization

c)

partial specialization

d)

disjointness

12.

The ______ rule specifies that each entity instance of the supertype must be a member of some subtype in the relationship.

a)

semi-specialization

b)

total specialization

c)

partial specialization

d)

total convergence

13.

Which of the following is a completeness constraint?

a)

Total specialization

b)

Partial generalization

c)

Total recall

d)

Partial hybridization

14.

A(n) ______ constraint is a type of constraint that addresses whether an instance of a supertype must also be an instance of at least one subtype.

a)

disjoint

b)

overlap

c)

completeness

d)

weak

15.

In the figure, a student:

a)

must be a graduate student, an undergraduate, a special student or some other type of student.

b)

must be a graduate student or an undergraduate student.

c)

must be at least a special student.

d)

must be a doctoral student.

16.

The ______ rule specifies that an entity can be a member of only one subtype at a time.

a)

exclusion

b)

disjoint

c)

removal

d)

inclusion

17.

A ______ addresses whether an instance of a supertype may simultaneously be a member of two or more subtypes.

a)

disjointness constraint

b)

disjoint rule

c)

partial specialization

d)

total specialization

18.

In the figure below, the patient must be either an outpatient or a resident patient. This is an example of the ______ rule.

a)

disjoint

b)

specialization

c)

generalization

d)

overlap

19.

An attribute of the supertype that determines the target subtype(s) is called the:

a)

determinant

b)

subtype decision

c)

disjoint indicator

d)

subtype discriminator

20.

The ________ rule states that an entity instance can simultaneously be a member of two (or more) subtypes.

a)

disjoint

b)

overlap

c)

partial specialization

d)

total specialization

21.

The following diagram shows:

a)

total specialization

b)

partial specialization

c)

the overlap rule

d)

subtype discriminator

22.

The subtype discriminator in the figure below is:

a)

Part_Type

b)

Part_No

c)

Manufactured Part

d)

Location

23.

The subtype discriminator is a composite attribute when there is a(n):

a)

overlap rule

b)

disjoint rule

c)

partial specialization

d)

full specialization

24.

The following figure shows an example of:

a)

the disjoint rule.

b)

the completeness rule.

c)

the underdog rule.

d)

the overlap rule.

25.

In a supertype/subtype hierarchy, each subtype has:

a)

only one supertype.

b)

many supertypes.

c)

at most two supertypes.

d)

at least one subtype.

26.

Which of the following statements is true about the figure shown below?

a)

A rental unit must be either an apartment or a house, and cannot be both at the same time.

b)

A rental unit can be an apartment, house or just a rental unit; it may not be more than one at the same time.

c)

A rental unit must be either an apartment or a house, and could be both.

d)

A rental unit can be an apartment, a house or just a rental unit. It could be both an apartment and a house at the same time.

27.

Which of the following statements is true about the figure shown below?

a)

A rental unit must be either an apartment or a house, and cannot be both at the same time.

b)

A rental unit can be an apartment, house or just a rental unit; it may not be more than one at the same time.

c)

A rental unit must be either an apartment or a house, and could be both.

d)

A rental unit can be an apartment, a house or just a rental unit. It could be both an apartment and a house at the same time.

28.

Which of the following statements is true about the figure shown below?

a)

A rental unit must be either an apartment or a house, and cannot be both at the same time.

b)

A rental unit can be an apartment, house or just a rental unit; it may not be more than one at the same time.

c)

A rental unit must be either an apartment or a house, and could be both.

d)

A rental unit can be an apartment, a house or just a rental unit. It could be both an apartment and a house at the same time.

29.

Which of the following statements is true about the figure shown below?

a)

A rental unit must be either an apartment or a house, and cannot be both at the same time.

b)

A rental unit can be an apartment, house or just a rental unit; it may not be more than one at the same time.

c)

A rental unit must be either an apartment or a house, and could be both.

d)

A rental unit can be an apartment, a house or just a rental unit. It could be both an apartment and a house at the same time.

30.

In a supertype/subtype hierarchy, subtypes that are lower in the hierarchy inherit attributes from not only their immediate supertype but from all _______ in the hierarchy.

a)

subtypes

b)

supertypes

c)

constraints

d)

dimensions

31.

The following figure shows a:

a)

disjoint constraint.

b)

completeness constraint.

c)

supertype/subtype hierarchy.

d)

spindle constraint.

32.

Which statement is true about the following diagram?

a)

A person can only be a faculty, student, or staff.

b)

A student can be both an undergraduate and a graduate student at the same time.

c)

All attributes of person and student are inherited by undergraduate.

d)

All attributes of graduate are inherited by person.

33.

An entity cluster is:

a)

a formal method for specifying attributes of related entities.

b)

a set of one or more entity types and associated relationships grouped into a single abstract entity type.

c)

a useful way to present data for a small and fairly simple organization.

d)

a way of developing more granular views of the data model.

34.

The figure below is an example of a(n):

a)

supertype/subtype hierarchy.

b)

hierarchical data model.

c)

entity cluster.

d)

column cluster.

35.

An entity cluster can be formed by:

a)

deleting a supertype and its subtype.

b)

combining metadata.

c)

combining a strong entity and its weak entities.

d)

deleting metadata.

36.

Packaged data models:

a)

are ready to use right out of the box.

b)

require customization.

c)

allow partial specialization.

d)

cannot be used for most applications.

37.

Which of the following is true of packaged data models?

a)

Relationships are connected to the highest-level entity type in an order that makes sense.

b)

All subtype/supertype relationships follow the total specialization and disjoint rules.

c)

No entities on the many sides of a relationship can be weak.

d)

All weak entities are considered strong.

38.

A generic or template data model that can be reused as a starting point for a data modeling project is called a(n):

a)

packaged data model.

b)

universal data model.

c)

enterprise data model.

d)

collection data model.

39.

Using a packaged data model, projects take less time and cost because:

a)

less personnel are required.

b)

essential components and structures are already defined.

c)

there is more time taken to model the enterprise.

d)

packaged data models only run in Oracle.

40.

All of the following are advantages of packaged data models EXCEPT:

a)

packaged data models can be built using proven components evolved from cumulative experiences.

b)

projects take less time and cost less.

c)

the data model is easier to evolve.

d)

more one-to-one relationships give the data model more flexibility.

41.

All of the following are steps to using a packaged data model EXCEPT:

a)

identify the parts of the data model that apply to your data modeling situation.

b)

utilize all business rules that come with the packaged data model.

c)

rename the identified data elements.

d)

map data to be used in packages with existing data in the current databases.

42.

When identifying the parts of the packaged data model that apply to your organization, one should first start with:

a)

entities.

b)

attributes.

c)

primary keys.

d)

relationships.

43.

The third step in the data modeling process with a packaged data model is:

a)

rename identified data elements.

b)

rename relationships.

c)

map data to be used from package to data in current databases.

d)

interview users.

44.

A good method for identifying inconsistencies and finding hidden meaning in the customized purchased data model is:

a)

data analysis.

b)

data volume usage analysis.

c)

user interviews.

d)

data profiling.

45.

The most important challenge of customizing a purchased data model is:

a)

getting user buy-in.

b)

determining the business rules that will be established through the data model.

c)

implementation.

d)

user training.

46.

In packaged data models, strong entities always have ________ between them.

a)

weak entities

b)

1:1 relationships

c)

1:M relationships

d)

M:N relationships

47.

In packaged data models, all subtype/supertype relationships follow the ________ and ________ rules.

a)

partial specialization; disjoint

b)

total specialization; disjoint

c)

total specialization; overlap

d)

partial specialization; overlap

48.

A subtype is a generic entity that has a relationship with one or more entities at a lower level.

a)

True

b)

False

49.

An entity instance of a subtype represents the same entity instance of the supertype.

a)

True

b)

False

50.

A member of a subtype does NOT necessarily have to be a member of the supertype.

a)

True

b)

False

51.

Supertype/subtype relationships should not be used when the instances of a subtype participate in no relationships which are unique to that subtype.

a)

True

b)

False

52.

One of the major challenges in data modeling is to recognize and clearly represent entities that are almost the same.

a)

True

b)

False

53.

The following figure is an example of total specialization.

a)

True

b)

False

54.

Specialization is the reverse of generalization.

a)

True

b)

False

55.

The total specialization rule states that an entity instance of a supertype is allowed not to belong to any subtype.

a)

True

b)

False

56.

Generalization is a top-down process.

a)

True

b)

False

57.

A completeness constraint may specify that each entity of the supertype must be a member of some subtype in the relationship.

a)

True

b)

False

58.

When the total specialization rule is set for a supertype/subtype relationship, one could roughly compare the supertype to an abstract class in object-oriented programming.

a)

True

b)

False

59.

The disjoint rule specifies that if an entity instance of the supertype is a member of one subtype, it MUST simultaneously be a member of another subtype.

a)

True

b)

False

60.

The overlap rule specifies that if an entity instance of the supertype is a member of one subtype, it can simultaneously be a member of two (or more) subtypes.

a)

True

b)

False

61.

The following figure is an example of the overlap rule.

a)

True

b)

False

62.

When subtypes are overlapping, an additional field must be added to the supertype to act as a discriminator.

a)

True

b)

False

63.

There are three separate discriminators in the diagram of ROOM with subtypes CLASSROOM, LABORATORY, and OFFICE because of the overlap rule.

a)

True

b)

False

64.

A subtype can become a supertype if the subtype has other subtypes beneath it.

a)

True

b)

False

65.

The diagram of PERSON with subtypes FACULTY, STUDENT, and STAFF, and STUDENT further specialized into UNDERGRADUATE and GRADUATE, is an example of a supertype/subtype hierarchy.

a)

True

b)

False

66.

In a supertype/subtype hierarchy, attributes are assigned at the highest logical level that is possible in the hierarchy.

a)

True

b)

False

67.

Subtypes at the lowest level of a hierarchy do not inherit attributes from their ancestors.

a)

True

b)

False