1. Explain/Define the following terms.
File system DBMS
Database Database System
Data Model DB Programmer
DBA End User
DDL DML
Query Language SQL
External Schema Conceptual Schema
Internal Schema Data Independence
Logical Data Independence Physical Data Independence
Client Server
Network Databases Distributed Databases
Relational Data Model Relational DBMS
Domain Relation
Attribute Tuple
Primary Key Foreign Key
Cardinality Degree
Project Operator Join Operator
Base Table Derived Table
View Entity Integrity Rule
Referential Integrity Rule
2. Why would you use a database system instead of traditional file system?
3. Define logical and physical data independency and justify that they are important in database design and usage.
4. A university database contains information about professors (identified by social security number, or SSN) and courses (identified by courseid). Professors teach courses; each of the following situations concerns the Teaches relationship set. For each situation, draw an ER diagram that describes it (assuming no further constraints hold).
a. Professors can teach the same course in several semesters, and each offering must be recorded.
b. Professors can teach the same course in several semesters, and only the most recent such offering needs to be recorded. (Assume this condition applies in all subsequent questions.)
c. Every professor must teach some course.
d. Every professor teaches exactly one course (no more, no less).
e. Every professor teaches exactly one course (no more, no less), and every course must be taught by some professor.
5. Choose a DBMS that you’d like to use. Provide some evidences to show that you have some basic knowledge of the software. For instance, use the software to define a name and address database of your business associates, friends, classmates etc. You can use the following relation:
(LAST NAME, FIRST NAME, SEX, ADDRESS, POSTCODE, CITY, PHONE). Enter at least five people in your data file. Print/screen shot a copy of the records. There should be no blank records.