CS211 Course Information

Welcome to CS211!

This web site contains a wealth of useful information that we have compiled for your benefit. Please take some time to review it and familiarize yourself with its contents so that you know where to find the information you need quickly when you need it. You are responsible for following all the policies and procedures stated on this website.

Course Description

Name COM S 211/ENGRD 211: Computers and Programming
Semesters Offered fall, spring, summer
Credit Hours 3
Prerequisites COM S 100 or an equivalent course in Java or C++
Grade Option Letter or S/U
Course Description Intermediate programming in a high-level language and introduction to computer science. Topics include program structure and organization, modules (classes), program development, proofs of program correctness, recursion, data structures and types (lists, stacks, queues, trees), object-oriented programming, and analysis of algorithms.  Java is the principal programming language.
Course Website http://www.cs.cornell.edu/courses/cs211/2006fa
Course Newsgroup cornell.class.cs211

In CS211, you are expected to learn:

A complete listing of course topics can be found at Lecture Notes.

Refer to http://www.cs.cornell.edu/ugrad/FirstCourse.html for information about other introductory programming courses if you need help in deciding whether or not to take CS211.


Staff Name Phone Office Office Hours
Instructors Paul Chew
255-9217 494 Rhodes Hall Tue & Thur 3:00-4:00pm
David I. Schwartz
255-5395 5137 Upson Mon 1:30pm–3pm
appointments: e-mail Kelly
Alec Bernston 
- 328C Upson Tue 3:00-4:00pm
  Christopher  Estela
- 328C Upson Tue 11:00am-noon
Nikos Karampatziakis
nk at cs.cornell.edu
  5132 Upson Thu 12:30-13:30
  SooYeon Lee
- 328C Upson Wed 4:45-5:45pm
  Yunpeng Li
  5151 Upson Wed 11:00am-noon
Caitie Mccaffrey
  328C Upson Thur 1:30-2:30pm
Andrew Salamatov
  328B Upson T 2:45-3:45pm
  Michael  Sutjipto
  328C Upson Mon 11:15-12:15pm
Andrew Tibbits
aht9 [at] cornell.edu
  328C Upson Wed 12:20 to 1:20pm
Morgan Ulinski
  328C Upson Fri 11:00am-noon
  Chengxi Zheng
- 4161 Upson  
Kelly Patwell
255-7790 5147 Upson Mon.–Friday 8:30-4:00

Teaching Assistants

The teaching assistants (TAs) mainly teach recitation sections and assist with homework and exams. We encourage you to attend their office hours if you have difficulties in the course. You can make an appointment with any TA by e-mail.


In addition to TAs, there are a number of consultants. These are are undergraduates who have excelled in their coursework and are employed as graders and tutors for CS211. They are available in 360 Upson Hall most afternoons and evenings. We might also have hours in RPCC. See the section on Consulting for locations and hours.


Locations and Hours

Upson 360

Mon Tue Wed
1:25 Chris  
2:30 Jared, Udom Will, Chris  
3:35 Jared, Matt Will, Jared  
4:45 Yaowei, Matt Namir, Yaowei Matt, Jared
6:00 Chris, Yaowei Namir, Yaowei, Udom Matt, Venkat
7:00 Chris, Venkat Marius, Udom Marius Venkat
8:00 Will, Venkat Marius, Adam Marius, Adam
9:00 Will, Udom George, Adam George, Adam


RPCC consulting takes place in the computer lab. Look for a sign on one of the tables that reads "211 Consulting".

1:30-2:30PM Namir
7-9PM Adam

Consulting Policies

Want to Be a Consultant?

CS211 and many other CS courses are always looking for great consultants.  In general, CS211 is the launch pad for many courses.  In addition, our best consultants can become undergraduate TAs.  If you get at least an A- in CS211, check out this website: http://www.cs.cornell.edu/ugrad/Consulting.html.

Reading and Textbooks

