Graphic by Keith Ohlfs

CS111, Wellesley College, Spring 1999

CS111 Home Page: Computer Programming and Problem Solving
[CS111 Home Page] [Syllabus] [Students] [Lecture Notes] [Assignments] [Programs] [Documentation] [Software Installation] [FAQ] [CS Dept.] [CWIS]

Announcements


May 14, 1999:

Solutions to the GUI Lab are now available.


May 10, 1999:

Although Problem Set 10 has not been corrected yet, Problem Set 10 Solutions are now available. I hope they will be helpful in studying for the exam. I will announce here when the problem sets have been graded, and how to pick them up.


May 5, 1999:

The CS111 tutor application for Fall 1999 and list of requirements are now available.


May 3, 1999:

Review problems for the final exam are available from the download folder. The filename is FinalExamReview.doc. Some of the answers to the review problems are available in the Final_review_ans.doc file in the download folder.


May 3, 1999:

Your graded Exam 2s will be returned to you in your laboratory section by LeeAnn. I (Jennifer) graded problems 1, 2 and 3. LeeAnn graded problem 4. If you have ANY questions at all about your exam and your grade, you are welcome to come and see me. However, if you have a particular question about how problem 4 was graded, you might want to see LeeAnn before coming to talk with me. In the meantime, Exam 2 Solutions are now available. The average on the exam was an 82.


April 23, 1999:

Problem Set 10 is now available.


April 20, 1999:

The GUI lab is now available.


April 20, 1999:

Friday in lecture I will be returning your graded Problem Set 9s. If you would like your graded problem set before that time, please feel free to stop by my office to pick yours up. Perhaps some of you may find this helpful for the exam, particulary those of you who had trouble with loops on the problem set. In the meantime, Problem Set 9 Solutions are now available. The Flower problem was graded in detail. The others were just checked off to be sure that you made a "good faith effort". Remember that receiving full credit for such problems doesn't necessarily mean that you did them entirely correctly. When you have received your graded Problem Set, please be sure to study the solutions thoroughly. Each program was worth 2 points (recall, the total points for the assignment was 6).


April 16, 1998:

Exam 2 is now available.

 


April 15, 1999:

Tomorrow in lecture I will be returning your graded Problem Set 8s. In the meantime, Problem Set 8 Solutions are now available. The Pathfinder problem was graded in detail. The others were just checked off to be sure that you made a "good faith effort". Remember that receiving full credit for such problems doesn't necessarily mean that you did them entirely correctly. When you have received your graded Problem Set, please be sure to study the solutions thoroughly.


April 9, 1999:

Problem Set 9 is now available.

 


See the announcements page for previously posted announcements.

Instructors

Instructor

Office

Phone

Email

Office Hours

Lecturer:
Jennifer Stephan
(please call me "Jennifer")

SCI E104

x3152

jstephan@wellesley.edu

Tues., Thu. 1:00pm-3:00pm

Lab Instructor:
LeeAnn Tzeng
(please call me "LeeAnn")

SCI 104

x3114

ltzeng@wellesley.edu

Tuesday 12:30-2:40
Wednesday 9:50-12:20

You may go to either of the instructors for help.

Class Times

All classes are held in SCI E101. Lectures are taught by Jennifer; labs, by LeeAnn.

Lectures

Labs

Lab Teaching Assistant

Lec 01: Wednesday/Friday, 9:50am-11:00am

Lab 01: Monday, 8:30am-10:20am

Avanti Patel

Lec 02: Wednesday/Friday, 11:10am-12:20pm

Lab 02: Monday, 10:30am-12:20pm

Anne Park

Lab 03: Monday, 1:30pm-3:20pm

Alex Thorn

Lab 04: Tuesday, 2:50pm-4:40pm

Meredith Bookman

Teaching Assistants

CS111 drop-in teaching assistants are available in E101 from on the following nights and times:

Day

Time

Tutor

Sunday

7 - 9 p.m.

Lisa Hazel

Monday

7 - 9 p.m.

Meredith Bookman

Tuesday

7 - 9 p.m.

Alex Thorn

Wednesday

7 - 9 p.m.

Avanti Patel

Thursday

7 - 9 p.m.

Lin Hsu and Anne Park (most weeks we will have 2 TAs, some weeks only Lin)

Some hints on drop-in teaching assistants:

If you need more personalized attention than a drop-in teaching assistant can provide, please consider applying for a one-on-one tutor from the Learning and Teaching Center (LTC) . This service is confidential and free of charge; please take advantage of it if you need some extra help! Contact us or LTC for more information about this service.

Overview

CS111 is an introduction to the problem solving foundations of computer science. Computer science is the study of imperative ("how to") knowledge, which is at the heart of any problem solving activity. Imperative knowledge is expressed via algorithms, which are descriptions of computational processes that can be encoded as programs written in a programming language. Programs communicate imperative knowledge between people; they can also be executed by computers.

In this course, you will learn "big ideas" about solving problems, developing algorithms, and organizing programs. These ideas include:

You will get hands-on experience with these ideas by reading, modifying, debugging, designing, writing, and testing programs. Example programs will involve graphics, user interfaces, games, text manipulation, data analysis, and interactive web pages.

