Laboratory Exercises For Computer Science 211

Representation of Numbers on HP and VAX Computers

Representation of Numbers on HP and VAX Computers

Goals:This laboratory has the following purposes:

Preparation Before the laboratory session, write binary patterns for

In the Laboratory:

Work to be turned in: Your lab write-up should contain both your computations from the lab preparation and your results from the lab itself. Further, you should document how both negative integers and real numbers are stored in both the HP and VAX computers based on your experiments in the lab. Finally, you should compare how the two machines store numbers. Are the storage algorithms the same? If so, justify your conclusions. If not, explain how the storage is different.


This document is available on the World Wide Web as

     http://www.math.grin.edu/~walker/courses/211/labs/lab.data-rep.html

created August 18, 1997
last revised August 29, 1997