CISC181, Pre Lab Exercises, Chapter 5
Fall 2004, P. Conrad

In chapter 5 of your lab manual (Deitel/Deitel/Nieto), do the following pre-lab exercises:
Problems Pages Points Total
1-10 p. 175 3 pts each 30 pts
16 (one answer is sufficient; you don't need to fill in both blanks) p. 177 4 pts 4 pts
18 p. 179 4 pts 4 pts
19 (2 points for each of the three things) p. 180 2 pts 6 pts
20 p. 180 4 pts 4 pts
23-29 pp. 181-183 4 pts 28 pts
35 pp. 187 4 pts 4 pts
Putting your name on paper 5 pts 10 pts
Putting your section on paper 5 pts 5 pts
Stapling your pages in the right order 5 pts 5 pts
TOTAL 100 pts
Hints:
3,6 See section 5.8
10 Pages 368-369
18 See Section 5.12.2, starting on p. 362.
26,27 See Section 5.8, especially pp 347 and 348. Also note that the setw(4) doesn't appear to have any effect on the output, so just pretend it isn't there.
27 Don't forget to include the output "The string in array x is:" in your answer; same with the other two strings.
28,35 Read pp. 365-368
29 Read pp. 369-370

Due: at the start of lab on October 27th.