Bryn Mawr College
CS
110-002: Introduction to Computing
Fall
2006
Course
Materials
For
Prof. Deepak Kumar's Section ->Click here
General
Information
Instructor:
Dianna
Xu, 246A Park Science
E-Mail: dxu at cs brynmawr dot edu
WWW: http://cs.brynmawr.edu/~dxu
Lecture
Hours: Tuesdays
& Thursdays, 2:30 p.m. to 4:00.m.
Room: Park 336
Lab: Thursdays 4:00 p.m. to 6:00 p.m. in Room 231 (additional lab hours
also available, see below)
Office
hours: Tuesdays 1-2:30 and by appointment
Course
Blog Site: Click here
Laboratories:
- Computer Science Lab Room 231 (Science Building)
- You will also be able to use your own computer
to do the labs for this course.
Lab
Assistants:
The following
Lab assitants will be available during the week for assistance on lab
assignments.
1. Julia Ferraioli:
Mondays 9:00a to 11:00a and Tuesdays 4:00p to 6:00p
2. Anne Miller: Tuesdays
12:30p to 2:30p and Wednesdays 4:00p to 6:00p
3. Marwa Muhammad:
Thursdays 10:30a to 12:30p and Fridays 10:00a to noon
4. Bhumika Patel: Mondays
4:00p to 6:00p and Thursdays 4:00p to 6:00p
5. Shikha Prashad:
Tuesdays and Thursdays 7:00p to 9:00p
Texts &
Software
Python
Programming: An Introduction to Computer Science: by John Zelle,
Franklin Beedle & Associates, 2004. ISBN 1-887902-99-6
Python
Software + IDLE (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)
|

|
Important
Dates
September 5:
First lecture
October 12: Exam 1
December 14: Last lecture/Exam 2
Lab
Assignments
-
(By September 7): Go to the course blog
site (click here) and create an account for yourself
(same username as your e-mail username).
-
Assignment#1 (Due on
September 14 before class): Click here
for details.
-
Assignment#2 (Due on
September 21 before class): Click here for
details.
- Assignment#3 (Due on
September 28 before class): Click here for
details.
- Assignment#4 (Due on
October 10 before class): Click here for
details.
-
Assignment#5 (Due on October
31 before class): Click here for details.
- Assignment#6 (Due on November 16 before class): Click here for details.
- Assignment#7 (Due on November 30 before class): Click here for details.
- Assignment#8 (Due on December 14 before class): Click here for details.
Lectures
- Week 1 (September 5, 7)
September 5: What is a computer? What is a
program? Universal machines, software & hardware. What is computer
science? Programming languages.
Do (By September 7): Go
to the course blog site (click here) and create an
account for yourself (same username as your e-mail username).
September
7:
Introduction to Python and algorithms
Do
(Due on September 14 before class): Lab Assignment#1 is posted. Click here for details.
Read: Chapter 1 from
Zelle.
- Week 2 (September 12, 14)
September 12:
program design, temperature converter, program elements
Read: Chapter 2 from Zelle,
throughl 2.5.2.
September 14: Simultaneous
assignment, definite loops. Problems that use definite loops.
Read: Chapter 2 from
Zelle.
Do Assignment#2 (Due on September
21): Click here for details.
- Week 3 (September 19, 21)
September 19: Computing with numbers:
integer and float types in Python. The Python math module. The accumulator
Read: Sections 3.1, 3.2 and 3.3 from Zelle.
September 21:
Large integers. Implicit and explicit type conversions, and rounding.
Read: Chapter 3 from Zelle.
Do Assignment#3 (Due on Thursday,
September 28): Click here for
details.
- Week 4 (September 26, 28)
September 26:
Computing with strings: the make up of strings as a sequence of letters,
indexing, slicing, concatenation, repetition, ASCII encoding of letters.
More on lists.
Read:
Sections 4.1 to 4.4 from Zelle.
September 28: More
on strings, the string module in Python, formatting output.
Read: 4.1
through 4.5 from Zelle
Do:
Assignment#4 (by Tuesday, october 10): Click here
for details.
- Week 5 (October 3, 5)
October 3 :
Strings, contd. Special characters, File I/O.
Read: Chapter 4
from Zelle.
October 5 : Introduction
to object-oriented programming; Properties and methods/operations. Simple
graphics in Python. (see links at the bottom of this page for the graphics
module, documentation, and a database of color names).
Read: Chapter 5 from Zelle.
- Week 6 (October 10, 12)
October 10 : Review
for exam. Fun with graphics objects: using random numbers;
Read: Chapter 5 from Zelle.
October 12: Exam 1 is
today.
- Week 7 (October 17, 19)
No
class. Fall Break!!
- Week 8 (October 24, 26)
October 24: Midterm review. Including an image in your graphics window.
Read: Chapters 1-5 from Zelle. Midterm Solutions
Do: Assignment#5 (by Tuesday,
October 31): Click here for
details.
October 26: SetCoords command to set up a custom coordinate system. Interactive mouse and keyboard input.
Read: Chapters 5 from Zelle.
- Week 9 (October 31, November
2)
September 26: Functions, parameters and scope, return values.
Read: Chapter 6 from Zelle.
November 28: Simple conditionals, decision making
Read: Chapter 7 from Zelle
Do: Assignment#6 (by Thursday, November 16): Click here for details.
- Week 10 (November 7, 9)
November 7: Examples using if-statements and functions.
November 9: Professor Kumar will cover this class
- Week 11 (November 14, 16)
November 14: Conditional loops, interactive loops, sentinel loops, file loops and intro to nested loops.
November 16: More on nested loops.
Read: Chapter 8 from Zelle
Do: Assignment#7 (by Thursday, November 30): Click here for details.
- Week 12 (November 21, 23)
November 21: More on booleans and conditionals.
November 23: No class,
Thanksgiving
- Week 13 (November 28, 30)
November 28: Data structures, python lists, statistics with lists
November 30:
Read: Chapter 11.1 and 11.2 from Zelle
Do: Assignment#8 (by Thursday, December 14): Click here for details.
- Week 14 (December 5, 7)
December 5:
December 7:
- Week 15 (December 12, 14)
December 12:
December 14: Exam 2 is today.
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
1. Sample
programs
2. Lecture
notes
3. graphics.py
4. HTML
documentation of graphics.py
5. Data
base of color names
Created on
August 2, 2006.