Deck 6: Relational Databases and SQL

Full screen (f)
exit full mode
Question
The cardinality constraint is used to specify both the minimum and maximum participation of one entity in the relationship with the other entity.
Use Space or
up arrow
down arrow
to flip the card.
Question
A legacy system is one that has existed in an organization for less than one year.
Question
The notation of (1,1)is used to specify the relationship type of one-to-many.
Question
Relationships map and define the way in which data can be extracted from a database.
Question
The notation 1:N is used to specify the relationship type of one-to-many.
Question
Attributes are often called fields.
Question
A collection of data representing multiple occurrences of a resource,event,or agent is known as a relation.
Question
A set of data that describes a single instance of the entity represented by a relation is known as a tuple.
Question
The first step in identifying all the relationships that should be included in a model is to identify users' existing and desired information.
Question
The customer street address is often used as the key attribute in an REA diagram.
Question
A primary attribute is the attribute whose value is unique for every entity that will appear in the database.
Question
In an REA diagram,the rectangle is used to represent the composite attribute.
Question
A recursive relationship occurs between two different instances of an entity.
Question
REA stands for resources,entities and agents.
Question
The cardinality constraint is used less frequently than the participation constraint.
Question
An entity in an accounting system can be classified as a resource,event or agent about which data are collected.
Question
A recursive relationship is created when there is an employee being supervised,and another employee is the supervisor.
Question
Representing supervisors and their employees as separate entities in the model can lead to data redundancy.
Question
The fundamental requirement for moving toward an event-driven model is the complete integration of data related to an organization's business events.
Question
A model is a complex representation of a simple entity or phenomenon.
Question
Knowledge management uses state-of-the art information technologies for storing and analyzing data to help managers make the best possible decisions for their companies.
Question
The DELETE command is used when we want to change one or more attribute values.
Question
Spreadsheets that are kept offline to an organization's enterprise systems can improve internal control.
Question
A missing value is called a non-null.
Question
Queries of a database are driven by SELECT commands.
Question
Which of the following is the entity or agent?

A) Client
B) client number
C) client name
D) client street address
Question
The DELETE command is the method used to delete a tuple from a relation.
Question
The UPDATE command demonstrates one of the weaknesses in most forms of SQL.
Question
The INSERT command is used to add a single tuple to an existing relation.
Question
The secondary key is specified to uniquely identity each tuple in the relation.
Question
SQL is a powerful database language that can be used to define database systems,query the database for information,generate reports from the database,and access databases from within programs using embedded commands.
Question
Business intelligence (BI)has been ranked as one of the top nine "key areas" of current developments in business information technology.
Question
Which of the following is the key attribute?

A) Client
B) client number
C) client name
D) client street address
Question
A(n)____ of an entity is one specific thing of the type defined by the entity.

A) agent
B) composite attribute
C) attribute
D) instance
Question
Most DBMS available today that include SQL also include mechanisms within the DBMS itself for establishing and enforcing referential integrity.
Question
An entity can be classified as all of the following except:

A) resource
B) event
C) tuple
D) agent
Question
Relational integrity specifies that for every attribute value in one relation that has been specified to allow reference to another relation,the tuple being referenced must remain intact.
Question
A(n)____ is an item of data that characterizes an entity or relationship.

A) agent
B) composite attribute
C) attribute
D) instance
Question
Composite attributes consist of multiple subattributes.
Question
A relation in an ER model is the same as an entity in the REA model.
Question
Which of the following is a composite attribute?

A) Client
B) client number
C) client name
D) client street address
Question
Legacy systems do not usually have which of the following characteristics?

A) developed on previous hardware (and/or software)platforms
B) are easily adaptable to enterprise systems
C) have been used by an organization for a long period of time
D) all of the above are typical characteristics of legacy systems
Question
A key attribute is the attribute whose value is:

A) undeterminable
B) unique
C) large
D) the same for all attributes
Question
Customers of Hanson Company,a home furnishings wholesaler,place orders by contacting a sales representative via a toll-free number.Which is the appropriate relationship type for this relationship? <strong>Customers of Hanson Company,a home furnishings wholesaler,place orders by contacting a sales representative via a toll-free number.Which is the appropriate relationship type for this relationship?  </strong> A) 1:1 B) 1:N C) N:M D) N:1 <div style=padding-top: 35px>

