CS 12, Fall 2008
Assignment 2

This project is based on review questions and exercises in chapter 2 of the Standish text. To the extent that instructions here differ from those in the text, the instructions on these web pages take precedence.

Due: Monday, October 27, 9:00pm
Worth: 100 homework points

  1. Type answers to the following five Review Questions and five Exercises from Section 2.4 of the Standish text into a plain text file named hw2.txt. Number your answers to correspond with the problem numbers in the textbook.
    1. Before proceeding to step 2:
    2. Study the linked list discussion in section 2.5 of the text. Understand the functions that are implemented in that section.
    3. Then study the data types and function prototypes in airports.h, the required header file for this project. Save a copy of this file to your working directory (another copy is in ~mikec/cs12/hw2/).
    4. Finally study airports.c-skeleton, especially the functions that are already implemented for you.
  2. Complete airports.c by following the instructions in the skeleton (also in ~mikec/cs12/hw2/).
  3. Test your programs at CSIL. Then turn them both in at once from your engineering account as follows:
    turnin hw2@cs12 hw2.txt airports.c
    Late projects may not be accepted.


Updated 10/24/08 by C. Michael Costanzo