CS1321 Fall AY2002 Homework 4 Due Tuesday, Sept. 4, 2001 ___________________________________________________________________________ =x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x%=x% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ___ |_ _| nstructions. You must code the problem sets listed below | | using the homework skeleton noted in class. Print out | | your homework, and bring it to class on the due date listed |___| above. ____ | _ \ o the following problems from the text: | | | | | |_| | 1) Exercise 3.3.1, for the functions inches->cm, |____/ feet->inches, yards->feet, yards->cm. You do not have do the others listed in the problem. Let me repeat that. You do not have to do the others listed in the problem. You know what that means? Do you see the others listed there? Well, you DON'T have to do them. Just do the four listed above, ok? You CAN work the others, but you're not required. Hint: be sure to (1) reuse functions, just like the book says and (2) use variable definitions to specify constants. Note: If you did not buy the book, the problem appears at: http://www.htdp.org/2001-01-18/Book/node18.htm 2) Exercise 4.4.1. Note: If you did not buy the book, the problem appears at: http://www.htdp.org/2001-01-18/Book/node23.htm 3) Exercise 5.1.3. Hint: you will want to use your favorite function from homework 2: convert3. Also, it might help to work problem 5.1.2 if you are stuck. Note: If you did not buy the book, the problem appears at: http://www.htdp.org/2001-01-18/Book/node25.htm ____ | _ \ ead the text book, up to and including section 6. | |_) | The above exercises cover up to section 5, but the class | _ < will shortly start to pick up pace. You'll want to |_| \_\ get ahead on the reading.