Bryn Mawr College
CS 110: Introduction to Computing
Spring 2007
Course Materials
Prof. Deepak Kumar

Information
Texts  Important Dates  Assignments  Lectures  Grading Links

General Information

Instructor: Deepak Kumar, 248 Park Hall, 526-7485
E-Mail: dkumar at cs brynmawr dot edu
WWW: http://cs.brynmawr.edu/~dkumar

Lecture Hours: Mondays & Wednesdays, 2:30 p.m. to 4:00.m.
Room: Park 349
Lab: Fridays 10:00 a.m. to 12:00 noon. in Room 231 (additional lab hours also available, see below)

Laboratories:

Lab Assistants: The following Lab assitants will be available during the week (names and schedules will be posted by the end of this week) for assistance on lab assignments.

  1. Deepak Kumar (dkumar): Fridays 10:00a to 12:00 noon
  2. Anne Miller (amiller): Mondays 4:00p to 6:00p and Fridays 10:00a to 12:00 noon
  3. Bhumika Patel (b2patel): Mondays & Wednesdays 10:00a to 12 noon
  4. Simona Radu (sradu): Fridays 6:00p to 8:00p and Sundays 7:00p to 9:00p
  5. Ashley Gavin: Robot Guru, IPRE Fellow, will be able to provide technical assistance. her office is Room 251 (across from the lab).

These are the hours when the Lab will not be available:

Mondays 2:30-4:00p (Emergence course)
Wednesdays 2:30 to 6:00p (Emergence and GIS courses)
Fridays 2:00p to 4:00p (GIS courses)


Texts & Software

Python Programming: An Introduction to Computer Science: by John Zelle, Franklin Beedle & Associates, 2004. ISBN 1-887902-99-6

Python Software + IDLE + Myro (This software is already installed in the Computer Science Lab). The software is also available for your own computer from the CD included in your text.

Graphics Library (accompanies and distributed with the text is also installed in the lab)

Scribbler Robot Kit: These will be handed out to you in Week#2.

This book is not yet named, by IPRE, 2007 (available online, click here) We will refer ot it below as TBNYN.


Important Dates

January 23 : First lecture
March 8: Exam 1
May 3: Last lecture/Exam 2


Assignments+Robot Videos

  1. Assignment#1: (Due on Tuesday, January 30) Do Execrise 1 or Exercise 2, or Exercise 3, or Exercise 4 from Chapter 1 of TBNYN (based on your onw preference). Submit a printed short paper no longer than 3-5 pages (single spaced with 1-inch margins).
  2. Assignment#2: (Due on Thursday, February 8) Do Exercises 1 through 5 from Chapter 2 of TBNYN. Hand in a short answer/description in reponse to Exercises 1, 2 and 5. For Exercises 3 and 4 hand in a printout of your robot programs. Also, for Exercise 3 hand in the square drawn by your robot. The lab has larger sheets of paper that you can use to draw the squares. Make sure the square fits in that sheet. The following students will provide video demos: Sarah Allen & Michelle Beard, and Anisha Chirmule.

    Videos: Videos from Assignment#2: Drawing a Square (0:09), Scribbler dance and drawing a square (0:51), Drawing a square (0:08), Scribbler dances to Punjabi MC's "Beware of the Boys" (0:59) , Another Scribbler dance to Punjabi MC's "Beware of the Boys" (0:58)
  3. Assignment#3: (Due on Thursday, February 15) Write a program for your Scribbler to draw a 5-point star. [Hint: Each vertex has an internal angle of 36 degrees]. Your program should include a function called, drawStar(sideLength), so that you can use it over and over again to draw stars of different sizes. Write a main program to use drawStar to draw at least 5 stars (use a loop) of different sizes (say sides of length 3-10 inches) on the same sheet of paper. Also, write a program for your Scribbler to create some abstract art. Hand in the two programs, and sheets that show your robot's drawings. For the second program, try and be creative, include repetition, use different colors etc. The following students will provide video demos: David Banat, Sarah Deibler, and Ellis Dong.

    Videos from Assignment#3: Drawing stars, Another star,

  4. Assignment#4 (Due on thursday, February 22):
    (1) A robot measuring device
    You have caliberated your robot with regards to how far it travel in a given amount of time. You can use that to design a robot that measures space. Write a program that enables a robot to measure the width of a hallway or any given bounded area. Show what measurements your robot comes up for the length and the width of the green table in the robot lab.
    (2) Light follower: Write a program for your robot to follow a bright light. I.e, the robot goes towards the light.
    The following students will provide video demos: Natasha Eilbert, Zulma Garcia-Morales, Jennifer Garrett

    Videos from Assignment#4: Light Follower (AVI/WMV), Measuring Table (AVI/WMV)

  5. Assignment#5 is posted (Due on Tuesday, March 6) Click here for details.

  6. Assignment#6 (Due on Tuesday, April 3)
    Design a Scribbler program to perfom the Corral Exiting exercise described in Chapter 6 of TBNYN. The lab will have several wooden 4x4 blocks and a lamp to construct the corral as described to test your programs. Video demos of the robots will be done by Laura Gudorf, Laurel james, Grace Kung, Christine Lee, and Mina Lee.

    Videos from Assignment#6: Laura Gudorf, Mina Lee, Christine Lee, Grace Kung,
  7. Assignment#7 is posted (Due on Tuesday, April 17) click here for details

    Videos from Assignment#7: DansingFest (by Natasha Eilbert and Caitlin Manley), Scribbler Flute (by Christine Lipuma)

  8. Assignment#8 (Due on Tuesday, May 2): Write a 3-5 page essay (1-inch margins on 8.5-11.0 inch paper, type-written and single-spaced) on personal robots, technology, and computer programming. Your essay should be based on your personal experiences with the use of personal robot(s) in this course and all of the assignments, concepts learned, etc. Your essay can take any direction you choose...make it as personal as you can. Be objective where you need to be, critical where you feel it needs to be, etc. It should be a reflection on this course and how it relates to you and your career and other plans in life.

Robot Videos and other demos from out there!

  1. Robot Dance (SONY Qrio robots) (03:25)
  2. Another robot dance (01:25)
  3. Robot Artist (3:21)
  4. Hektor: The graffitti drawing robot: Several videos
  5. AARON The Cybernetic Artist (visit the web page and even download a version for your computer)
  6. Ashley Gavin's Hell Week Rap :-) (AVI/WMV)
  7. We made the 6 'o clock news! (needs Microsoft Internet Explorer)


Lectures



Grading

All graded work will receive a grade, 4.0, 3.7, 3.3, 3.0, 2.7, 2.3, 2.0, 1.7, 1.3, 1.0, or 0.0. At the end of the semester, final grades will be calculated as a weighted average of all grades according to the following weights:

Exam 1: 20%
Exam 2: 25%
Labs & Written Work: 55%
Total: 100%


Links

The graphics.py file

HTML documentation of graphics.py

A database of color names

 


Created on January 19, 2007.