A) 1:1
B) 1:N
C) N:M
D) N:1
Question
Common aspects of business intelligence include:

A) access to massive amounts of data
B) use spreadsheets
C) does not require an extensive overhaul of the information system
D) all of the above
Question
Which of the following statements about the participation constraint is false?

A) It specifies the degree of minimum participation of one entity in the relationship with the other entity.
B) The constraint is either 1 or 0.
C) It is the most common constraint in E-R diagrams.
D) It provides more information than the cardinality constraint.
Question
The sequence of steps in identifying relationships in a model is:

A) evaluate entities as pairs,identify user existing and desired information,evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked
B) identify user's existing and desired information,evaluate entities as pairs,evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked
C) evaluate entities as pairs,evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked,identify user existing and desired information
D) evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked,evaluate entities as pairs,identify user existing and desired information
Question
____ specifies that for every attribute value in one relation that has been specified in order to allow reference to another relation,the tuple being referenced must remain intact.

A) Cardinality constraint
B) Participation constraint
C) Referential integrity
D) Economic constraint
Question
For the following entity and attribute model,what would be the key attribute of the Students entity? <strong>For the following entity and attribute model,what would be the key attribute of the Students entity?  </strong> A) social security number B) name C) address D) street <div style=padding-top: 35px>

A) social security number
B) name
C) address
D) street
Question
A set of data that describes a single instance of the entity represented by a relation is known as a(n)____.

A) tuple
B) resource
C) agent
D) event
Question
In a relational database,a relation is defined as a collection of data representing multiple occurrences of the following except:

A) a resource
B) an event
C) an activity
D) an agent
Question
The cardinality constraint:

A) specifies the degree of minimum participation of one entity in the relationship with the other entity.
B) provides more information than the participation constraint.
C) is the most common constraint specified in E-R diagrams.
D) all of the above.
Question
Which of the following is an attribute but least likely to be the key attribute?

A) Client
B) client number
C) client name
D) client street address
Question
Which of following is not a step in the process for specifying relations based on REA diagrams?

A) Determine the attributes for each of the entities.
B) Determine the number of tables.
C) Create a separate relational table for each entity.
D) Implement the relationships among the entities.
Question
The constraint that is specifies the degree of minimum participation of one entity in the relationship with the other entity is called:

A) cardinality constraint
B) participation constraint
C) economic constraint
D) logical constraint
Question
Students at Macom University use a Web-based course registration system.Identify the participation constraint of the following data model relationship.The university maintains student records until they graduate or do not enroll in a course for a 3-year period. <strong>Students at Macom University use a Web-based course registration system.Identify the participation constraint of the following data model relationship.The university maintains student records until they graduate or do not enroll in a course for a 3-year period.  </strong> A) N:M B) 1:N C) (1,1):(0,N) D) (1,1):(1,N) <div style=padding-top: 35px>

A) N:M
B) 1:N
C) (1,1):(0,N)
D) (1,1):(1,N)
Question
Which relationship type does (1:N)mean?

A) one-to-many
B) one-to-one
C) one-to-few
D) many-to-many
Question
The mapping of the relationships between entities would be used in the development of a(n):

A) context diagram
B) logical DFD
C) physical DFD
D) REA Model
Question
____ are defined as a set of data that describes an instance of the entity represented by a relation.

A) Attributes
B) Tuples
C) Primary keys
D) Candidate keys
Question
Which of the following is not a relationship type?

A) one-to-many
B) one-to-one
C) one-to-few
D) many-to-many
Question
Refer to Exhibit 6-1.Which of the following SQL statements would extract the client number and date for every instance that an employee worked less than 8 hours any particular day?

A) QUERY BILLING_HOURS
SELECT Client_No,Date
WHERE Hours<8
B) QUERY Client_No,Date
FROM BILLING_HOURS
WHERE Hours>8
C) SELECT Client_No,Date
WHERE Hours<8
D) SELECT Client_No,Date
FROM BILLING_HOURS
WHERE Hours<8
Question
Refer to Exhibit 6-1.Which of the following SQL statements would extract the client number and date for every instance that had a billing rate of $150?

