Quizzes Flashcards
T or F: Data and information are essentially the same thing.
False
T or F: Data constitute the building blocks of information.
True
T or F: Metadata describe the data characteristics and the set of relationships that links the data found within the database.
True
T or F: One disadvantage of the DBMS is that it increases the risk of data security breaches.
False
T or F: Corporations use only structured data.
False
T or F: Field refers to a collection of related records.
False
T or F: Data is the result of processing raw facts to reveal its meaning.
False
T or F: Database programming languages receive all application requests and translate them into the complex operations required to fulfill those requests.
False
T or F: The DBMS reveals much of the database’s internal complexity to the application programs and users.
False
T or F: One disadvantage of a database system over previous data management approaches is increased costs.
True
T or F: In the context of data models, an entity is a person, place, thing, or event about which data will be collected and stored.
True
T or F: Business rules apply to businesses and government groups, but not to other types of organizations such as religious groups or research laboratories.
False
T or F: Business rules must be rendered in writing.
True
T or F: Each row in the relational table is known as an entity instance or entity occurrence in the ER model.
True
Which of the following is true of business rules?
They can be a communication tool between the users & designers.
They allow the designer to develop business processes.
They allow the designer to set company policies with regard to data.
They provide a framework for the company’s self-actualization.
They can be a communication tool between the users & designers.
A noun in a business rule translates to a(n) _____ in the data model.
relationship
entity
attribute
constraint
entity
A verb associating two nouns in a business rule translates to a(n) _____ in the data model.
constraint
relationship
attribute
entity
relationship
MySQL is an example of the _____.
XML data model
file system data model
hierarchical model
relational data model
relational data model
T or F: M:N relationships are not appropriate in a relational model.
True
Which of the following is true of NoSQL databases?
They are not based on the relational model.
They do not support distributed database architectures.
They do not support very large amounts of sparse data.
They are geared toward transaction consistency rather than
performance.
They are not based on the relational model.
T or F: All SQL commands must be issued on a single line.
False
T or F: Although SQL commands can be grouped together on a single line, complex command sequences are best shown on separate lines, with space between the SQL command and the command’s components.
True
T or F: Comparison operators cannot be used to place restrictions on character-based attributes.
False
T or F: String comparisons are made from left to right.
True
T or F: Most SQL implementations yield case-insensitive searches.
True
The SQL command that allows a user to permanently save data changes is _____.
COMMIT
UPDATE
INSERT
SELECT
COMMIT
How many rows would be returned from a cross join of tables A and B, if A contains 8 rows and B contains 18?
8
144
26
18
144
The SQL aggregate function that gives the number of rows containing non-null values for a given column is _____.
COUNT
MIN
MAX
SUM
COUNT
T or F: SQL is considered difficult to learn; its command set has a vocabulary of more than 300 words.
False
A(n) _____ is a query that is embedded (or nested) inside another query.
view
alias
operator
subquery
subquery
T or F: The practical significance of taking the logical view of a database is that it serves as a reminder of the simple file concept of data storage.
True
T or F: The order of the rows and columns is important to the DBMS.
False
T or F: Only a single attribute, not multiple attributes, can define functional dependence.
False
T or F: RDBMSs enforce integrity rules automatically.
True
T or F: Relational algebra defines the theoretical way of manipulating table contents using relational operators.
True
T or F: The SELECT operator yields a vertical subset of a table.
False
T or F: In a natural join, the column on which the join was made occurs twice in the new table.
False
T or F: The one-to-many (1:M) relationship is easily implemented in the relational model by putting the foreign key of the “1” side in the table of the “many” side as a primary key.
False
Referential _____ dictates that the foreign key must contain values that match the primary key in the related table, or must contain null.
model
integrity
uniqueness
attribute
integrity
_____ relationships can be implemented by creating a new entity in 1:M relationships with the original entities.
M:N
1:N
M:1
1:1
M:N
T or F: The entity relationship model (ERM) is dependent on the database type.
False
T or F: In the entity relationship model, a table row corresponds to an entity instance.
True
T or F: Relationships between entities always operate in one direction.
False
T or F: Referential integrity and participation are both bidirectional, meaning that they must be addressed in both directions along a relationship.
False
When the specific cardinalities are not included on the diagram in Crow’s Foot notation, cardinality is implied by the use of _____.
symbols
attributes
images
tables
symbols
The existence of a(n) _____ entity indicates that its minimum cardinality is zero.
ternary
optional
strong
weak
optional
The entity relationship model uses the associative entity to represent a(n) _____ relationship between two or more entities.
M:N
1:M
N:1
M:1
M:N
The first step in building an entity-relationship diagram (ERD) is _____.
developing the initial ERD
creating a detailed narrative of the organization’s description of
operations
identifying the attributes and primary keys that adequately describe
the entities
identifying the business rules based on the description of
operations
creating a detailed narrative of the organization’s description of operations
In organizations that generate large number of transactions, _____ are often a top priority in database design.
relationships among entities
logical design standards
naming conventions
high processing speeds
high processing speeds
Database design is a(n) _____ process based on repetition.
sequential
iterative
linear
intermittent
iterative
T or F: Normalization works through a series of stages called normal forms.
True
T or F: Normalization is a process that is used for changing attributes to entities.
False
T or F: Denormalization produces a lower normal form.
True
T or F: Relational models view data as part of a table or collection of tables in which all key values must be identified.
True
T or F: All relational tables satisfy the 1NF requirements.
True
T or F: It is possible for a table in 2NF to exhibit transitive dependency, where the primary key may rely on one or more nonprime attributes to functionally determine other nonprime attributes.
True