Reading assignments are posted along with the lecture notes and examples in Lecture Notes.  The sources listed here will be on reserve in the Engineering Library in Carpenter Hall.

Required Text

Optional Reading

Java Help & Software

Which Version?

We use the Java 2 Platform Standard Edition (J2SE) version, which consists of the Java Development Kit (JDK) and the Java Runtime Environment (JRE). To refer to the current release of J2SE, we will usually say Java 1.5, Java 5, or jdk1.5.

To download Java, click on Sun's Java site and download the JDK 5.0 Update 8. Follow the instructions on installing Java. To make Java easy to use at the command line, refer to Section 2.4 in Applications Help on our website.

If you used an older version of Java (1.4 or earlier), you must upgrade your software. The following websites describe Java 5:

Note that we will not accept Java 1.6, which was currently in beta near the start of this semester.

Java Bootcamp

For students with limited Java experience, we will hold a Java Bootcamp, which involves about three hours of self-guided training in Java. The Bootcamp is a self-paced tutorial that summarizes key issues of Java's syntax that are usually covered in CS100. Students can download the material and solutions. Or, you can attend two identical sessions with course staff that will answer questions. If you have never programmed in Java, have not programmed in a long time, or feel that your skills are a bit weak, we strongly suggest that you attend the Bootcamp.

Place Upson B7
Dates Tuesday, 8/29
Wednesday, 8/30
Time 7:30-10:30pm
Materials Tutorial
Companion Document (also called "Applications")

More Ways To Catch Up

Obtain Java

Windows and Unix

The JDK 5.0 is already installed in CIT and ACCEL labs. To install it on your own machine:


As of Fall 2005, the standard Java site does not have links for Macs. However, the following information should help, assuming you are not running an "archaic" version of Mac OS. Unfortunately, you will need to upgrade your operating system to 10.4 or later.


Development Environments

The best way to develop Java programs is with an Integrated Development Environment (IDE). We recommend DrJava, available free of charge from Rice University. DrJava is installed in the CIT labs. However, you may use any IDE that you like, or just a text editor if you prefer. Here are some links:


You are expected to attend all lectures.

Registration Information

There are two ways to register:

Note that ENGRD 211 and COM S 211 are the same course (which we usually call just CS211), so do not sign up for both!  The difference is purely administrative so that the College of Engineering can keep track of how many of its students use this course to fulfill a distribution requirement.

ENGRD Course ID 738-941
COM S Course ID 345-500
Lecture 01
Days TR
Time 10:10–11:00am
Location 155 Olin


We expect the following conduct of all students:

We prefer class participation, so please feel free to raise your hand to contribute to the class discussion.

Lecture Notes

We put most of our files for lecture notes, corresponding readings, and examples at the Lecture Notes link, usually just before or after lecture. Not all material covered in lecture will necessarily be online, so please do not email us about it. On the other hand, sometimes the lecture notes will contain extra material for you to review outside of class, and you are responsible for this material.


You are expected to attend a recitation section once per week. Section will cover some material not covered in lecture and provide an opportunity for questions on recent material, assignments, and exams. You may attend any recitation section, but we prefer that you select one and stay with it.

Registration Information

The current sections are as follows:

Course ID
Course ID
Section Day Time Place Instructor(s)
374-634 345-549 1 T 1220-0110P HO 306 Andrew Salamatov
Morgan Ulinski
374-683 345-598 2 T 0125-0215P TH 202 Andrew Tibbits
374-683 345-598 2 T 0125-0215P HO 306 Caitie Mccaffrey
374-732 345-647 3 T 0230-0320P HO 306 David Schwartz
374-781 345-696 4 W 1220-0110P UP 109 Nikos Karampatziakis
Chris Estela
374-781 345-696 4 W 1220-0110P HO 306 Alec Bernston 
SooYeon Lee
Chris Estela
374-830 345-752 5 W 0125-0215P HO 306 Yunpeng Li
SooYeon Lee
374-879 345-801 6 W 0230-0320P HO 306 Andrew Salamatov
Mike  Sutjipto
374-928 345-850 7 T 1220-0110P OH 245 Alec Bernston 
Andrew Tibbits
374-977 345-899 8 W 0125-0215P OH 245 Alec Bernston
Caitie Mccaffrey 

