Contents:

Course web site

The course web site is http://www.mit.edu/~6.170/.

Registration Form

All students must run student-setup.pl by Thursday, September 6 , or they will not be able to take the class.

You also must register with the MIT Registrar. You do not need to be in the same recitation as others in your final project group.

Staff

Lecturers Martin Rinard rinard@lcs.mit.edu
Sivan Toledo stoledo@csail.mit.edu
TAs Charles Amick camick@mit.edu
David Dryjanski davidd8@mit.edu
Adlar Kim jwkim@mit.edu
Lev Popov levpopov@mit.edu
Kah Seng Tay kahseng@mit.edu
Aleksandr Zlateski zlateski@mit.edu

Mail sent to 6.170-staff@mit.edu will reach the lecturers, TAs, and LAs.
Mail sent to 6.170-lecturers@mit.edu will reach the lecturers.
Mail sent to 6.170-tas@mit.edu will reach the teaching assistants.
Mail sent to 6.170-las@mit.edu will reach the laboratory assistants.

Staff Hours

TAs will schedule office hours and locations by the end of the first week of class. Please visit your TA (or another TA, if necessary) during their office hours if you have anything you'd like to discuss about the course or course materials. Please see the TA Office Hours for the locations and times of office hours.

LAs will schedule LA hours held in designated clusters. Please feel free to work in the cluster so you can talk to them in person when you have questions about Java or other technical details. Time permitting, they also monitor the forum while on duty, but they give priority to students who visit them in person. Please see the LA Lab hours for an up-to-date list of hours.

The lecturers are available by appointment but do not have fixed office hours.

Whom to Ask

The entire 6.170 staff is here to help you succeed, and you are welcome to approach any of us (Professors, TAs, and LAs) with your questions. Having said that, different types of questions are likely to be better addressed by different members of the staff. Questions about problems with your code or the Athena environment are better suited for the LAs, while the TAs are better prepared to answer the questions about the course material and logistics. While we welcome all questions, we do expect you to try to find an answer yourself first by looking at the materials on the course website and the required readings.

Textbooks

These books are available at Quantum Books and Amazon.com, among other retailers.

Required Texts

The following books are required:

Recommended Texts

Some other excellent books you should consider for your reference library on software engineering are:

Where and When

Lecture/recitation

6.170 has lectures Monday, Tuesday, Wednesday, and Thursday from 2-3 in room 32-123

We will distribute copies of the lecture slides. The slides augment but cannot replace your own notetaking during lecture and your reading of the textbooks.

Labs

While 6.170 is a lab class, lab work will be performed on your own time either on Athena or using your own personal machine. Since both lectures and recitations in 6.170 tend to focus on conceptual material pertaining to software engineering rather than particulars of how to use the Java language, this term we are offering optional laboratory exercises. These sessions are optional and ungraded, but they will help you to understand and use the Java language and tools more effectively.

Lab sessions will involve a one-hour exercise that introduces you to some tool (such as editing environments, compilers, debuggers, and profilers) or to some aspect of the Java language (such as inheritance and the Swing library). LAs will be on hand to help you during their lab hours. You can work in pairs or groups on the labs to help you learn from each other: your styles, little tricks about programming, using the environment, etc. You can also get to know other students; we encourage you to work with many different people.

Policies

Grading policy

Individual
Work
TA discretion
(including recitation participation)
12% 65%
Problem set 0 1%
Problem set 1 8%
Problem set 2 8%
Problem set 3 8%
Problem set 4 8%
Problem set 5 8%
Problem set 6 12%
Group Work Final Project 35% 35%

We will make every effort to standardize TA grading policies, but we reserve the right to normalize grades across grading sections to account for remaining disparities.

Late/missing work

Collaborative work

The Departmental Guidelines Relating to Academic Honesty require that we inform you of our expectations regarding permissible academic conduct.

It is our intention that each student gains the full benefit of 6.170 and achieves a full understanding of the course material. However, we recognize that some students benefit from discussions with other students. Therefore, we permit limited collaboration on 6.170 assignments.

It is your responsibility to satisfy both the letter and the spirit of the rules. If any part of this policy is not clear, or if you have any questions or concerns, ask a member of the course staff for clarification. Violating the collaboration policy may result in failing the class and/or other penalties. We will use technological and other means to detect cheating.

Problem sets

For the individual problem sets in the first half of term, you must write up all solutions on your own. However, you are permitted to discuss 6.170 assignments with other people. No materials you bring to or take away from such meetings may be turned in as (part of) your solution. Your solution must list all other people with whom you discussed solving the assignment.

For example, it is permissible to discuss testing strategies with another student, but you may not view another student's testing code. As another example, you and other students can sketch out an algorithm or design together, but you must destroy any written materials from your meeting and work from your understanding (that is, your memory).

