CS Hydra Lab

CS 102 - Errata
Fall Semester 1996


 On page 97, 
 EXAMPLE 4.1-1  
 Give the bit pattern of the word Cat using the 8-bit ASCII.

 In the given solution it says that, "the code for the 
 uppercase C is 01010100" which is incorrect.  
 01010100 is the representation for the uppercase T.  
 The code for the uppercase C is 01000011 as shown in 
 the table on page 96. 

 Instructor's Manual, p. 250

 The answer to #7 in Exercise 7.3 is B.
   

On p. 515 in the lin_search2 function they have

for (loc = *list; loc != NULL &&
                  loc->info.ss_num != target_value;
                  loc=loc->next);

when it should be ...

for (loc = list; loc != NULL &&
                 loc->info.ss_num != target_value;
                 loc=loc->next);

That is,  loc should be initalized as "list" and not "*list".