Occasionally section instructors might temporarily move their section to a computer lab. Pay attention to announcements to keep track of these potential room changes.


Generally, expectations of lecture are the same for section.

Section Notes

Notes and examples will be posted occasionally in the Section Notes link.


General Information

You will have six mandatory homework assignments to complete for the semester. These will involve writing Java programs and possibly other tasks. All assignments are posted at the Assignments link.


You must follow the rules of Academic Integrity (AI). In addition, you must follow these rules concerning partners, unless we post otherwise:


Late Policy

Submit your assignments on time and well before the deadline. (CMS tends to lag right near the deadline if too many students wait until the last minute.) However, you may submit your assignment one day late by 6PM, though you will receive a 20% penalty off your score. For example, if you would have gotten an 80, your score would be 64. If you submit only a portion of an assignment late (i.e., one of the problems), your entire assignment score will still be penalized.

We will deal with work submitted past the 6PM late-deadline on a case-by-case basis. Extensions will be granted only in exceptional circumstances, such as Illness, and only with approval (preferably prior!) by one of the instructors.


The main assignments receive scores out of 100 points. At the very least, all of your code must compile without warnings or exceptions. If it does not, we will not debug your code and you may receive a grade of zero. We also expect you to follow the submission format requirements that the CMS Info link summarizes. We try to grade each assignment on the day after the due date. We strongly recommend that you review the grading comments, which are posted on CMS. Each time you get something wrong, we label the mistake with a code. The codes are posted on the Assignments in files with names, like "a3ggcs211sp05.txt" (Assignment 3 Grading Guide for CS211 Spring 2005).

You may receive bonus points for exceptionally fine work. If you receive any bonus points, those points are counted separately and accumulate in a single bonus score for the semester. Refer to Grading for an explanation of how bonus points can influence your grade.

If you feel we have made a mistake in grading, you may request a regrade. Refer to the Regrades section for details.



You are required to take two prelims and a final exam. Please see the Exams link for times and locations, review session information, topics, practice problems, and solutions.


We distribute prelims in 360 Upson (M-F, 10:00am–noon and 2:00pm–4:00pm) usually the day after the prelim. Bring your student ID card. Final exams may be reviewed the following semester, but may not be taken from the room. Note that this room also holds CS211 consulting, but our consultants work in a different area than the distribution center.


If you have a conflict such as a prelim scheduled at the same time, you must first try rescheduling the event conflicting with the CS211 exam. If you have exhausted other means for rescheduling your conflict, you must contact the course administrator (Kelly) at least two weeks before the exam. You must explain the nature of the conflict and provide documentation. You might be eligible to take an early prelim offering at 5:45–7:15 PM. We do not usually offer makeup exams at any other time. If you miss an exam because of a serious matter like illness, see the section on Illness.


Exams are graded out of 100 points. As with assignments, you may request a regrade. If we assign bonus points, these are added to your bonus point total for the semester.



Your final numerical score will be a weighted combination of your scores for all required course work. Note that A=assignment, P=prelim, F=final, and E=evaluation, which is the university course evaluation:

A1 A2 A3 A4 A5 P1 P2 F E
8 9 9 9 9 15 15 25 1

Note the evaluation is the university evaluation. We get a list of people who fill it out—the university keeps your responses anonymous. We reserve the right to change the relative weights.

Grade Computation

We will determine your letter grade for the course using your final numerical score and predetermined grade cutoffs as given in the following table. These are numerical scores that will guarantee you at least a certain letter grade, regardless of how the rest of the class performs.

A score of guarantees at least
90 A
80 B
70 C
50 better than F

Note the following:


