Deck 6: Relational Databases and SQL

ملء الشاشة (f)
exit full mode
سؤال
The cardinality constraint is used to specify both the minimum and maximum participation of one entity in the relationship with the other entity.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
A legacy system is one that has existed in an organization for less than one year.
سؤال
The notation of (1,1)is used to specify the relationship type of one-to-many.
سؤال
Relationships map and define the way in which data can be extracted from a database.
سؤال
The notation 1:N is used to specify the relationship type of one-to-many.
سؤال
Attributes are often called fields.
سؤال
A collection of data representing multiple occurrences of a resource,event,or agent is known as a relation.
سؤال
A set of data that describes a single instance of the entity represented by a relation is known as a tuple.
سؤال
The first step in identifying all the relationships that should be included in a model is to identify users' existing and desired information.
سؤال
The customer street address is often used as the key attribute in an REA diagram.
سؤال
A primary attribute is the attribute whose value is unique for every entity that will appear in the database.
سؤال
In an REA diagram,the rectangle is used to represent the composite attribute.
سؤال
A recursive relationship occurs between two different instances of an entity.
سؤال
REA stands for resources,entities and agents.
سؤال
The cardinality constraint is used less frequently than the participation constraint.
سؤال
An entity in an accounting system can be classified as a resource,event or agent about which data are collected.
سؤال
A recursive relationship is created when there is an employee being supervised,and another employee is the supervisor.
سؤال
Representing supervisors and their employees as separate entities in the model can lead to data redundancy.
سؤال
The fundamental requirement for moving toward an event-driven model is the complete integration of data related to an organization's business events.
سؤال
A model is a complex representation of a simple entity or phenomenon.
سؤال
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.
سؤال
The DELETE command is used when we want to change one or more attribute values.
سؤال
Spreadsheets that are kept offline to an organization's enterprise systems can improve internal control.
سؤال
A missing value is called a non-null.
سؤال
Queries of a database are driven by SELECT commands.
سؤال
Which of the following is the entity or agent?

A) Client
B) client number
C) client name
D) client street address
سؤال
The DELETE command is the method used to delete a tuple from a relation.
سؤال
The UPDATE command demonstrates one of the weaknesses in most forms of SQL.
سؤال
The INSERT command is used to add a single tuple to an existing relation.
سؤال
The secondary key is specified to uniquely identity each tuple in the relation.
سؤال
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.
سؤال
Business intelligence (BI)has been ranked as one of the top nine "key areas" of current developments in business information technology.
سؤال
Which of the following is the key attribute?

A) Client
B) client number
C) client name
D) client street address
سؤال
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
سؤال
Most DBMS available today that include SQL also include mechanisms within the DBMS itself for establishing and enforcing referential integrity.
سؤال
An entity can be classified as all of the following except:

A) resource
B) event
C) tuple
D) agent
سؤال
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.
سؤال
A(n)____ is an item of data that characterizes an entity or relationship.

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

A) Client
B) client number
C) client name
D) client street address
سؤال
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
سؤال
A key attribute is the attribute whose value is:

A) undeterminable
B) unique
C) large
D) the same for all attributes
سؤال
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
سؤال
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
سؤال
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.
سؤال
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
سؤال
____ 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
سؤال
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
سؤال
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
سؤال
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
سؤال
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.
سؤال
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
سؤال
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.
سؤال
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
سؤال
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)
سؤال
Which relationship type does (1:N)mean?

A) one-to-many
B) one-to-one
C) one-to-few
D) many-to-many
سؤال
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
سؤال
____ 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
سؤال
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
سؤال
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
سؤال
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
سؤال
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
سؤال
A(n)______________________________ attribute is the attribute whose value is unique for every entity that will ever appear in the database.
سؤال
A(n)______________________________ is an item of data that characterizes an entity or relationship.
سؤال
Attributes that consist of multiple subattributes are referred to as ______________________________.
سؤال
In a relational database,the entity is represented as a(n):

A) Table
B) Network
C) Field
D) Attribute
سؤال
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
سؤال
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
سؤال
Which of the following is a valid SQL command?

A) MODIFY
B) INSERT
C) ADD
D) APPEND
سؤال
A(n)______________________________ relationship occurs between two different instances of an entity.
سؤال
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
سؤال
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
سؤال
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
سؤال
A(n)______________________________ in an accounting system can be classified as a resource,event,or agent about which data is collected.
سؤال
______________________________ map and define the way in which data can be extracted from a database.
سؤال
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
سؤال
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
سؤال
A simplified representation of a complex entity is a(n):

A) instance
B) attribute
C) model
D) relationship
سؤال
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 Deck
1/102
auto play flashcards
العب
simple tutorial
ملء الشاشة (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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
5
The notation 1:N is used to specify the relationship type of one-to-many.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
6
Attributes are often called fields.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
7
A collection of data representing multiple occurrences of a resource,event,or agent is known as a relation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
10
The customer street address is often used as the key attribute in an REA diagram.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
11
A primary attribute is the attribute whose value is unique for every entity that will appear in the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
12
In an REA diagram,the rectangle is used to represent the composite attribute.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
13
A recursive relationship occurs between two different instances of an entity.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
14
REA stands for resources,entities and agents.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
15
The cardinality constraint is used less frequently than the participation constraint.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
16
An entity in an accounting system can be classified as a resource,event or agent about which data are collected.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
17
A recursive relationship is created when there is an employee being supervised,and another employee is the supervisor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
18
Representing supervisors and their employees as separate entities in the model can lead to data redundancy.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
20
A model is a complex representation of a simple entity or phenomenon.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
22
The DELETE command is used when we want to change one or more attribute values.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
23
Spreadsheets that are kept offline to an organization's enterprise systems can improve internal control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
24
A missing value is called a non-null.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
25
Queries of a database are driven by SELECT commands.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
27
The DELETE command is the method used to delete a tuple from a relation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
28
The UPDATE command demonstrates one of the weaknesses in most forms of SQL.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
29
The INSERT command is used to add a single tuple to an existing relation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
30
The secondary key is specified to uniquely identity each tuple in the relation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
33
Which of the following is the key attribute?

A) Client
B) client number
C) client name
D) client street address
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
35
Most DBMS available today that include SQL also include mechanisms within the DBMS itself for establishing and enforcing referential integrity.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
36
An entity can be classified as all of the following except:

A) resource
B) event
C) tuple
D) agent
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
39
Composite attributes consist of multiple subattributes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
40
A relation in an ER model is the same as an entity in the REA model.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
41
Which of the following is a composite attribute?

A) Client
B) client number
C) client name
D) client street address
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
64
A(n)______________________________ attribute is the attribute whose value is unique for every entity that will ever appear in the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
65
A(n)______________________________ is an item of data that characterizes an entity or relationship.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
66
Attributes that consist of multiple subattributes are referred to as ______________________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
67
In a relational database,the entity is represented as a(n):

A) Table
B) Network
C) Field
D) Attribute
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
70
Which of the following is a valid SQL command?

A) MODIFY
B) INSERT
C) ADD
D) APPEND
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
71
A(n)______________________________ relationship occurs between two different instances of an entity.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
75
A(n)______________________________ in an accounting system can be classified as a resource,event,or agent about which data is collected.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
76
______________________________ map and define the way in which data can be extracted from a database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
79
A simplified representation of a complex entity is a(n):

A) instance
B) attribute
C) model
D) relationship
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 102 في هذه المجموعة.