Database Systems Chapter 2 – Flashcards

Unlock all answers in this set

Unlock answers
question
Data modeling may be the most important part of the systems development process because:
answer
data characteristics are important in the design of programs and other systems components.
question
The logical representation of an organization's data is called a(n):
answer
entity-relationship model.
question
The common types of entities are:
answer
strong entities, weak entities, and associative entities(all of the above)
question
In an E-R diagram, there are ________ business rule(s) for every relationship.
answer
two
question
Business policies and rules govern all of the following EXCEPT
answer
managing employees
question
A business rule:
answer
defines or constrains some aspect of the business. asserts business structure. controls or influences the behavior of the business. (all of the above)
question
Which of the following is NOT a characteristic of a good business rule?
answer
Inconsistent
question
Which of the following is NOT a good characteristic of a data name?
answer
Relates to a technical characteristic of the system
question
A fact is an association between two or more:
answer
terms
question
A good data definition will describe all of the characteristics of a data object EXCEPT:
answer
who can delete the data
question
Customers, cars, and parts are examples of
answer
entities
question
Which of the following is an entity type on which a strong entity depends?
answer
Owner Member Attribute D) None of the above is the answer
question
An entity type whose existence depends on another entity type is called a ________ entity.
answer
weak
question
A(n) ________ is the relationship between a weak entity type and its owner.
answer
identifying relationship
question
An entity type name should be all of the following EXCEPT
answer
as short as possible
question
A property or characteristic of an entity type that is of interest to the organization is called a(n):
answer
attribute
question
An attribute that must have a value for every entity (or relationship) instance is a(n):
answer
required attribute
question
A person's name, birthday, and social security number are all examples of
answer
attributes
question
An attribute of an entity that must have a value for each entity instance is a(n):
answer
required attribute
question
An attribute that can be broken down into smaller parts is called a(n) ________ attribute
answer
composite
question
a composite attribute
answer
The address attribute is
question
multivalued attribute
answer
The skill attribute is
question
derived
answer
The years employed attribute is
question
An attribute that can be calculated from related attribute values is called a(n) ________ attribute.
answer
derived
question
The total quiz points for a student for an entire semester is a(n) ________ attribute
answer
derived
question
Which of the following criteria should be considered when selecting an identifier?
answer
Choose an identifier that is stable. Choose an identifier that will not be null. Choose an identifier that doesn't have large composite attributes. (All of the above)
question
An attribute that uniquely identifies an entity and consists of a composite attribute is called a(n):
answer
composite identifier
question
An entity that associates the instances of one or more entity types and contains attributes specific to the relationships is called a(n):
answer
associative entity
question
Which of the following conditions should exist if an associative entity is to be created?
answer
All the relationships for the participating entities are many-to-many. The new associative entity has independent meaning. The new associative entity participates in independent relationships. (all of the above)
question
The number of entity types that participate in a relationship is called the:
answer
degree
question
A relationship between the instances of a single entity type is called a(n) ________ relationship
answer
unary
question
A student can attend five classes, each with a different professor. Each professor has 30 students. The relationship of students to professors is a ________ relationship.
answer
many-to-many
question
Ternary
answer
In the following diagram, what type of relationship is depicted?
question
It depicts a unary relationship. It depicts a many-to-many relationship. There is an associative entity. (All of the above)
answer
In the following diagram, which is true?
question
A ________ specifies the number of instances of one entity that can be associated with each instance of another entity.
answer
cardinality constraint
question
A simultaneous relationship among the instances of three entity types is called a(n) ________ relationship.
answer
ternary
question
A person can marry at most one person.
answer
In the figure shown below, which of the following is true?
question
A relationship where the minimum and maximum cardinality are both one is a(n) ________ relationship.
answer
mandatory one
question
A department can have more than one employee.
answer
For the relationship represented in the figure below, which of the following is true?
question
Each patient has one or more patient histories. Each patient history belongs to one and only one patient. (both A and C)
answer
In the following diagram, which of the answers below is true?
question
Each vendor can supply many parts to any number of warehouses, but need not supply any parts.
answer
In the figure shown below, which of the following business rules would apply?
question
A value that indicates the date or time of a data value is called a(n):
answer
time stamp.
question
Each employee can supervise one to many employees
answer
In the following diagram, which answer is true?
question
A mutually exclusive relationship is one in which:
answer
an entity instance can participate in only one of several alternative relationships.
question
Most systems developers believe that data modeling is the least important part of the systems development process.
answer
FALSE
question
Data, rather than processes, are the most complex aspects of many modern information systems
answer
TRUE
question
The E-R model is used to construct a conceptual model.
answer
TRUE
question
In an E-R diagram, strong entities are represented by double-walled rectangles.
answer
FALSE
question
In an E-R diagram, an associative entity is represented by a rounded rectangle.
answer
TRUE
question
Data modeling is about documenting rules and policies of an organization that govern data.
answer
TRUE
question
One of the roles of a database analyst is to identify and understand rules that govern data.
answer
TRUE
question
The purpose of data modeling is to document business rules about processes.
answer
FALSE
question
A business rule is a statement that defines or constrains some aspect of the business.
answer
TRUE
question
The intent of a business rule is to break down business structure
answer
FALSE
question
Enforcement of business rules can be automated through the use of software tools that can interpret the rules and enforce them.
answer
TRUE
question
When systems are automatically generated and maintained, quality is diminished.
answer
FALSE
question
A business rule is a statement of how a policy is enforced or conducted.
answer
FALSE
question
While business rules are not redundant, a business rule can refer to another business rule.
answer
TRUE
question
A business rule should be internally consistent.
answer
TRUE
question
Business rules are formulated from a collection of business ramblings.
answer
FALSE
question
Data names should always relate to business characteristics.
answer
TRUE
question
Data names do not have to be unique.
answer
FALSE
question
An example of a term would be the following sentence: "A student registers for a course."
answer
FALSE
question
A fact is an association between two or more terms.
answer
TRUE
question
A good data definition is always accompanied by diagrams, such as the entity-relationship diagram.
answer
TRUE
question
An entity is a person, place, object, event, or concept in the user environment about which the organization wishes to maintain data.
answer
TRUE
question
A single occurrence of an entity is called an entity instance.
answer
TRUE
question
The relationship between a weak entity type and its owner is an identifying relationship.
answer
TRUE
question
An entity type on which a strong entity is dependent is called a covariant entity.
answer
FALSE
question
An entity type name should always be a singular noun.
answer
TRUE
question
The name used for an entity type should never be the same in other E-R diagrams on which the entity appears.
answer
FALSE
question
Some examples of attributes are: eye_color, weight, student_id, student.
answer
FALSE
question
A simple attribute can be broken down into smaller pieces.
answer
FALSE
question
An attribute whose values can be calculated from related attribute values is called a derived attribute.
answer
TRUE
question
A multivalued attribute may take on more than one value for a particular entity instance
answer
TRUE
question
FALSE
answer
In the figure below, one might want to create a single-attribute surrogate identifier to substitute for the composite identifier.
question
When choosing an identifier, choose one that will not change its value often.
answer
TRUE
question
It is desirable that no two attributes across all entity types have the same name.
answer
TRUE
question
It is not permissible to associate attributes with relationships.
answer
FALSE
question
A relationship instance is an association between entity instances where each relationship instance includes exactly one entity from each participating entity type.
answer
FALSE
question
One reason to use an associative entity is if the associative entity has one or more attributes in addition to the identifier.
answer
TRUE
question
The degree of a relationship is the number of attributes that are associated with it
answer
FALSE
question
The relationship between the instances of two entity types is called a binary relationship.
answer
TRUE
question
The relationship among the instances of three entity types is called a unary relationship.
answer
FALSE
question
A cardinality constraint tells what kinds of properties are associated with an entity.
answer
FALSE
question
The maximum criminality of a relationship is the maximum number of instances of entity B that may be associated with each instance of entity A.
answer
FALSE
question
Participation in a relationship may be optional or mandatory.
answer
TRUE
question
A ternary relationship is equivalent to three binary relationships.
answer
FALSE
question
A time stamp is a time value that is associated with a data value.
answer
TRUE
question
Relationships represent action being taken using a verb phrase.
answer
TRUE
question
On what premises are business rules based?
answer
A business rules approach is based on the following: 1. Because business rules are an expression of business policy, they are a core concept in an enterprise. 2. Natural language for end-users and a data model for developers can be used to state business rules.
question
What are some of the guidelines for good data names of objects in general?
answer
Data names always should: 1. Relate to the business not technical characteristics. Student would be a good name but not filest023. 2. Be meaningful so that the name tells what the object is about 3. Be unique 4. Be readable 5. Be composed of words taken from an approved list 6. Be repeatable 7. Follow a standard syntax
question
What is the difference between an entity type and an entity instance?
answer
Answer: An entity type is a collection of entities that share common properties. An entity instance is a single occurrence of an entity type. So, for example, STUDENT is an entity type and John Smith is an entity instance.
question
How is a strong entity different from a weak entity?
answer
Answer: A strong entity type exists independently of any other entities. A weak entity type depends on another (strong) entity type. When an instance of the strong entity type no longer exists, any weak entity instances which depend upon the strong entity cease to exist.
question
What is the difference between a simple attribute and a composite attribute?
answer
A simple attribute cannot be broken down into smaller components whereas a composite attribute can be. An example of a simple attribute is last name. An example of a composite attribute is mailing_address, which would have street, city, state and zip code as components.
question
What is a derived attribute, and how is it different from a stored attribute?
answer
Answer: A derived attribute is an attribute whose value can be calculated from other related attributes. A derived attribute is not stored in the physical table which is eventually created from the ERD. A stored attribute, as its name implies, is stored as a column in the physical table.
question
What is an associative entity? What four conditions should exist in order to convert a relationship to an associative entity?
answer
Answer: An associative entity is an entity type that associates the instances of one or more entity types and contains attributes that are peculiar to the relationship between those entity instances. Often, a many-to-many relationship is converted to an associative entity. The following four conditions should exist in order to do this: 1. All the relationships for the participating entities types are many relationships. 2. The resulting associative entity has independent meaning. 3. The associative entity has one or more attributes other than the identifier. 4. The associative entity participates in one or more relationships independent of the entities in the associative relationship.
question
What are the three different degrees of relationship?
answer
Answer: The thee possible degrees are: Unary (an instance of one entity is related to an instance of the same entity type), Binary (an entity instance of one type is related to an entity instance of another type) and Ternary (instance of three different types participate in a relationship).
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New