This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CS 135 Winter 2012 Brad Lushman Assignment: 3 Due: Wednesday, January 25, 2011, 9:15am Language level: Beginning Student Files to submit: lines.rkt , cards.rkt Warmup exercises: HtDP 8.2.1, 8.2.2, 8.6.2, 8.6.3, 6.1.1 Practise exercises: HtDP 8.2.3, 8.2.4, 8.3.1, 8.3.2 Here are the assignment questions you need to submit. 1. In this question, you will perform step-by-step evaluations of Scheme programs, by applying substitution rules until you either arrive at a final value or cannot continue. You will use an online evaluation tool that we have created for this purpose. To begin, visit this web page: https://www.student.cs.uwaterloo.ca/ ˜ cs135/stepping (Note that the use of https is significant; the system won’t work if you omit the s . This link is also in the course web page’s table of contents.) You will need to authenticate using your Quest/WatIAm ID and password. Once you’re logged in, you should try the questions in the “Warm-up questions” category under “CS 135 Assignment 3”, in order to get used to the system. Note the “Show instructions” link at the bottom of each problem. Read the instructions before attempting a question! When you’re ready, complete the five stepping problems in the “Assignment questions” cat- egory, using the semantics given in class for Beginning Student Scheme. You can re-enter a step as many times as necessary until you get it right, so keep going until you completely fin- ish every question. All you have to do is complete the questions online—we’ll be recording your answers as you go, and there is no file to submit! The public tests for this assignment will tell you whether or not we have a record of your completion of the stepper problems. You should not use DrRacket’s Stepper to help you with this question, for a couple of rea- sons. First, as mentioned in class, DrRacket’s evaluation rules are slightly different from the ones presented in class; you are to use the ones presented in class. Second, in an exam situation, of course, you will not have the Stepper to help you. There will definitely be step-by-step evaluation questions on at least the first midterm....
View Full Document
- Winter '07
- Web page, Playing card, Card game, Brad Lushman, Posns