This semester we will be using the Java programming language as our main tool for exploring the above ideas. Although you will learn a significant amount about Java along the way, the focus of the course will be on the big ideas, not on the details of Java programming.

See the Course Syllabus for more detailed topic information and schedules.

Prerequisites

CS111 assumes no previous computer experience. The only mathematical background assumed is high school algebra and geometry.

Is This the Right Course for Me?

CS111 is for students who:

If you (1) want a broader introduction to computer science with less emphasis on programming and (2) are not likely to take other computer science courses, you should consider taking CS110: Computer Science and the Internet. Contact Randy Shull or Stanzi Royden for more information.

If you are not interested in computer science, but want to learn how to use various software applications (word processing programs, web browsers, picture editors, spreadsheets, etc.), you should take ITS mini-courses that teach how to use these applications.

If you already have substantial programming experience, consider taking CS230: Data Structures. Contact Ellen Hildreth for more information. CS230 is taught in Java.

If you have taken CS111 and/or CS230 but want to learn Java, consider taking CS251: Programming Languages, which will have a substantial Java component. Contact Ellen Hildreth for more information. Another option is to become a CS111 tutor; there's not better way to learn a subject than to teach it!

Classes

There are two 70-minute lectures each week, which will introduce the main content of the course. Each week there is also a mandatory 2-hour laboratory session, in which you will get hands-on experience with the computer, review material, and work on lab assignments. Optional tutorial and review sessions may be scheduled during the semester as the need arises.

Textbooks/Notes

Required Text: The text we will be using this semester is Java: First Contact, by Roger Garside and John Mariani.

E101 Library: The CS department has purchased a collection of books relevant to CS111 and CS110 that will be kept in the bookshelves near the front door of E101. Copies of the required and optional course texts may also be found here. See the E101 library page for a listing of the holdings and the rules for borrowing from the collection.

Science Center Library: A number of Java programming books are on reserve in the Science Center. You may borrow them for use within the library.

Computers

CS111 will be taught using the Macintosh computers in room E101 of the Science Center. Most of the software needed for CS111 resides on other Macintoshes on campus, although you may need to install some additional software yourself; see Software Installation for more detail.

It is our goal to have all CS111 software run on Windows-95 PCs in addition to Macs. As of this writing, this goal has not yet been achieved. We are currently working on configuring Windows-95 PCs to run the course software, and will announce when we are successful.

Throughout the course, you will need to use standard applications like Netscape, Fetch, email, and bulletin. The Documentation has pointers to documentation for all the software packages used in CS111.

Each CS111 student will be given a password-protected account on the CS111 file server (cs111.wellesley.edu). You will have a limited amount of space on the cs111 server to store your course-related files.

You are also expected to keep copies of all your course work on floppy disks or zip disks. Floppy disks are a frail medium that you should handle carefully.Store and transport them in suitable protected containers. Do not subject them to temperature extremes, put them near magnetic fields, store them unprotected in your pockets, etc. Even if you handle floppy disks carefully, they are still prone to failure. For this reason, you should regularly back up your floppy or zip disks!

Every time you insert a floppy disk into a computer, you may be transmitting a computer virus! Viruses are nasty software fragments that can erase information on your computer or cause other malfunctioning. In order to reduce the spread of computer viruses, make sure that any personal computers you use have appropriate virus protection software installed.

Assignments

CS111 assignments are designed to give you a working knowledge of the concepts presented in class. Weekly assignments in CS111 will consist of three sections: prelabs, labs and homework.

Assignments will typically be due at 4:00 p.m. on Fridays. See the Course Syllabus for detailed information on assignments and due dates.

Assignment Policy

Most assignments are due at 4 pm on Fridays. After that time, you may receive 75% of your total score on the assignment if you turn it in by 4 pm the next day (Saturday). Work will not be accepted after that time. If you have not completed an assignment, you should still turn in whatever you have for partial credit. In extenuating circumstances (e.g., sickness, personal crisis, family problems, religious holidays), you may request an extension. The instructors in the course will decide as a group whether to grant extensions. Such extensions are more likely to be granted if they are made before the due date.

Many of the assignments will be challenging. Keep in mind that programming often consumes more time than you think it will. Start your problem sets early! This will give you time to think about the problems and ask questions if you hit an impasse. Waiting until the last minute to begin a problem set is a recipe for disaster.

While planning your computer usage, keep in mind that computers do break down and Wellesley's are no exception. Also remember that outside of Laboratory hours, you may have to compete with other students for a machine.

Instructions for turning in an assignment will be include with that assignment.

Collaboration Policy

We believe that collaboration fosters a healthy and enjoyable educational environment. For this reason, we encourage you to talk with other students about the course and to form study groups.

Unless otherwise instructed, feel free to discuss problem sets with other students and exchange ideas about how to solve them. However, there is a thin line between collaboration and plagiarizing the work of others. Therefore, we require that you must compose your own solution to each assignment. In particular, while you may discuss strategies for approaching the programming assignments with your classmates and may receive debugging help from them, you are required to write all of your own code. It is unacceptable (1) to write a program together and turn in two copies of the same program or (2) to copy code written by your classmates. However, it is OK to borrow code from the textbooks, from materials discussed in class, and from other sources as long as you give proper credit.

