ISYS 4283 UARK Harmon Midterm Flashcards
(69 cards)
are established between entities in a well-structured database so that the desired information can be retrieved
Relationships
A person’s name, birthday, and social security are all examples of:
Attributes
A person, place, object, event, or concept about which the organization wishes to maintain data is called a(n)
entity
A database is an organized collection of ______ related data
logically
When normalizing, the goal is to decompose relations with anomalies to produce smaller, well-structured relations
True
The _______ states that no primary key attribute may be null
entity integrity rule
A relation is in first normal form if it has no more than one multivalued attribute
False
A primary key is an attribute that uniquely identifies each row in a relation
true
An attribute (or attributes) that uniquely identifies each row in a relation is called a:
primary key
In the figure below, the primary key for “order line” is which type of key:
Composite: In database design, a composite key is a candidate key that consists of two or more attributes (table columns) that together uniquely identify an entity occurrence (table row).
A rule that states each foreign key value must match a primary key value in the other relation is called the
referential integrity constraint
When all multivalued attributes have been removed from a relation is it said to be in
first normal form
are anomalies that can be caused by editing data in tables
modification
A relation that contains no multivalued attributes and has non-key attributes solely dependent on the primary key but contains transitive dependencies is in which normal form
Second
An appropriate datatype for one wanting a fixed-length type for last name would include:
Char
The smallest unit of application data recognized by system software is a
field
A decimal datatype would be appropriate for a zip code
false
A method for handling missing data is to
track missing data with special reports
One method to handle missing values is to substitute a value estimated with a formula
true
A relationship where the minimum and maximum cardinality are both one is a(n)
mandatory one
Data that describes the properties of other data are
metadata
What is Lisa Simpson’s Address
SELECT address, city, state, zip, FROM student WHERE first_name = “Lisa” AND last_name = “Simpson”;
How many students are named ned?
SELECT COUNT (*) FROM student WHERE first_name = “Ned”;
How many classes are there broken down by department?
SELECT department, COUNT(course_ID) FROM course GROUP BY department;