A) QUERY BILLING_HOURS
SELECT Client_No,Date
WHERE Rate=150
B) QUERY Client_No,Date
FROM BILLING_HOURS
WHERE Rate=150
C) SELECT Client_No,Date
WHERE Rate=150
D) SELECT Client_No,Date
FROM BILLING_HOURS
WHERE Rate=150
Question
Which is not a step in creating a relation using SQL?

A) assign the relation a name
B) assign each attribute a name
C) specify the constraints on the attributes
D) specify the attributes of the constraints
Question
A(n)______________________________ attribute is the attribute whose value is unique for every entity that will ever appear in the database.
Question
A(n)______________________________ is an item of data that characterizes an entity or relationship.
Question
Attributes that consist of multiple subattributes are referred to as ______________________________.
Question
In a relational database,the entity is represented as a(n):

A) Table
B) Network
C) Field
D) Attribute
Question
Refer to Exhibit 6-1.Which of the following SQL statements would extract the employee number and date for every instance that had a billing rate of $150?

A) SELECT Employee_No,Date
FROM BILLING_HOURS
WHERE Rate=150
B) QUERY Employee_No,Date
FROM BILLING_HOURS
WHERE Rate=150
C) SELECT Employee_No,Date
WHERE Rate=150
D) QUERY BILLING_HOURS
SELECT Employee_No,Date
WHERE Hours>8
Question
A situation in which a particular supplier provides more than one type of inventory item to a firm and a particular type of inventory item is acquired from more than a single supplier is called a(n):

A) one-to-one relationship
B) one-to-many relationship
C) many-to-many relationship
D) entity relationship
Question
Which of the following is a valid SQL command?

A) MODIFY
B) INSERT
C) ADD
D) APPEND
Question
A(n)______________________________ relationship occurs between two different instances of an entity.
Question
Refer to Exhibit 6-1.Which of the following SQL statements would extract the employee number and date for every instance that an employee worked more than 8 hours any particular day?

A) SELECT Employee_No,Date
FROM BILLING_HOURS
WHERE Hours>8
B) QUERY Employee_No,Date
FROM BILLING_HOURS
WHERE Hours>8
C) SELECT Employee_No,Date
WHERE Hours>8
D) QUERY BILLING_HOURS
SELECT Employee_No,Date
WHERE Hours>8
Question
Which of the following is not a proper SQL command for creating database relations?

A) Create table employee
B) Create table training_completed
C) Create client
D) Alter table release_time
Question
Which of the following commands allow us to join data across multiple tables to link specific pieces of information that are of interest?

A) Select
B) Project
C) Join
D) Display
Question
A(n)______________________________ in an accounting system can be classified as a resource,event,or agent about which data is collected.
Question
______________________________ map and define the way in which data can be extracted from a database.
Question
The following E-R diagram shows a M:N relationship between two relations.To map this E-R diagram into a logical database model: <strong>The following E-R diagram shows a M:N relationship between two relations.To map this E-R diagram into a logical database model:  </strong> A) divide the content of the Course relation to establish two relations having 1:N relationships B) add the primary key of the Student relation as an attribute in the Course relation C) create a new relation whose primary key is a composite of the primary keys of two relations D) add the primary key of the Course relation as an attribute in the Student relation <div style=padding-top: 35px>

A) divide the content of the Course relation to establish two relations having 1:N relationships
B) add the primary key of the Student relation as an attribute in the Course relation
C) create a new relation whose primary key is a composite of the primary keys of two relations
D) add the primary key of the Course relation as an attribute in the Student relation
Question
The SELECT statement has all but one of the following parts:

A) a list of attributes that we wish to SELECT from the database
B) a WHEN clause
C) a list of tables where these attributes can be found
D) a WHERE clause
Question
A simplified representation of a complex entity is a(n):

A) instance
B) attribute
C) model
D) relationship
Question
Which is not an SQL command in which data can be changed in the database?

