Assignment 12, due Dec 1

Part of the homework for 22C:50, Fall 2003
by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

Homework Due Dec 8

  1. Do chapter 16 problem 4.

  2. Do chapter 16 Problem 6.

  3. Do chapter 16 Problem 11.

  4. Do chapter 17 Problem 3.

Machine Problem Due Dec 10

The interface to your heap manager should use myalloc() for allocation and myfree() for deallocation, but aside from the prefix my, these should have the same interface specification as malloc() and free() in the standard C library. Your heap manager should return a null pointer if it cannot satisfy an allocation request.

The test program is here:

http://homepage.cs.uiowa.edu/~dwjones/syssoft/spring03/hw/alloctest.c