CS377: Database Design - Data Modeling and Schemas

Activity Goals

The goals of this activity are:
  1. To identify use cases appropriate to the relational, network, and hierarchical database model
  2. To create database schemas in standardized formats

The Activity


Consider the activity models and answer the questions provided. First reflect on these questions on your own briefly, before discussing and comparing your thoughts with your group. Appoint one member of your group to discuss your findings with the class, and the rest of the group should help that member prepare their response. Answer each question individually from the activity on the Class Activity Questions discussion board. After class, think about the questions in the reflective prompt and respond to those individually in your notebook. Report out on areas of disagreement or items for which you and your group identified alternative approaches. Write down and report out questions you encountered along the way for group discussion.

Model 1: Network and Hierarchical Data Models

The Network Data Model from Database Design 2nd Ed by Watt and Eng
The Hierarchical Data Model from Database Design 2nd Ed by Watt and Eng


  1. What do edges (or vertices) represent in each model?
  2. Do these edges represent 1:1 or 1:many relationships?
  3. How might you implement each of these models using the traditional relational database model?
  4. Sketch a model of the student enrollment tables we made previously in the hierarchical model.
  5. Design tables and keys to represent the manager-employee hierarchical model.

Model 2: Database Schemas

MediaWiki 1.28.0 database schema


  1. Draw lines between the foreign keys that you find and their primary keys. What do you notice about these lines, with respect to the clusters of tables?
  2. Which tables need to be modified to add a log message to the database? Do any records need to be modified elsewhere? How might you define the concept of physical data independence based on this idea?
  3. How might you define logical independence (independence within the schema itself), given our definition of physical independence?


Submit your answers to the questions using the Class Activity Questions discussion board. You may also respond to questions or comments made by others, or ask follow-up questions there. Answer any reflective prompt questions in the Reflective Journal section of your OneNote Classroom personal section.