A) INSERT
B) DELETE
C) UPDATE
D) CREATE
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/102
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 6: Relational Databases and SQL
1
The cardinality constraint is used to specify both the minimum and maximum participation of one entity in the relationship with the other entity.
False
2
A legacy system is one that has existed in an organization for less than one year.
False
3
The notation of (1,1)is used to specify the relationship type of one-to-many.
False
4
Relationships map and define the way in which data can be extracted from a database.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
5
The notation 1:N is used to specify the relationship type of one-to-many.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
6
Attributes are often called fields.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
7
A collection of data representing multiple occurrences of a resource,event,or agent is known as a relation.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
8
A set of data that describes a single instance of the entity represented by a relation is known as a tuple.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
9
The first step in identifying all the relationships that should be included in a model is to identify users' existing and desired information.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
10
The customer street address is often used as the key attribute in an REA diagram.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
11
A primary attribute is the attribute whose value is unique for every entity that will appear in the database.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
12
In an REA diagram,the rectangle is used to represent the composite attribute.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
13
A recursive relationship occurs between two different instances of an entity.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
14
REA stands for resources,entities and agents.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
15
The cardinality constraint is used less frequently than the participation constraint.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
16
An entity in an accounting system can be classified as a resource,event or agent about which data are collected.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
17
A recursive relationship is created when there is an employee being supervised,and another employee is the supervisor.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
18
Representing supervisors and their employees as separate entities in the model can lead to data redundancy.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
19
The fundamental requirement for moving toward an event-driven model is the complete integration of data related to an organization's business events.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
20
A model is a complex representation of a simple entity or phenomenon.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
21
Knowledge management uses state-of-the art information technologies for storing and analyzing data to help managers make the best possible decisions for their companies.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
22
The DELETE command is used when we want to change one or more attribute values.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
23
Spreadsheets that are kept offline to an organization's enterprise systems can improve internal control.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
24
A missing value is called a non-null.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
25
Queries of a database are driven by SELECT commands.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
26
Which of the following is the entity or agent?

A) Client
B) client number
C) client name
D) client street address
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
27
The DELETE command is the method used to delete a tuple from a relation.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
28
The UPDATE command demonstrates one of the weaknesses in most forms of SQL.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
29
The INSERT command is used to add a single tuple to an existing relation.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
30
The secondary key is specified to uniquely identity each tuple in the relation.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
31
SQL is a powerful database language that can be used to define database systems,query the database for information,generate reports from the database,and access databases from within programs using embedded commands.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
32
Business intelligence (BI)has been ranked as one of the top nine "key areas" of current developments in business information technology.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
33
Which of the following is the key attribute?

A) Client
B) client number
C) client name
D) client street address
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
34
A(n)____ of an entity is one specific thing of the type defined by the entity.

A) agent
B) composite attribute
C) attribute
D) instance
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
35
Most DBMS available today that include SQL also include mechanisms within the DBMS itself for establishing and enforcing referential integrity.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
36
An entity can be classified as all of the following except:

A) resource
B) event
C) tuple
D) agent
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
37
Relational integrity specifies that for every attribute value in one relation that has been specified to allow reference to another relation,the tuple being referenced must remain intact.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
38
A(n)____ is an item of data that characterizes an entity or relationship.

A) agent
B) composite attribute
C) attribute
D) instance
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
39
Composite attributes consist of multiple subattributes.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
40
A relation in an ER model is the same as an entity in the REA model.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
41
Which of the following is a composite attribute?

A) Client
B) client number
C) client name
D) client street address
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
42
Legacy systems do not usually have which of the following characteristics?

A) developed on previous hardware (and/or software)platforms
B) are easily adaptable to enterprise systems
C) have been used by an organization for a long period of time
D) all of the above are typical characteristics of legacy systems
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
43
A key attribute is the attribute whose value is:

A) undeterminable
B) unique
C) large
D) the same for all attributes
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
44
Customers of Hanson Company,a home furnishings wholesaler,place orders by contacting a sales representative via a toll-free number.Which is the appropriate relationship type for this relationship? <strong>Customers of Hanson Company,a home furnishings wholesaler,place orders by contacting a sales representative via a toll-free number.Which is the appropriate relationship type for this relationship?  </strong> A) 1:1 B) 1:N C) N:M D) N:1

