Compsci 751 S1 C - Lab 01: Computer Science
Compsci 751 S1 C - Lab 01: Computer Science
1. Identify three informal queries and update operations that you would expect to apply to the
database shown in Figure 1.2.
[1 Mark]
2. Specify all the relationships among the records of the database shown in Figure 1.2.
[1 Mark]
3. Give two additional views that may be needed by other user groups for the database
shown in Figure 1.2.
[1 Mark]
4. Give three examples of integrity constraints that you think can apply to the database
shown in Figure 1.2, e.g., key constraint, domain constraint, referential integrity constraint,
etc.
[1 Mark]
6. Think of two different users for the database of Figure 1.2 and describe what type of
applications would each user need? To which user category would each belong and what
type of interface would they need?
[1 Mark]
7. If you were designing a Web-based system to make airline reservations and to sell airline
tickets, which DBMS Architecture, i.e., Centralized DBMS, Basic Client/Server or Three-Tier
Client/Server Architecture, would you choose? Why? Why would the other architectures not
be a good choice?
[1 Mark]
In addition to constraints relating the values of columns in one table to columns in another
table, there are also constraints that impose restrictions on values in a column or a
combination of columns within a table. One such constraint forces that a column or a group
of columns must be unique across all rows in the table. For example, in the STUDENT table,
the Student_number column must be unique (to prevent two different students from having
the same Student_number). Identify the column or the group of columns in the other tables
that must be unique across all rows in the table?
[2 Mark]