CS 3304
Homework Assignment 2
Given: July 9, 1997 Due: July 15, 1997
The point value of each problem is shown in [ ]. The assignment must be received by the beginning of class on July 15, 1997. See syllabus for late policy.
When the problem asks for an explanation, give a clearly written justification of your answer.
Chapter 4, Problem 8.
Chapter 4, Problem 13. Note that this problem assumes dynamic scoping.
Chapter 5, Problem 13.
Chapter 5, Problem 14.
Refer to the type declarations on page 225. These types are to be implemented on a computer with a 32-bit word. Suppose that a value of enumerated type is represented in one byte. Suppose that an integer value is represented in a word and must be aligned on a word boundary. Suppose that a real value is represented in two words and must be aligned on a word boundary.
How many bytes should be allocated for a variable of type object?
Explain.
Chapter 6, Problem 10.
Chapter 6, Problem 12.
Chapter 6, Problem 21. Explain.
This document was generated using the LaTeX2HTML translator Version 96.1 (Feb 5, 1996) Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
The command line arguments were:
latex2html -split 0 -t CS 3304 Homework Assignment 2 homework2.
The translation was initiated by cs3304sm class account on Tue Jul 8 15:22:10 EDT 1997