A) 1:1
B) 1:N
C) N:M
D) N:1
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
45
Common aspects of business intelligence include:

A) access to massive amounts of data
B) use spreadsheets
C) does not require an extensive overhaul of the information system
D) all of the above
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
46
Which of the following statements about the participation constraint is false?

A) It specifies the degree of minimum participation of one entity in the relationship with the other entity.
B) The constraint is either 1 or 0.
C) It is the most common constraint in E-R diagrams.
D) It provides more information than the cardinality constraint.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
47
The sequence of steps in identifying relationships in a model is:

A) evaluate entities as pairs,identify user existing and desired information,evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked
B) identify user's existing and desired information,evaluate entities as pairs,evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked
C) evaluate entities as pairs,evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked,identify user existing and desired information
D) evaluate each entity to determine if there is any need for two occurrences of the same entity type to be linked,evaluate entities as pairs,identify user existing and desired information
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
48
____ specifies that for every attribute value in one relation that has been specified in order to allow reference to another relation,the tuple being referenced must remain intact.

A) Cardinality constraint
B) Participation constraint
C) Referential integrity
D) Economic constraint
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
49
For the following entity and attribute model,what would be the key attribute of the Students entity? <strong>For the following entity and attribute model,what would be the key attribute of the Students entity?  </strong> A) social security number B) name C) address D) street

A) social security number
B) name
C) address
D) street
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
50
A set of data that describes a single instance of the entity represented by a relation is known as a(n)____.

A) tuple
B) resource
C) agent
D) event
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
51
In a relational database,a relation is defined as a collection of data representing multiple occurrences of the following except:

A) a resource
B) an event
C) an activity
D) an agent
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
52
The cardinality constraint:

A) specifies the degree of minimum participation of one entity in the relationship with the other entity.
B) provides more information than the participation constraint.
C) is the most common constraint specified in E-R diagrams.
D) all of the above.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
53
Which of the following is an attribute but least likely to be the key attribute?

A) Client
B) client number
C) client name
D) client street address
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
54
Which of following is not a step in the process for specifying relations based on REA diagrams?

A) Determine the attributes for each of the entities.
B) Determine the number of tables.
C) Create a separate relational table for each entity.
D) Implement the relationships among the entities.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
55
The constraint that is specifies the degree of minimum participation of one entity in the relationship with the other entity is called:

A) cardinality constraint
B) participation constraint
C) economic constraint
D) logical constraint
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
56
Students at Macom University use a Web-based course registration system.Identify the participation constraint of the following data model relationship.The university maintains student records until they graduate or do not enroll in a course for a 3-year period. <strong>Students at Macom University use a Web-based course registration system.Identify the participation constraint of the following data model relationship.The university maintains student records until they graduate or do not enroll in a course for a 3-year period.  </strong> A) N:M B) 1:N C) (1,1):(0,N) D) (1,1):(1,N)

A) N:M
B) 1:N
C) (1,1):(0,N)
D) (1,1):(1,N)
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
57
Which relationship type does (1:N)mean?

A) one-to-many
B) one-to-one
C) one-to-few
D) many-to-many
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
58
The mapping of the relationships between entities would be used in the development of a(n):

A) context diagram
B) logical DFD
C) physical DFD
D) REA Model
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
59
____ are defined as a set of data that describes an instance of the entity represented by a relation.

A) Attributes
B) Tuples
C) Primary keys
D) Candidate keys
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
60
Which of the following is not a relationship type?

A) one-to-many
B) one-to-one
C) one-to-few
D) many-to-many
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
61
Refer to Exhibit 6-1.Which of the following SQL statements would extract the client number and date for every instance that an employee worked less than 8 hours any particular day?

A) QUERY BILLING_HOURS
SELECT Client_No,Date
WHERE Hours<8
B) QUERY Client_No,Date
FROM BILLING_HOURS
WHERE Hours>8
C) SELECT Client_No,Date
WHERE Hours<8
D) SELECT Client_No,Date
FROM BILLING_HOURS
WHERE Hours<8
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
62
Refer to Exhibit 6-1.Which of the following SQL statements would extract the client number and date for every instance that had a billing rate of $150?

