1 Exam Flashcards
For each attribute of a relation, there is a set permitted values, called the______ of that attribute.
Domain
The database ________ refers to the logical design of the database.
Schema
The database ________ is a snapshot of the data in the database at a given instant in time.
instance
The tuples of relation one can be of______ order.
Any
Which one of the following is a set of one or more attributes taken collectively to uniquely identify a record?
Super key
If the ______ key from one relation is used as an attribute in that relation.
Primary
Tables in second normal form (2NF) must _______.
Eliminate all hidden dependencies
Which form simplifies and ensures that there are minimal data aggregates and repetitive groups?
1NF
Define function dependency!
List the Armstrong axioms.
Tuple means _______.
row
Attribute means _______.
column
The domain specifies what are acceptable ______ within a column.
data values
The degree of a table is the width or number of ______.
columns
The cardinality of a table is the depth or number of ______.
rows
The table violates which Normal Form and why?
2nd Normal Form because there are two partial dependencies
An example of an update anomaly is ______.
mistyping one of its instances
An example of a delete anomaly is ______.
deleting students resulting in loss of module details
The normalized table structure for students and modules consists of ______.
- Student(StudentID, StudentName)
- Module(ModuleID, ModuleName)
- Results(StudentID, ModuleID, Grade)
The attribute ‘qualifications’ is multi-valued on the PK, hence the table is not in ______.
1NF
To transform into 1NF tables, the solution can include ______.
- Students(StaffID, StaffName, Qualification1, Qualification2, Qualification3)
- Students(StaffID, StaffName)
- Qualifications(StaffID*, Qualification)
Entity type describes an object, a noun, a class of ______.
meaningful collection of objects
Ternary relationships have ______ participating entity types.
three
Binary relationships have ______ participating entity types.
two