WorksheetsDBS 1
Total questions: 96
Worksheet time: 48mins
The DBMS acts as an interface between what two components of an enterprise-class database system?
Database application and the database
Data and the database
The user and the database application
Database application and SQL
Which of the following products was an early implementation of the relational model developed by E.F. Codd of IBM?
IDMS
DB2
dBase-II
R:base
The following are components of a database except ________ .
user data
metadata
reports
indexes
An application where only one user accesses the database at a given time is an example of a(n)
single-user database application
multiuser database application
e-commerce database application
data mining database application
An on-line commercial site such as Amazon.com is an example of a(n) ________ .
single-user database application
multiuser database application
e-commerce database application
data mining database application
Which of the following products was the first to implement true relational algebra in a PC DBMS?
IDMS
Oracle
dBase-II
R:base
SQL stands for ________ .
Structured Query Language
Sequential Query Language
Structured Question Language
Sequential Question Language
Because it contains a description of its own structure, a database is considered to be ________ .
described
metadata compatible
self-describing
an application program
The following are functions of a DBMS except ________ .
creating and processing forms
creating databases
creating databases
creating databases
Helping people keep track of things is the purpose of a(n) ________ .
database
table
instance
relationship
Which of the following products implemented the CODASYL DBTG model?
IDMS
DB2
dBase-II
R:base
An Enterprise Resource Planning application is an example of a(n) ________ .
single-user database application
multiuser database application
e-commerce database application
data mining database application
A DBMS that combines a DBMS and an application generator is ________ .
Microsoft's SQL Server
Microsoft's Access
IBM's DB2
Oracle Corporation's Oracle
You have run an SQL statement that asked the DBMS to display data in a table named USER_TABLES. The results include columns of data labeled "TableName," "NumberOfColumns" and "PrimaryKey." You are looking at ________ .
user data
metadata
A report
indexes
Which of the following is not considered to be a basic element of an enterprise-class database system?
users
database application
DBMS
COBOL programs
16. The DBMS that is most difficult to use is ________ .
Microsoft's SQL Server
Microsoft's Access
IBM's DB2
Oracle Corporation's Oracle
Which of the following data constraints would be used to specify that the value of cells in a column must be one of a specific set of possible values?
A. A domain constraint
B. A range constraint
C. An intrarelation constraint
D. An interrelation constraint
In a 1:N relationship, the foreign key is placed in:
either table without specifying parent and child tables.
the parent table.
the child table.
either the parent table or the child table.
Which of the following column properties specifies whether or not cells in a column must contain a data value?
Null status
Data type
Default value
Data constraints
A primary key should be defined as:
NULL.
NOT NULL.
Either of the above can be used.
None of the above are correct.
Which of the following column properties would be used to specify that cells in a column must contain a monetary value?
Null status
Data type
Default value
Data constraints
Which of the following situation requires the use of ID-dependent entities?
Association relationships only
Multivalued attributes only
Archetype/instance relationships only
All of the above use ID dependent entities
A foreign key is:
a column containing the primary key of another table.
used to define data types.
used to define null status.
all of the above are above correct.
Which of the following columns is(are) are required in a table?
A foreign key
An alternate key
A primary key
A surrogate key.
In a 1:1 relationship, the foreign key is placed in:
either table without specifying parent and child tables.
the parent table.
the child table.
either the parent table or the child table.
Which of the following column properties would be used to specify that cells in a column must be immediately filled with a monetary value of $10,000?
Null status
Data type
Default value
Data constraints
The identifier of an entity will become the ________ of the new table.
foreign key
main attribute
primary key
dentity key
Which of the following data constraints would be used to specify that the value of a cell in one column must be less than the value of a cell in another column in the same row of the same table?
A. A domain constraint
B. A range constraint
C. An intrarelation constraint
D. An interrelation constraint
A unique, DBMS-supplied identifier used as the primary key of a relation is called a(n):
primary key
foreign key
composite key.
surrogate key.
Which is not true about surrogate keys?
A. They are short.
B. They are fixed.
C. They have meaning to the user.
D. They are numeric.
For every relationship, how many possible types of actions are there when enforcing minimum cardinalities?
Two
Three
Four
Six
Which constraint requires that the binary relationship indicate all combinations that must appear in the ternary relationship?
A. MUST COVER
B. MUST NOT
C. Both of the above.
D. None of the above is correct.
Each entity is represented as a(n):
tuple.
table.
attribute.
file.
For every relationship, how many possible sets of minimum cardinalities are there?
Two
Three
Four
Six
If a relationship has a cascade updates constraint, then if ________ in the parent table is changed, then the same change will automatically be made to any corresponding foreign key value.
the primary key
any alternate key
a surrogate key
a foreign key
Which of the following column properties would be used to specify that cells in a column must contain a monetary value that is less than another monetary value in the same row?
Null status
Data type
Default value
Data constraints
If a denormalization situation exists with a one-to-one binary relationship, which of the following is true?
All fields are stored in one relation.
All fields are stored in two relations.
All fields are stored in three relations.
All fields are stored in four relations.
Selecting a data type involves which of the following?
Maximize storage space
Represent most values
Improve data integrity
All of the above.
What is the best data type definition for Oracle when a field is alphanumeric and has a length that can vary?
VARCHAR2
NUMBER
DATE
CHAR
If a denormalization situation exists with a many-to-many or associative binary relationship, which of the following is true?
All fields are stored in one relation.
All fields are stored in two relations.
All fields are stored in three relations.
All fields are stored in four relations.
Which of the following is an advantage of partitioning?
Complexity
Inconsistent access speed
Extra space
Security
The blocking factor is:
a group of fields stored in adjacent memory.
the number of physical records per page.
attributes grouped together by the same primary key.
attributes grouped together by the same secondary key.
Which of the following improves a query's processing time?
Write complex queries.
Combine a table with itself.
Query one query within another.
Use compatible data types.
Which of the following are integrity controls that a DBMS may support?
Assume a default value in a field unless a user enters a value for that field.
Limit the set of permissible values that a field may assume.
Limit the use of null values in some fields.
All of the above.
Which of the following is not a factor to consider when switching from small to large block size?
The length of all of the fields in a table row.
The number of columns
Block contention
Random row access speed
What is the best data type definition for Oracle when a field is alphanumeric and has a fixed length?
VARCHAR2
CHAR
LONG
NUMBER
A secondary key is which of the following?
Nonunique key
Primary key
Useful for denormalization decisions
Determines the tablespace required
The fastest read/write time and most efficient data storage of any disk array type is:
RAID-0.
RAID-1.
RAID-2.
RAID-3.
A rule of thumb for choosing indexes for a relational database includes which of the following?
Indexes are more useful on smaller tables.
Indexes are more useful for columns that do not appear frequently in the WHERE clause in queries.
Do not specify a unique index for the primary key of each table.
Be careful indexing attributes that have null values.
Sequential retrieval on a primary key for sequential file storage has which of the following features?
Very fast
Moderately fast
Slow
Impractical
A multidimensional database model is used most often in which of the following models?
Data warehouse
Relational
Hierarchical
Network
Which of the following database activities allow for the actual retrieval and use of a database?
Enterprise modeling
Logical database design
Physical database design and definition
Database implementation
The three-schema components include all, but:
internal schema.
conceptual schema.
programming schema.
external schema.
Which is not a type of data management technology?
Relational
Rational
Object-oriented
Dimensional
Which is not a relevant feature of CASE tools?
The ability to help draw data models using entity-relationship notations
The ability to generate code
An information repository
Access to a DB via the Internet
The first step in database development is which of the following?
A. Enterprise data modeling
B. Logical database design
C. Physical database design and definition
D. Database Implementation
Which of the following database activities determines the entities, attributes, and relationships of data?
Conceptual data modeling
Logical database design
Physical database design and definition
Database implementation
The use of packaged data models can offer which of the following benefits?
Reduce implementation time and costs
Higher quality models
Both A and B.
Neither A nor B.
The Enterprise tier of the three-tiered database architecture includes:
managing the data.
managing the User-system interface.
processing HTTP protocol.
processing scripting tasks.
An entity type is which of the following?
A. A major category of data about people, place, and things
B. The various departments of an organization
C. The application software
D. The business processes the support the mission of an organization
Strategic Planning factors do not include which of the following?
A. Organizational goals
B. Critical success factors
C. Information engineering
D. Problem areas
CASE tools do not include which of the following features?
Help to draw data models
Help to generate code
Help to manage people
Create an information repository
In enterprise data modeling, which is incorrect?
You review current systems.
You implement the new database.
You describe the data needed at a very high level of abstraction.
Which of the following database activities require a specific knowledge of a DBMS?
Enterprise modeling
Conceptual data modeling
Logical database design
Physical database design and definition
User views are included as part of which schema?
Internal
Conceptual
External
None of the above.
Whose role is it to determine the requirements and design for a database?
Database analysts
Database administrators
Both A and B.
Neither A or B.
Which of the following indicates the maximum number of entities that can be involved in a relationship?
Minimum cardinality
Maximum cardinality
ERD
Greater Entity Count (GEC)
Which type of entity cannot exist in the database unless another type of entity also exists in the database, but does not require that the identifier of that other entity be included as part of its own identifier?
Weak entity
Strong entity
ID-dependent entity
ID- independent entity
In a one-to-many relationship, the entity that is on the one side of the relationship is called a(n) ______ entity.
parent
child
instance
subtype
Which type of entity represents an actual occurrence of an associated generalized entity?
Supertype entity
Subtype entity
Archetype entity
Instance entity
A recursive relationship is a relationship between an entity and ________ .
A. itself
B. another database
C. a different schema
D. a foreign key
Which of the following indicates the minimum number of entities that must be involved in a relationship?
Minimum cardinality
Maximum cardinality
ERD
Greater Entity Count (GEC)
Which of the following refers to something that can be identified in the users' work environment, something that the users want to track?
Entity
Attribute
Identifier
Relationship
In which of the following is a single-entity instance of one type related to many entity instances of another type?
One-to-One Relationship
One-to-Many Relationship
Many-to-Many Relationship
Composite Relationship
Which of the following refers to an entity in which the identifier of one entity includes the identifier of another entity?
Weak entity
Strong entity
ID-dependent entity
ID-independent entity
Which type of entity is related to two or more associated entities that each contain specialized attributes that apply to some but not all of the instances of the entity?
Supertype entity
Subtype entity
Archetype entity
An attribute that names or identifies entity instances is a(n):
entity.
attribute.
identifier.
relationship.
Properties that describe the characteristics of entities are called:
entities.
attributes.
identifiers.
relationships.
In which of the following can many entity instances of one type be related to many entity instances of another type?
One-to-One Relationship
One-to-Many Relationship
Many-to-Many Relationship
Composite Relationship
Entities of a given type are grouped into a(n):
database.
entity class.
attribute.
ERD.
Which of the following is NOT a basic element of all versions of the E-R model?
A. Entities
B. Attributes
Relationships
Primary keys
In which of the following is a single-entity instance of one type of related to a single-entity instance of another type?
One-to-One Relationship
One-to-Many Relationship
Many-to-Many Relationship
Composite Relationship
Entities can be associated with one another in which of the following?
Entities
Attributes
Identifiers
Relationships
Which type of entity has its relationship to another entity determined by an attribute in that other entity called a discriminator?
Supertype entity
Subtype entity
Archetype entity
Instance entity
Which type of entity represents a logical generalization whose actual occurrence is represented by a second, associated entity?
Supertype entity
Subtype entity
Archetype entity
Instance entity
In a one-to-many relationship, the entity that is on the many side of the relationship is called a(n) ________ entity.
parent
child
instance
subtype
An action assertion must include which of the following?
Anchor object
Action
Corresponding object
All of the above.
An oval represents which of the following in an EER?
Attribute
Entity
Optional One
Relationship
Inheritance is which of the following?
When a supertype entity inherits values of the subtype attribute
When a subtype entity inherits values of the supertype attribute
When a supertype entity inherits values of another supertype attribute
When a subtype entity inherits values of another subtype attribute
When an entity instance must be a member of only one subtype, it is which of the following?
Disjoint with total specialization
Disjoint with partial specialization
Overlap with total specialization
Overlap with partial specialization
A supertype/subtype hierarchy is which of the following?
Each subtype has only one attribute.
Each supertype has only one attribute.
Each subtype has only one supertype.
Each supertype has only one subtype.
A rectangle represents which of the following in an EER?
Attribute
Entity
Optional One
Relationship
Which one of the following symbols is not used in an ERD?
Rectangle
Oval
Diamond
Circle
Specialization is which of the following processes?
Defining one or more subtypes of the supertype and forming supertype/subtype relationships.
Defining one or more supertypes of the subtype and forming supertype/subtype relationships.
Defining one or more subtypes of the supertype and not forming supertype/subtype relationships.
Defining one or more supertypes of the subtype and not forming supertype/subtype relationships.
Which of the following statements concerning business rules is true?
It should be complex.
It should not be convertible to computer code.
It may include restrictions.
All of the above.
A supertype/subtype hierarchy has which of the following features?
Subtypes at the lower lever in the hierarchy inherit attributes only from their immediate supertype.
Attributes are assigned at the highest logical level.
Subtypes at the higher lever in the hierarchy inherit attributes only from their immediate subtype.
Attributes are assigned at the lowest logical level.
