ICS324-Database Systems Fall Semester 071 Quiz # 1 A ID: Name: Question # 1 [4 points] Consider the relation: STUDENT (ID, Name, Major). Give all the possible super keys Question # 2 [4 points] Find two candidate keys for the relation: CLASS (Course, Section#, Instructor, Location, Time, Weekdays). Question # 3 [12 points] Match each term with the appropriate definition: Term Definition 1. Catalog A collection of related data 2. Data Model An attribute or set of attributes within one relation that matches a candidate key of some (possibly same) relation. 3. Database Collection of concepts used to describe the structure of a database. 4. Database handles database accesses at run time; it receives Schema retrieval or update operations and carries them out on the database 5. Database State If foreign key exists in a relation, either the foreign key value must match a candidate key value of some tuple in its home relation or foreign key value must be null. 6. Entity Integrity No attribute of a primary key can be null. Constraint 7. Foreign Key The candidate key that is selected to identify tuples uniquely within the relation. 8. Logical Data The capacity to change the conceptual schema without Independence having to change external schemas or application programs 9. Physical Data The capacity to change the internal schema without Independence having to change the conceptual (or external) schemas 10. Primary Key The component of DBMS in which the description of schemas is stored 11. Referential The data in the database at a particular moment in time Integrity Constraint 12. Run-Time The description of the database Database Processor