This course provides an introduction to the field of computer science using the Python programming language. Topics include iteration and recursion, basic data structures, sorting and searching, elementary analysis of algorithms, and an introduction to object-oriented programming. This course will place special emphasis on working with and making sense of data in order to connect course material with applications in other disciplines. By the end of this course we hope you have a good basic understanding of how to develop (design, code, and debug) medium-sized programs in Python, and have a basic understanding of how one might analyze programs for correctness and efficiency.

This course (or one of the other variations of CS 51) is a prerequisite for all upper level Computer Science courses.

Prerequisites: None. In this course we assume that you have no previous computer programming experience in any language. If you have had significant previous experience, please talk to the instructor, as CS 54 may be more appropriate.

Lectures

There are two sections of this class. Lectures take place on Mondays and Wednesdays at 1:15-2:30pm and 2:45-4pm. Lectures will take place in Edmunds 114. See the schedule for details.

Labs

There are two lab sections. One section takes place on Monday evenings 7-9:50pm in Edmunds 219/229. The other section takes place Tuesday evenings 7-9:50pm in Edmunds 219/229. You may enroll in either lab section (space permitting), but please attend your assigned lab section.

Instructors

Eleanor Birrell Eleanor Birrell
eleanor.birrell@pomona.edu
Edmunds 221
Office hours: Tuesdays 1-2:30pm and 5-6:30pm Wednesdays.

I am generally in my office most afternoons, so feel free to drop by with quick questions or just to say hi.
The best way to contact me is by email. During the semeter, I try to respond to all messages within 24 hours.
Zilong Ye Zilong Ye
Zilong.Ye@pomona.edu
Edmunds 115
Office Hours: Tuesdays and Thursdays 2-4pm

If my door is open, please feel free to stop by if you have any questions. You can contact me by email (preferred) or slack.

TAs

Caleb Kim Caleb Kim Mentor Hours: Thursdays 8-10pm
Catherine Byen Catherine Byen Mentor Hours: Sunday 1-3pm
Kellie Au Kellie Au Mentor Hours: Sundays 2-4pm
Rachel Yang Rachel Yang Mentor Hours: Wednesdays 7-9pm
Richard Kim Richard Kim Mentor Hours: Saturdays 10am-noon
Sarah Shader Sarah Shader Mentor Hours: Sundays 4-6pm
Summer Hasama Summer Hasama Mentor Hours: Fridays 9-11am
Tara Mukund Tara Mukund Mentor Hours: Thursdays 2-4pm
Tonya Chivandire Tonya Chivandire Mentor Hours: Fridays 1-3pm

Assignments

There will be ten weekly assignments in CS 51P. All assignments will be due on Mondays at 5pm. See the schedule for details.

Assignments will be started in the laboratory sessions. It is your responsibility to complete the assignments and turn them in on time. You get seven late days that may be used at your discretion to submit assignments after the deadline with no penalty. For partner assignments, both you and your partner must spend a late day available to use one. Further extensions after you have exhausted all your late days will be granted only in exceptional circumstances.

There will also be a final project in this class.

Exams

There will be three checkpoints and in this course. Checkpoints will take place in class on September 27, October 23, and December 6. There is no final exam in this class. See the schedule for details.

Grades

Finishing all the assignments successfully is required to pass the class. After that, grades are computed on a point basis, as follows:

Assignments: 20%
Checkpoints: 60%
Final Project: 20%

Academic Integrity

In general, collaboration is encouraged in this course. This means that you may discuss approaches to solving problems with anyone in this class, including faculty and TAs. As specified in the department policy, you may help, or receive help, in using systems and tools, in brainstorming debugging or testing strategies, and in working with high-level design issues. However, unless otherwise specified, you should never be looking at another student's code. Moreover, using material from any external source---web page, person, book, or ChatGPT---to complete assignments or exams is forbidden. The actual solutions to the laboratory exercises and the code you submit must be your own. Except for material from the textbook or lecture, you may not copy, retype, view, or share a copy of any file. If you have any questions about what is appropriate or inappropriate collaboration, please speak with an instructor.

Course materials provided to you, including graded papers and exam summaries, are for your use in the course. You are encouraged to use them to the fullest extent, but you are not to publish them or distribute them to other people or organizations.

There will be stringent penalties for violations of academic honesty, up to failure in the course.

Environment and Accomodations

All students are welcome in this class, and all of the course staff are committed to providing equal opportunity for all students. If you have concerns about anything that is preventing you from fully participanting in the class, please talk to us so that we can address it. Requests for formal accommodations may be made by contacting the Disability Coordinator on your home campus; all accomodations will be honored.