A) QUERY BILLING_HOURS
SELECT Client_No,Date
WHERE Rate=150
B) QUERY Client_No,Date
FROM BILLING_HOURS
WHERE Rate=150
C) SELECT Client_No,Date
WHERE Rate=150
D) SELECT Client_No,Date
FROM BILLING_HOURS
WHERE Rate=150
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
63
Which is not a step in creating a relation using SQL?

A) assign the relation a name
B) assign each attribute a name
C) specify the constraints on the attributes
D) specify the attributes of the constraints
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
64
A(n)______________________________ attribute is the attribute whose value is unique for every entity that will ever appear in the database.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
65
A(n)______________________________ is an item of data that characterizes an entity or relationship.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
66
Attributes that consist of multiple subattributes are referred to as ______________________________.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
67
In a relational database,the entity is represented as a(n):

A) Table
B) Network
C) Field
D) Attribute
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
68
Refer to Exhibit 6-1.Which of the following SQL statements would extract the employee number and date for every instance that had a billing rate of $150?

A) SELECT Employee_No,Date
FROM BILLING_HOURS
WHERE Rate=150
B) QUERY Employee_No,Date
FROM BILLING_HOURS
WHERE Rate=150
C) SELECT Employee_No,Date
WHERE Rate=150
D) QUERY BILLING_HOURS
SELECT Employee_No,Date
WHERE Hours>8
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
69
A situation in which a particular supplier provides more than one type of inventory item to a firm and a particular type of inventory item is acquired from more than a single supplier is called a(n):

A) one-to-one relationship
B) one-to-many relationship
C) many-to-many relationship
D) entity relationship
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
70
Which of the following is a valid SQL command?

A) MODIFY
B) INSERT
C) ADD
D) APPEND
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
71
A(n)______________________________ relationship occurs between two different instances of an entity.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
72
Refer to Exhibit 6-1.Which of the following SQL statements would extract the employee number and date for every instance that an employee worked more than 8 hours any particular day?

A) SELECT Employee_No,Date
FROM BILLING_HOURS
WHERE Hours>8
B) QUERY Employee_No,Date
FROM BILLING_HOURS
WHERE Hours>8
C) SELECT Employee_No,Date
WHERE Hours>8
D) QUERY BILLING_HOURS
SELECT Employee_No,Date
WHERE Hours>8
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
73
Which of the following is not a proper SQL command for creating database relations?

A) Create table employee
B) Create table training_completed
C) Create client
D) Alter table release_time
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
74
Which of the following commands allow us to join data across multiple tables to link specific pieces of information that are of interest?

A) Select
B) Project
C) Join
D) Display
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
75
A(n)______________________________ in an accounting system can be classified as a resource,event,or agent about which data is collected.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
76
______________________________ map and define the way in which data can be extracted from a database.
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
77
The following E-R diagram shows a M:N relationship between two relations.To map this E-R diagram into a logical database model: <strong>The following E-R diagram shows a M:N relationship between two relations.To map this E-R diagram into a logical database model:  </strong> A) divide the content of the Course relation to establish two relations having 1:N relationships B) add the primary key of the Student relation as an attribute in the Course relation C) create a new relation whose primary key is a composite of the primary keys of two relations D) add the primary key of the Course relation as an attribute in the Student relation

A) divide the content of the Course relation to establish two relations having 1:N relationships
B) add the primary key of the Student relation as an attribute in the Course relation
C) create a new relation whose primary key is a composite of the primary keys of two relations
D) add the primary key of the Course relation as an attribute in the Student relation
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
78
The SELECT statement has all but one of the following parts:

A) a list of attributes that we wish to SELECT from the database
B) a WHEN clause
C) a list of tables where these attributes can be found
D) a WHERE clause
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
79
A simplified representation of a complex entity is a(n):

A) instance
B) attribute
C) model
D) relationship
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
80
Which is not an SQL command in which data can be changed in the database?

A) INSERT
B) DELETE
C) UPDATE
D) CREATE
Unlock Deck
Unlock for access to all 102 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 102 flashcards in this deck.