You are on page 1of 4

1)

Matching. Select the one best answer for each question.


a) the place where a complete description of a database is stored within a DBMS b) in the EER model, this object is identified by a partial key and the primary key of another entity type c) A primary characteristic of the DBMS approach that guarantees that each transaction is correctly executed or completely aborted. d) a set of tuples

_____ weak entity type

_____ concurrency control

_____ view

_____ value-identified data model e) a description of the database file structure, data types, formats and constraints f) entities are distinguished by the unique values of a subset of their attributes g) allows changes to file structures without changing applications programs that use that data h) a specification of (1) the domain of a data element or (2) the valid relationship instances i) a set of concepts to describe data and a set of basic operations on that data j) _____ relation k) A set of concepts to describe the structure of a database _____ catalog a minimal set of attributes that uniquely identifies a tuple

_____ key

_____ integrity constraint

_____ physical data independence

_____ database schema

_____ data model

Section D Answer the following question.

1. What is the use of a foreign key constraint?

[3 points]

2. Explain the self describing characteristics of a DBMS.

[4 points]

3. One of the DBMS advantages is flexibility. What does it mean?

[3 points]

Given this information, do the following: a. Draw the E-R diagram for HEG. b. Describe the relationship between instructor and course in terms of cardinality 1. A department employs many employees, but each employee is employed by one department. 2. A division operates many departments, but each department is operated by one division 3. An employee may be assigned to many projects, and a project may have many employees assigned to it. 4. A project must have at least one employee assigned to it. 5. One of the employees manages each department, and each department is managed by only one employee. 6. One of the employees runs each division, and each division is run by one employee.

2) The figure below shows an ER schema for a database that may be used to keep track of transport shops and their locations. Convert this schema into a relational schema and specify all primary keys and foreign keys.

You might also like