In keeping with the standards of the scientific community, you must give credit where credit is due. If you make use of an idea that was developed by (or jointly with) others, please reference them appropriately in your work. E.g., if person X gets a key idea for solving a problem from person Y, person X's solution should begin with a note that says "I worked with Y on this problem" and should say "The main idea (due to Y) is ...'' in the appropriate places. It is unacceptable for students to work together but not to acknowledge each other in their write-ups.

When working on homework problems, it is perfectly reasonable to consult public literature (books, articles, etc.) for hints, techniques, and even solutions. However, you must reference any sources that contribute to your solution. Assignments and solutions from previous terms of CS111 are not considered to be part of the "public'' literature. You must refrain from looking at any solutions from previous terms of CS111 (unless, of course, we explicitly tell you it's OK to do so). It is our policy that consulting problem set solutions from previous terms constitutes a violation of the Honor Code.

Exams

There will be three CS111 exams, all open book and open notes:

  1. An in-class exam on Wednesday, March 3.
  2. A take-home exam that will be handed out on Friday, April 16 and will be due on Friday, April 23 at 5:00 p.m You are not allowed to collaborate with anyone else on the take home exam.
  3. A final exam during the regular exam period.

Please mark these dates in your calendars. If you have any conflicts regarding the exam dates, you must contact your instructor as soon as possible.

Grading Policy

The final grade in the class will be computed as a weighted average of several components. The relative weight of the each component is shown below:

Assignments (total)

50%

Exam 1 (in-class)

10%

Exam 2 (take-home)

20%

Final

20%

Total

100%

All assignments (lab assignments and problem sets) are weighted equally. Assignments account for the largest percentage of the grade. If you do not do these assignments, you will not pass the course!

For each assignment, one of the teaching assistants will grade the assignments for all the students in both sections. Jennifer will select one of the problems at random to be graded. The remaining problems will simply be checked off as completed (note, you must complete all problems on the assignment in order to be able to receive full credit). You should check your solutions to these problems for correctness using the detailed solutions that we provide for each assignment. If you have questions about the solutions, please see Jennifer, LeeAnn, or one of the teaching assistants for clarification. If you have questions about your grade on an assignment, you should first contact the teaching assistant in charge of grading that particular assignment. If you have further questions about your grade, please contact Jennifer.

Course Directory

The CS111 course folder is located on cs111.wellesley.edu in the same directory as all the CS111 student accounts. This directory contains material relevant to the class, including course software, and on-line versions of lecture notes, assignments, and programs. From Netscape, all this information is available via links from the document you are currently reading:

http://cs111.wellesley.edu/~cs111

From Fetch or Winsock-FTP, the CS111 directory can be accessed by connecting to cs111.wellesley.edu and navigating to /usr/users/cs111.

Course Bulletin

There is a CS111 folder in the Bulletin system on Lucy. This folder has several purposes. We will use it to make class announcements, such as corrections to assignments and clarifications of material discussed in class. We encourage you to post questions or comments that are of general interest to the course. Jennifer, LeeAnn, and the tutors will all read the bulletin on a regular basis and post answers to questions found there. The course bulletin is also a good place to find people to join a study group. You should plan on reading the CS111 bulletin on a regular basis.

Announcements concerning the course will be posted on the CS111 home page. You should check this page regularly for important course information.

Finding Help

If you have any questions at all about the class (whether big or small, whether on labs, problem sets lectures, reading, or whatever) please contact one of the instructors or tutors. That's what we're here for!

Simple questions can often be answered via bulletin or email. Questions of general interest (e.g. clarifying ambiguities in an assignment, wondering why posted programs don't work as expected) should be posted to the CS111 bulletin folder.

If you have a complex question or need help in understanding the material, you are encouraged to see us or a CS111 teaching assistant. The best time to see us in person is during our scheduled office hours (listed at the top of this document). If these times are not convenient, we can schedule an appointment for some other time. You can schedule an appointment in person, via phone, or via email.

Drop-in teaching assistants are available to answer your questions during certain hours. The names and schedules of the drop-in teaching assistants are given above. If you are having trouble with the course, you can request a one-on-one tutor from the Learning and Teaching Center (LTC) . This service is confidential and free of charge; please take advantage of it if you need some extra help! Contact us or LTC for more information about this service.

Finally, when looking for help, don't overlook other students --- not only those who have taken the course in the past, but your classmates as well. Get to know your classmates early in the term so that you can help each other out!

Feedback

We are eager to hear your feedback on CS111! You can talk to either of the instructors in person, send email to us, or post a message in the CS111 bulletin folder.

Students with Special Needs

If you have any disabilities (including "hidden" ones, like learning disabilities), you are encouraged to meet with Jennifer to discuss accommodations that may be helpful to you.

Mathematical Modeling Distribution

CS111 counts for one Mathematical Modeling (MM) distribution credit. Even though CS111 has a 2-hour weekly laboratory, it does not count as an MM laboratory unit.