CS 1101 - A-term 08

Homework 8 - Descendant Trees

Due: Tuesday, September 30 at 11:59pm


Assignment Goals

To make sure you can

Remember to follow the Expectations on Homework when preparing your solutions.


The Assignment

A university maintains an organizational chart with the university president at the top, vice presidents and the provost reporting to the president, deans and department heads reporting to the provost, etc. (see WPI's organizational chart as an example). The data for each person in the chart will include the person's name, title, a list of courses they teach (this list will be empty for many people in the organization, but for others such as department heads and professors the list will be non-empty), and which people report to them.

  1. Develop a data definition and an example of data for a university's organizational chart. The chart should start with a single person (the university president) and your example should go at least four levels deep at some point. (You can count the president as level 1.) The data for each person's direct reports should be other persons, not just those persons' names.

  2. Provide the template for an organizational chart.


What to Turn In

Save a copy of your work - you will use it for Homework 9. Answers to Homework 8 will be made available on Wednesday, Oct 1.

Using web-based turnin, turn in a single file hw8.scm containing all code and documentation for this assignment. Make sure both partners' names and wpi login names appear in a comment at the top of the file.