Graphic by Keith Ohlfs

CS111, Wellesley College, Fall 1998

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


December 17, 1998:

Both ps8 and ps9 have been graded. You may pick them up outside my office (E106).


December 14, 1998:

Solutions for ps10 are now available from the Assignments Page.


December 14, 1998:

Some of the answers to the review problems are available in the Final_review_ans.doc file in the download folder. Pay attention to the array method reverse(int [] c) whose solution is much better than the solution I wrote at the end of the review session today!


December 14, 1998:

There were a few typos on the original version of the review problems that were posted. These have been corrected and the version of FinalExamReview.doc in the download folder now has the corrections.


December 11, 1998:

There will be a review session for the final exam on Monday, December 14, 1:30 - 3:30 p.m. in E211.


December 11, 1998:

Review problems for the final exam are available from the download folder. The filename is FinalExamReview.doc.


December 11, 1998:

Solutions for Exam 2 and the GUI lab are now available from the Assignments Page. There will be no GUI problems on the final exam.


December 11, 1998:

Oops! The CS department Holiday party will be in the Davis living room, not the Stone living room as previously announced.


December 9, 1998:

There is a bug in the database code that causes it not to remove the last name when the remove button is pressed. That is, if there is only one person in the database and you select that name and click "remove", the name stays on the screen. If the student's remove method works properly, the name *is* removed from the database (it just doesn't disappear from the screen. You can check this by adding a name after removing the final name. The new name will replace the old name. (If the old name had not been removed from the data base, the new name would appear in addition to the old name).


December 9, 1998:

The CS department Holiday party will be in the Stone living room, not the Davis living room as I announced in section 01 this morning.

See the announcements page for previously posted announcements.

Instructors

Instructor

Office

Phone

Email

Office Hours

Lecturer:
Constance Royden
(please call me "Stanzi")

SCI E106

x2743

croyden@wellesley.edu

Wed., Thu., Fri. 1:30pm-3:30pm

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

SCI 104

x3114

ltzeng@wellesley.edu

Wed. 9:50am-12:20pm
and by appointment
with more to be announced

You may go to either of the instructors for help.

Class Times

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

Lectures

Labs

Lab Tutor

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

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

Gretchen Campbell

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

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

Gretchen Campbell

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

TBA

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

Anne Park

Tutors

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

Day

Time

Tutor

Sunday

7 - 9 p.m.

Anindita Basu

Monday

7 - 9 p.m.

Yan Zhang

Tuesday

8:15 - 10:15 p.m.

Dow Lin Hsu

Wednesday

7 - 9 p.m.

Anne Park

Thursday

7 - 9 p.m.

Gretchen Campbell

Some hints on drop-in tutors:

If you need more personalized attention than a drop-in tutor 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 Takis Metaxas 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 in 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 Friday, October 16.
  2. A take-home exam that will be handed out on Wednesday, November 18 and will be due on Wednesday, November 25 at 5:00 p.m (Note that this is the day before Thanksgiving recess. Please plan accordingly). The take-home exam will require use of a computer. 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 instructors will grade the completed assignments for all the students in both sections. If you have questions about your grade on an assignment, you should contact the instructor in charge of grading that particular assignment.

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. 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. 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. Other questions can be addressed to Stanzi at croyden@wellesley.edu.

If you have a complex question or need help in understanding the material, you are encouraged to see us or a CS111 tutor. 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 tutors are available to answer your questions during certain hours. The names and schedules of the drop-in tutors will be made available early in the term. 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 Stanzi 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.