|
EECS-3421N
Introduction to Database Systems
York University
Winter 2020
|
Test #1 Preparation
|
|
|
|
|
The
test covers the first part of the course,
The Game (relational) & I. Design.
Both topics covered in the readings in the textbook and
in class and the lecture slides are fair game,
but with an emphasis on the class lectures and slides.
(The lectures and the readings do cover the very same materials.)
The readings covered are indicated in the topic list below.
- Basics and Overview [Ch 1]
- evolution of database systems
- what functions database systems provide
- Data Models (& Schemas) [Ch 2: §1–3]
- overview of data models
- what is a data model?
- the relational model, in brief
- the semi-structured model
- the relational model
- basics
- data independence
- defining relational schema in SQL
- conceptual modelling
[Ch 4: §1–6 (& Ch 7: §1.1 & 1.2)]
- entity/relationship model
- entity sets, relationship sets, & attributes
- multiway relationsips
- multiplicity in relationships
- “recursive” relationships and roles
- subclasses (“isa”)
- design principles
- fidelity / faithfulness
- brevity: avoiding redundancy
- simplicity
- naturalness
- constraints in the E/R model
- keys!
- referential integrity
- weak entity sets
- from E/R diagrams to relational designs
- converting subclass structures to relations
- from entity sets to relations (tables)
- from E/R relationships to relations
- combining relations
- handling weak entity sets
- using foreign key contraints
to enforce referential integrity
[Ch 7: §1.1 & 1.2]
- design theory
[Ch 3: §1, §2, §3.1, & §3.3
(& Ch 2: §4.8)]
- keys & functional dependencies
[Ch 3: §1–2]
- keys, superkeys,
& functional dependencies (FDs)
- reasoning about FDs
- the normal forms
[design theory slidedeck]
[Ch 3: §3 & §5]
- anomalies
- what each normal form protects against
- how to test a relation for a normal form
- decomposition
[Ch 3: §3 & §4
& Ch 2: §4.8 (natural join)]
- synthesis
[Ch 3: §5]
|
|
|
|
Go
through the reading and the examples in the textbook.
Consider the problems at the end of each chapter
and work some of them.
Go through the exercises I have provided.
|
|
|
Past Tests
Note:
In the tests below,
the E/R is in Wisconsin style,
not Standford style!
|
|
|
|
The
test will be closed-note, closed-book.
You may bring a calculator,
but I cannot imagine that you would need one.
There will be space on the text packet for writing answers.
I will bring extra paper, in case anyone needs it,
to attach.
The test will be for the class lecture time,
so 75 minutes.
|
|
|
|
|