Homework #2


Most problems for this homework are from the textbook.
. Problem Page Points
1 3.5 198 10
2 3.6 198 10
3 3.7 198 15
4 3.12 200 5
5 3.13 200 10
6 3.14 200 10
7 3.17 201 20
8 3.18 201 10
9 See problem below 10
Maximum mark (100%) 100

Write a C/C++ program that determines whether the computer it runs on has a Little or Big Endian memory organization. Turn in the source code and your findings on two different systems, an IBM-PC compatible and a workstation such as one of the deltas.
Last update: February 23, 1998 Back to cs470 home page. Back to the Computer Science and Applied Mathematics home page