COS250 SPRING 2004 HW #1 Due Thursday 1/22/04 p.26 Problem 31, 20 points p.47 Problem 10, 15 points p.48 Problem 13, 15 points p.48 Problem 17, 20 points p.48 Problem 19, 20 points Calculator Problem (see below), 10 points ********** Notes *********, 1. For ALL programs be sure to include comments and an English explanation of how the program works. Be sure to CLEARLY explain the key ideas. 2. For Problem 31 on p.26, be sure to use a property list instead of global variables to store any properties of the calculator that you need to use on a regular basis. 3. CALCULATOR PROBLEM. This means writing a program that accepts an arbitrary line of input and which returns the correct arithmetical result. As mentioned in class, use the READLIST and RUN commands. There are several easy ways to do this, so if you are spending a lot of time on this problem you need to focus on the fact that this is Logo and NOT C++. NOTE -- THIS IS NOT PROBLEM 31 IN CHAPTER 0! You are doing that program also for this assignment -- you are being asked to solve the problem of creating a text-based calculator using the full power of Logo. 4. For all programs, you should supply a printed listing of any code, a printout showing the results, and anything else that is requested of you. Be sure to read the questions and problems carefully. HANDWRITTEN CODE OR OUTPUT WILL NOT BE ACCEPTED. 5. You can use a DRIBBLE file to showing your function/procedure definitions and sample runs. You can probably keep all of this in one workspace. Add comments to your files as needed and be sure to include some sample runs for EACH problem. You use DRIBBLE in the form DRIBBLE "FileSpec 6. When running WinLogo on the network, make sure you instruct it to write on your own disk. You cannot write on the network system disks. 7. If you need help, send me e-mail at markov@maine.edu, or contact the grader for the course.