For all graded work, you always have an opportunity to request a regrade if you feel we have made a mistake in the grading or simply to request a clarification. To make a regrade request, you need to explain in words what you feel is wrong or what you do not understand. For each assignment and exam, there is a deadline for regrade requests, normally one week after the grading guide and solutions have been posted. The assignment/exam supervisor (see Assignments and Exams) will process the requests after the regrade deadline has passed. Regrade comments are either posted on CMS (usually for assignments) or returned in the consulting office (usually for prelims) as explained below.





Final Exam:


In regrades, the burden of proof is on you. You must adequately demonstrate how and why you deserve a higher grade.

We allow minor corrections to code in some cases. For example, if fixing a small piece of code demonstrates that your code really did work a lot better than we perceived, you might earn more points. However, we will usually apply a point deduction for such fixes, so only in some cases will you receive additional points.


CS212 is a one-credit project course that the computer science major requires. Students may take CS212 either simultaneously with CS211 or afterwards, though we recommend taking them together. Refer to http://course.cs.cornell.edu/cs212/ for more information on CS212.

For students who are unsure on when to take CS212, we offer this advice:

Academic Excellence Workshop

The Academic Excellence Workshop (AEW) offers an opportunity for students to gain additional experience with course concepts in a cooperative learning environment. Research has shown that cooperative and collaborative methods promote higher grades, greater persistence, and deeper comprehension. The material presented in the workshop is at or above the level of the regular course. We do not require joining the AEW program, but do encourage students to join if they are seeking an exciting and fun way to learn. The AEW carries one S/U credit based on participation and attendance. The time commitment is two hours per week in the lab—no homework will be given. This is a wonderful opportunity for students to seek extra help on course topics in a small-group setting.

Your fellow undergraduate students, who are familiar with the course material, teach the sessions with material that they prepare. The course staff provides guidance and support but do not actually teach the AEW course content or any session. A representative from the AEW program will be speaking about the program and registration procedures in lecture. We summarize the information here:

See the AEW webpage for registration information and schedule.


You have the following responsibilities:

To reach a staff member, the best time is office hours. Please post general questions to the newsgroup so that others can benefit from your question. Someone will respond within one working day. Note that posts in USENET are subject to the rules of AI, so you should not post solutions. Generally, rough algorithms or non-solution-specific code fragments are ok if you need them to illustrate a point.

We try to reserve e-mail for emergencies and urgent matters. Something that is urgent is generally defined as something the instructors would find urgent. If you do need to e-mail the staff, please do not use HTML or MIME! Why? See this explanation.


We will be using the Cornell Course Management System (CMS) extensively for many administrative tasks, including posting of assignments, creation of partners, submission of solutions, grade reporting, and regrade requests. Please refer to the CMS page for information on the use of this system.

Academic Integrity

The utmost level of academic integrity is expected of all students. Please read carefully the following information and documents.

AI is Your Responsibility!



If You Suspect a Violation...


Computer Labs

CIT Labs

Cornell Information Technologies (CIT) runs several computer labs across campus for all members of the Cornell community. The JDK 5.0 and DrJava are installed on these machines. Refer to http://www.cit.cornell.edu/labs/ for locations and times of operation.


You can also find the course software in the Academic Computing Center (ACCEL), located in the Engineering Library in Carpenter Hall. Any CS student may register for an account.


If you must miss any coursework due to illness or another university-excused conflict, you must contact Professor Schwartz as soon as possible and provide formal documentation. If you miss a significant amount of coursework, you are strongly encouraged to drop the course. If you miss an exam due to documented illness, you must contact Professor Schwartz as soon as possible to review the matter.

Special Needs and Disabilities

In compliance with the Cornell University policy and equal access laws, we are available to discuss appropriate academic accommodations that may be required for students with special needs and/or disabilities. Requests for academic accommodations are to be made during the first three weeks of the semester and must be accompanied by official documentation. Please register with Student Disability Services in 420 CCC to verify your eligibility.