Lectures: Monday and
Wednesday, 1:15 to 2:30 in Lincoln 1135
Laboratory: Friday, 1:15 to 2:30 in Edmunds 229
Instructor: Professor Sara
Sood, Edmunds 224
Office hours: Tuesdays 9am to 11am, Wednesdays 2:30 to 4pm, Fridays 3 to 4:30pm and by appt.
Course assistant: Patrick McNally, Edmunds 227 (lab space), patrick.mcnally@pomona.edu
Lab hours: Wednesday and Sunday nights 8-10pm.
Announcements:
- (May 7) Happy last day of class!! Notice that solutions to all assignments are posted on the course calendar. Happy studying!
Let me know if you have any questions.
- (May 4) dictionary and reduce examples
- (April 25) winning strategy
- (April 23) Here is the Simple Nim Code from class today.
- (April 14) As I promised in class today here are 3 slides with examples of neural net problems - the actual questions are in the "notes" sections of each slide.
- (April 12) Examples using "classes" from class on wednesday: examples.
Also notice that I've posted solutions to assignment 8 on the course calendar.
- (April 11) Announcements from lab today:
1) bring in 1 page summary for Newell and Simon paper on monday
2) don't worry about finishing the nqueens work - we'll come back to it in the lab next friday
3) email me if there are any additional resources that you'd like to have to help you in studying for the exam
4) I'll be posting a solution to the Turing Machines/FSM assignment tomorrow morning
- (April 7) Announcements from class today:
1) you should be working on Assignment 8 (due friday)
2) and reading the "Newell and Simon" paper - 1 page summary/thoughts due next monday
3) remember that we have an exam next wednesday, review next monday
4) Here are the examples from class. Let me know if you don't have powerpoint and I can send you these in a different form
- (March 31) Announcements from class today:
1) recall that Assignment 7 is due friday by midnight (moved to later so you can use the TA hours that night
2) if you haven't already shown me your Turing paper one pager, please email it to me
3) see the calendar for two handouts - posted on March 31
4) notice that this week is a normal class schedule week - we'll have a lab on friday
- (March 26) Announcements from class today:
1) recall that friday is a holiday - no lab
2) start on Assignment 7
3) write a 1 page summary/thoughts on Turings paper and bring to class monday (if you haven't already)
- (March 25) Notice that Assignment 7 is posted on the calendar - due next Wednesday.
Please note that the TA nights are going to remain steady from now on: Wednesday and Sunday nights, as posted above. Plan accordingly so that you can make use of the TA as well as my office hours.
- (March 25) Remember to read the Turing Paper for class tomorrow and write a single page response
including a summary and your thoughts.
- (March 19) There will be no TA hours on the last sunday of spring break (March 23).
Please email Patrick or Professor Sood if you have any questions.
- (March 10) Announcments from today:
1) Assignment 6 is posted and due on friday at 5pm. Use my office hours and Patricks lab hours. Email me if you'd like to meet outside of those times.
2) No official lab on friday, though I will be there if you want any help with anything.
3) For Wednesday, read the Searle and French papers in the resouces page. I've decided not to post discussion questions, so just come to class ready to discuss the two papers.
4) If you haven't already, be sure to go through the 3 chapters on classes (12, 13, and 14). Here are my examples from class today: examples. You can also look through the neural net code posted below for more examples of classes.
- (March 7) neural net code
- (March 5) Announcements from today:
1) Great job on the exam!
2) Reading for friday/monday: "How to think like a Computer Scientist" Chapters 12, 13, 14. You can skim through 13, but focus on 12 and 14.
3) Read the handout on neural nets posted on the calendar, as well as the lab for friday.
4) neural net slides from today
- (March 2) Remember that we have an exam tomorrow (Monday, March 3rd), so be sure to show up to class on time.
Happy studying! Feel free to email me any questions that you may have!
- (March 2) There was a small error in the lab06 solutions. I changed it in the solutions file posted on the calendar.
The error was in the last line of the last version of "forall" (part c). It should read "pred(lst[0])" instead of "pred(lst)" in the first past of the last line.
- (Feb 29) Notice that the Assignment 5 solution is posted for you to study from.
PLEASE feel free to email me if you have any questions while studying for the exam. Don't forget that the exam is monday, so be sure to come to class on time!
- (Feb 27) BIG ERROR on the board today for the "N" function. In the while loop, the first test should have been:
0 < len(symbols). I had put a > on the board instead of a <, which gave a few of you problems. Please email me if this doesn't make sense.
- (Feb 27) Patrick will have extra TA hours this week, so that makes Wednesday, Thursday and Sunday from 8 to 10.
Please come see me or him for help in finishing Assignment 5 as you should all be very very close and I don't want you to spend a large amount of time on it.
- (Feb 25) A student today asked about how (in python) to access every file in a directory.
You can do this using the following three lines of python: import os
for files in os.walk('asgt04'):
print files
- (Feb 25) On how to turn your python code into an application or executable, read this.
- (Feb 25) Announcements from today:
1) We'll meet in the lab on Wednesday to finish assignment 5. Be sure to have read through #3 and all the tips before the lab.
2) Finish Assignment 5 #1 and #2 before lab on Wednesday.
3) Don't forget, midterm next monday.
4) One of you asked for the movie db, here it is: movies.py.
5) Here is a tutorial about the python graphics library: tkinter.
6) Solutions to Assignment 4 are now posted on the calendar.
- (Feb 22) Announcements from today:
1) Great job on the lab - we'll continue Assignment 5 next wednesday in the lab, so you don't need to do anything more with it now.
2) Assignment 4 is due at noon on monday.
3) There is a new file in the /common/cs/cs030 called "movies-old.py" which has the old movies db to use for your testing if you like.
- (Feb 20) Announcements from today:
1) No new reading - other than reading through Assignment 5 which is posted on the calendar. You'll be working on that in the lab on friday.
2) Assignment 4 is still due on monday.
3) Notice that TA and office hours above have changed.
4) and most importantly, here is the automatic paper generator that we talked about in class today SCIgen.
- (Feb 19) Notice that my office hours (shown above) have now changed to include some time on fridays.
The TA hours will be changing shortly as well.
- (Feb 19) In response to a class question yesterday about what happens when match returns None, heres an explanation.
- (Feb 19) Yesterday in class someone asked why the movie query loop runs again after you type "bye."
I've posted an answer to that question here: movies-running-twice.pdf
- (Feb 18) another example from class
- (Feb 18) examples from class
- (Feb 18) announcements:
1) reading - chapter 11 of text and section 8 of tutorial (both on exceptions)
2) notice that assignment 4 is posted, as well as the solution to assignment 3
- (Feb 14) As emailed...Patrick has requested that we move tonight's (Thursday night) TA hours to Sunday night 8-10pm (since the assignment is due on monday).
Patrick is copied on this note incase you need anything from him. Please recall that you DO have the lab tomorrow from 1:15 to 2:30. Feel free to email me as well if you have any questions.
- (Feb 12) An outline for Assignment 3, as discussed in class. outline
- (Feb 8) A few things from class today:
1) examples that I used in class
2) Reading Chapters 5, 6, 7, and 8 of "How to think..." (excluding the section on tables in chapter 6 - unless you're interested of course.
3) Read Assignment 3 BEFORE CLASS ON MONDAY (posted on calendar)
4) Read through the solutions to assignment 2 (posted on calendar)
5) Have a great weekend!
- (Feb 6) Announcements from class today:
1) Since the schedule is a little weird this week and next, I thought I'd clarify. This friday, we have class in the classroom downstairs (Lincoln 1135). Next week is normal, except that class is cancelled on Wednesday.
2) Be sure to use the submit script in submitting assignments from now on. 3) Assignment 2 is due on friday at noon - use Patrick's lab hours for help tonight (wednesday) and tomorrow night. Also feel free to email me (Sara) if you have any questions.
- (Feb 5) Here are some more examples to reinforce your reading.
Specifically recursion, map and filter are used on Assignment 2.
- (Feb 4) Answer to another class question (well, kind of)....programs that write programs.
- (Feb 4) As someone pointed out today, there is indeed someone who made a Turing Machine
out of legos. (Lego Turing Machine site)
- (Feb 4) As promised, here is a full josephus example.
- (Feb 4) Recall that there are some solutions to lab 2 and asgt 1 posted on the calendar.
Here are some examples that I went through in class today (note the I didn't make it through all of these - we'll continue on friday.
- (Feb 4) As noted in class today, lab will be on Wednesday this week. Homework to do before the lab on Wednesday:
1) Read Chapter 4 of "How to think..." 2) Start Assignment 2 and come to the lab with questions (you will be working on Assignment 2 in the lab, so it will help a lot if you are prepared.
- (Feb 3) Recall my email announcements from friday. Homework for monday:
1) Read through Assignment 2 and bring questions to class.
2) Also read about tuples. Section 5.3 of the Tutorial is sufficient; Chapter 9 of How to think like a Computer Scientist is more than enough.
- (Feb 3) Notice that I've posted solutions to Assignment 1 and Lab 2 on the course calendar.
- (Feb 1) tileRow.py example and change.py example and 1-30.py example
- (Jan 31) If you have problems submitting your Assignment 1, there might be problems with the account permissions.
We can sort that out at the lab tomorrow, so just be sure to have it completed and accessible when you come to lab so that you can submit it then.
- (Jan 29) If you happen to run into a "Bad Magic Number" error in python, let me know.
It is an issue with the machines, not your error.
- (Jan 28) Someone today asked where the phrase "floating point number" came from.
Good question! Here's what wikipedia says: "The name "floating-point" refers to the fact that the decimal point can 'float'; that is, it can be placed anywhere relative to the significant digits of the number." For more, see the wikipedia article.
- (Jan 28) Some things from todays class:
1) the Eq Triangle code
2) #4 on Assignment 1 is now extra credit.
3) Recall that "comments" are REQUIRED on your Assignment 1 (and all assignments.
- (Jan 28) Homework for Wednesday (Jan 30):
1) Read Chapter 3 of "How to think like a Computer Scientist"
Recall that we will have short quizzes on the reading.
2) Continue working through the Python tutorial.
3) Assignment 1 is due Friday
4) Read through "Laboratories and Assignments: Some Details" on resources page.
- (Jan 26) Homework for Monday (Jan 28):
1) Read Chapter 2 of "How to think like a Computer Scientist"
Recall that we will have short quizzes on the reading.
2) Continue working through the Python tutorial.
3) Look at the Assignment 1 (Posted on the "calendar" page of this site)
- (Jan 25) As you'll see in lab today, the python code that I wrote on the board on Wednesday was missing one line.
This will explain why we had trouble drawing the more complicated scenic routes. The missing line is "rotate(45)" at the end of the "else" clause. This sets the turtle back in the appropriate direction.
- (Jan 23) Homework for Friday (Jan 25):
1) Read Chapter 1 of "How to think like a Computer Scientist" (link on Resources page).
2) Start going through the Python tutorial (in Python documentation on Resources page).
- (Jan 23) Welcome to CS 30! You should check this site often for assignments and annoncements!
Notice the Syllabus, Calendar and Resources pages.
|