Apr. 15, 2014
Exam 3 graded
You can pick up your exam from Prof. Razzaq's office today between 2pm and 3pm or tomorrow between 10am and 12pm. The median grade was 77%, mean 76%.
You can pick up your exam from Prof. Razzaq's office today between 2pm and 3pm or tomorrow between 10am and 12pm. The median grade was 77%, mean 76%.
The review session for exam 3 will be this Sunday 2-4pm in 210WVH.
A solution to all-leafy-trees has been going around that is very wrong. Unfortunately, this solution was assumed to be correct by course staff during office hours. The solution assumed that, given all BT's of height n-1, to generate all BT's of height n,
all one had to do was "triple" the list of BT's of height n-1 in the following manner for each BT of height n-1 t:
(make-node t 'leaf)
(make-node 'leaf t)
(make-node t t)
This is, however, very wrong. Under these methods, it would be impossible to ever generate this BT, which has height 3:
(make-node
(make-node 'leaf
(make-node 'leaf 'leaf))
(make-node 'leaf 'leaf)))
If a staff member guided you to this solution, he or she thoroughly apologizes.
A good resource to check your function against is: here . This will not tell you how to write your function, but the length of the results of your function should match. Had the tutor who began this falsehood simply written better tests this never would have happened.
Here is code from today's final lecture of the semester.
Remember to fill out Trace Evaluations.
It's been a great semester! Good luck on the exam!
Pedro's office hours are moving to Thurs. 4-6pm for this week.
My office hours are moving to Thurs. 12-2pm for this week.
Please ignore Problem 7 since it's the same as Problem 4.
Here is a reminder about the style guidelines for designing programs. It's worth your while to make sure your PS 11 adheres to these guidelines. We'll be checking!
For Problem 9, count does not matter. For instance, '(1 2 3 (3)) and '(2 3 1 1) do contain the same atoms.
Matt's office hours on Thurs. 7-9pm and Sinan's hours on Tuesday 4-6pm are cancelled this week.
Problem 1c should read "Write down the data definition for a UOP ..." and not
"Write down the parametric data definition for a UOP ..."
The exam review session is tonight, Mar 18, 7-9pm. .
We have two rooms reserved.
Exam 2 is on Thursday, Mar. 20, 6-8pm in 168 SN for both sections. There will be an exam review on Tuesday, Mar. 18 from 7-9pm, rooms to be determined.
Here is an old exam you can use to study. Keep in mind that this was a 65 minute exam, so the exam on Thursday will be slightly longer.
Here is code from today's lecture.
Here is an interface for sets. Assuming the data definition for sets that's included in this file (which represents sets using lists with duplicates allowed), design the functions listed in the file.
The date for Exam 2 is changed to Thursday, March 20, time is still 6-8pm.
Here are some hints about velocity that you will find useful for Missile Defense.
Pedro's office hours are changed to Friday, 9:30-11:30am for this week only.
Alex Jolly's office hours have been changed to Friday, 4-6pm for the rest of the semester.
Here is the latest code for the Snake game. Try to finish the game on your own. Design and test eat&grow next. I've added a simple world->world function (see comments in code) which you'll have to modify to handle eating. After that, the main work left is in designing the key-handler and the collision detection and game-over? functions.
Because lab was cancelled yesterday, the next partner switch will take place in lab next week. You should work on Problem Set 5 with your current partner.
Here is the phone book code from today's lecture: phone-book.rkt
One of the leader's of the review session sent in the code from the review session for your perusal: testprep1.rkt
If you weren't in lab to pick up homework 1, you can pick them up from William during his office hours, or you can try stopping by WVH 330 and hope he's there.
The exam review session is tonight, Feb 3, 7-9pm. We have two rooms reserved.
Due to some confusion about the handin server's warning regarding test cases, the handin server will no longer warn you if there are untested parts of your code. You should run the code and DrRacket, and check that there are no (or very few) black highlighted chunks of code.
Exam 1 is on Thursday, Feb 6, 6-8pm in 200 Richards for both sections. There will be an exam review on Monday, Feb 3 from 7-9pm, room to be determined.
Here is an old exam you can use to study. Keep in mind that this was a 65 minute exam, so the exam on Thursday will be slightly longer.
Here is an ISL Template Quiz Generator that you can also use to study. Choose Intermediate Student Language in DrRacket, then copy and paste into DrRacket and click Run and evaluate (generate-quiz n) for any natural number n.
Starting tomorrow, Prof. Ahmed will hold office hours on Thursdays from 1:30pm to 2:30pm to avoid a conflict with weekly faculty meetings.
Due to excessive demand and insufficient space, William Bowman's office hours have moved to the 3rd floor space near 366 WVH.
William Bowman will be out of town, so Alex Jolly will be holding additional office hours in 102. Many thank Alex!
We will have a combined lecture for both sections of CS2500 in 101 Churchill Hall at 10:30am on Thursday, 1/23/14. Make sure to go there instead of 105 or 305 Shillman.
Problem 4 is now marked as extra credit, so it is optional.
You must register for a lab section (CS 2501) Be sure to print and sign the Course Contract and bring it to your first lab session.
Welcome to the CS 2500 blog.
You should check this blog on a daily basis, as we will use it to publish information to the class that needs to be disseminated in a timely way. For example, if we make a mistake on a homework assignment, or decide to issue an extension on a homework due date, you'd probably want to know about it immediately—and here is where we'll post the news.