No other 6.170 student may view or use your solutions; this includes your writing, code, tests, documentation, etc. It is a violation of the collaboration policy to send more than 5 lines of code to the forum, zephyr instance, or other location accessible to other students. (You are better off talking to an LA in person anyway.) It is a violation of the collaboration policy to permit anyone besides the 6.170 staff and yourself read-access to your ~/6.170 directory or any other location where you keep 6.170 code, in source or binary form. (If you need to copy code to your home computer, use CVS. If anyone else has access to that computer, learn how to use your operating system's access control mechanism.)

You may not view anyone else's solutions (from this semester or previous semesters). You may not refer to code or specifications in materials from previous offerings of 6.170 ("bibles"), nor to material on the Internet that solves the problems. You may not transcribe a solution from any other source. (For instance, no one may dictate code to you, nor send you snippets of code for your use, nor create a solution for you to memorize and later type in.)

As an exception to the prohibition against viewing another student's problem set, you are permitted to assist another student with tool-related problems (such as difficulty using Eclipse or CVS), even if such assistance results in incidental viewing of snippets of code. Each student is expected to debug the problem set code individually, however.

Your solutions may use code from the standard Java libraries and from libraries offered for your use by the 6.170 staff. All other code in your submitted work for the individual assignments must be of your own creation.

You may use conceptual material that you obtain from textbooks, the Internet, previous offerings of 6.170, and other sources. For instance, Introduction to Algorithms by Cormen, Leiserson, Rivest, and Stein is an excellent resource for looking up algorithms. If you use any material from an external source, you must credit it clearly in your documentation.

Final project

For the final project, you are encouraged to collaborate with your teammates on all aspects of the work, although every member of the team is expected to contribute a roughly equal share to the design and implementation. Your design and the bulk of your implementation must be unique to your group. However, you may reuse code from your work earlier in the semester or from other sources. (For instance, you might use a specialized image library to create a graphical effect.) Code from external sources may not implement core functionality of the project. Any code you submit must be properly attributed and must be coded, documented, and tested to 6.170 standards.

Procedures

Handouts

Handouts will be distributed on the class web site. Announcements will be posted as Messages of the Day on the class website and will be emailed to all students.

How to Submit Assignments

Students in 6.170 are required to submit the implementation part of the problem sets electronically, as the problem sets will specify. See the Problem Set Submission document for details about the procedure for turning in a problem set.

All code you turn in must compile. It must also run when called in the manner specified by the problem set, or it will not receive credit for correctness. TAs will not adjust your output formats or otherwise debug your programs to try to get them to run. You will be given example input and output files, and often full test suites as well, in order to test your own programs before submitting them.

Your documentation must clearly indicate any shortcomings of your program. If your code does not compile, or if certain functionality is missing, and your documentation does not clearly and prominently indicate as such, then you will lose points for the omissions (as well as for the defect itself).

Diagrams which you turn in must be readable. While we will not be grading on artistic merit, if it is not easy to see what is happening, then you have not successfully conveyed the relevant information, and you will be graded accordingly.

For many of the problem sets we will provide you with a detailed specification for the behavior of the code that you will write. It is imperative that the program you write conform precisely to these specifications. This means that your program should not write anything to either standard out or standard error other than precisely what is specified. You should verify that the spelling, phrasing, or punctuation conforms to the specification as your program will be subjected to automated testing. The output of your program should furthermore be deterministic: it should not vary from run to run when presented with the same input.

In addition to providing specifications for the behavior of your program, we will often provide specifications for certain classes. For such classes you are free to add private fields, methods, and constructors, but unless otherwise specified you may not add public, protected, or default-access (package) fields, methods, or constructors.

The test suites which you include with your program should run in under a minute when testing your implementation.

Re-Turning in Assignments

After any code you submit for problem sets 1-4 has been graded, you will submit a corrected version of the code (even if you received complete correctness credit for the original submission). The resubmitted programs are graded on correctness only, and there is no partial credit. You don't have to expand documentation, fix style problems, etc. (although doing so might simplify the task of correcting your program). The regrade is worth a fourth of the total grade for the assignment, so failure to resubmit your program will mean you can't get more than 75/100, even if everything else was perfect.

For example, suppose that student Tortoise received 60/75 points on the first problem set submission, then later submitted a correct program, and further suppose that student Hare received 70/75 points on the first problem set, but did not bother to fix the problems in the submission. Then after adding the returnin points, Tortoise's final grade would be 85/100, while Hare's would be 70/100.

The automated returnin results are not intended to replace, or even to supplement, your own test cases. They merely help the staff evaluate the correctness of your solution. You only get to see the first failure because we want to find out how many errors remained in your program when you believed it was completely correct. It only runs periodically because you shouldn't need or expect an instantaneous result (the staff does not encourage last-minute work). These mechanisms, plus having only 3 free tries, encourage you to get your program test suite right. If you are having a lot of trouble with a piece of code, consider throwing it out and starting from scratch; that might be a more effective way to get correct, functional code than a long debugging cycle.

See the Problem Set Submission document for details about the procedure for turning in (and re-turning in) a problem set.

Graded Assignments

We will return graded assignments to you within 48 hours from when they are due, or, in the case of late turnins, from when you submit the assignment.

Problem set hints

To complete assignments as efficiently as possible, and to derive the most benefit, we recommend that you: