Syllabus

Goals

The aim of this course is to help students write programs of higher quality and increased complexity. This requires creating software that is (1) correct, (2) easy to change, (3) easy to understand, and (4) easy to scale. We will study principled approaches to achieving these four goals.

After completing this course successfully students should be able to:

In this class, we will use Java and associated tools like IntelliJ, JUnit, JavaDoc, git, and JavaScript/React, but the goal is to understand the underlying ideas and concepts that are generally applicable to software construction.

Approximate Topics

We expect to cover the following, with an emphasis on specification and design:

Prerequisites

The only formal prerequisite is CSE 143. We will very much rely on a thorough understanding of the concepts from CSE 143 as well as Java programming skills. We will go much further and you will be challenged to approach software development much differently than you have in CSE 143 or other courses.

Texts

The required books for the course are the following:

There will be assigned readings from these book during the quarter. Questions about the readings may appear on short online quizzes or longer tests, but the main reason to read these books is to become an excellent, professional software developer.

These books are freely available online to UW students. Go to https://www.oreilly.com/ and click "sign in" at the upper-right corner. In the page that appears, enter your netid@uw.edu UW email address in the email address box, then click continue (no password needed yet). You should see a box saying "I'm with University of Washington". Click the Sign in with SSO (single-sign-on) button that appears and you will be taken to a regular UW netid login page for verification. After that you can read any of the hundreds of technical books and other items on the site.

Besides the required text, the following books may be helpful to you, and are also available online at the same web site as the required texts:

Course Organization

Lectures

Class will be live at the times given in the UW course schedule. For the first week of the quarter we will be online using zoom, but once in-person classes resume we will meet in our regularly assigned rooms. Classes will be recorded and usually available later the same day after class. Recordings are not a substitute for attending class and having focused time to concentrate on the course, but they can be a great resource for reviewing things presented in class. The recordings will also be helpful if you need to miss class because of illness or some other unexpected situation.

Sections

Each week includes a TA-led section, often focused on preparation for the next homework assignment. These will not be recorded, but worksheets, slides, and handouts will be posted on the course calendars. We will make recordings of tutorial presentations or demos available when needed.

Homework

Homework will consist of about 10 assignments, generally one due each week. There are two exceptions to this: one assignment is split over two weeks and one week has two assignments (with one of those assignments being quite short).

Quizzes

We tentatively plan to have several short quizzes during the quarter, largely to review core concepts and readings. This is still a work in progress and more details will be provided later.

Exams

We do expect to have fairly traditional midterm and final exams now that we have (mostly) returned to in-person classes this year. Exams provide an opportunity to review and assimilate course material in ways that are difficult to do otherwise. However since we are all getting used to in-person classes after almost two years away, we intend for exams this quarter to be less intensive and count less towards the course grade than had been traditional in earlier years.

Since CSE 331 has two separate lectures this quarter, we will schedule the exams outside of class and at times different from the regular final exam periods assigned in advance to the class. That will allow everyone to take each exam at the same time. Exam dates and times will be announced as soon as possible and we will make arrangements in the (hopefully rare) cases where there are unavoidable schedule or other conflicts.

Communications

Discussion board

The ed discussion board will be a primary way for all of us to contact each other. Please use this to post and answer questions, trade ideas, help each other out, and stay in touch outside of class. You can post anonymously if you wish. The course staff will also use this message board to post announcements of general general interest as well as corrections or clarifications to assignments.

If you want to ask a question about particular things in your own assignments or code that are not appropriate for public posting (detailed code or solutions, for example), you can post a private message on the discussion board and course staff will do our best to help you out. If the question is a general one without specific details, we might ask permission to re-post it anonymously to help out others who run across similar issues.

Grading questions

We plan to use Gradescope to provide feedback and scores on assignments and exams, including programming projects. Questions about grading or feedback should be sent via Gradescope's regrade requests so they can be routed to the appropriate person to handle them.

Staff email

If you need to get in touch with course staff about personal issues or questions that are not appropriate for the discussion board or gradescope, we ask that you send email to cse331-staff[at]cs. This allows us to keep track of your message and be sure that it gets handled properly by the person(s) on the course staff best able to help you.

We ask that you try to minimize individual email messages to course staff members unless a private message really is appropriate or necessary. We will do our best to help out in these cases.

Policies

Inclusiveness

You should expect and demand to be treated with respect by your classmates and the course staff. You belong here, and we are here to help you learn and enjoy a challenging course. If any incident occurs that challenges this commitment to a supportive and inclusive environment, please let the instructor know so the issue can be addressed.

Accommodations

Please refer to university policies regarding disability accommodations or religious accommodations. Those policies will be observed in this class. Let us know what we can do to help.

Grading

Your overall grade will be determined roughly as follows (subject to change):

70% Homework assignments
10% Midterm exam
15% Final exam
5% Quizzes and other

Homework assignments are not weighted equally because they are of different length and sophistication. Later assignments are likely to be weighted more heavily because they are more involved. (The exact weighting will be determined later on.)

Students are expected to complete all homework assignments. Students who receive no (or essentially no) credit for an assignment or who fail to take an exam are unlikely to successfully pass the course unless there are extenuating circumstances that have been discussed with the instructor, in advance if possible. Outside of those circumstances, failing the course is highly unusual.

Grades of “incomplete” are reserved for situations covered by the UW policy.

Re-submission

For programming assignments, only, you may re-submit your work. However, the only part of the assignment that will be re-evaluated is the functional correctness of the project (i.e., automated and manual testing of the code). We will not re-evaluate other items including code quality, design, or documentation. A project that is submitted a second time can receive up to 80% of the original possible credit.

The purpose of this policy is to allow students who make minor mistakes that end up causing a large number of our correctness tests to fail to fix those mistakes and limit the point deduction to just 20% of correctness points if all errors are fixed.

Late Policy

This policy may not be the same as in your other classes. You are responsible for understanding it fully.

You should plan to submit work on time. However, things happen from time to time, or the "one last" bug surfaces just as an assignment is due, or too many things are scheduled on the same day (other work, exams, responsibilities outside of class, etc.). So during the quarter you can occasionally submit work late without requesting permission or making special arrangements. But:

Further:

This basically allows you to use an extra day a few times during the quarter to finish an assignment. You should not "plan in advance" to use late days. They are meant for unexpected circumstances. Requests for "extensions" later in the course due to poor time management that used up available late days early in the quarter, as opposed to real extenuating circumstances, will not be looked on with favor.

This policy may seem rather restrictive but there are two good reasons for it. The first is that given the pace of the course, it can be very difficult to catch up if you fall significantly behind. The second is that many of the project assignments build on previous work. We want to be able to give timely feedback on each assignment before the next assignment that depends on it is due, and to make that happen we need to be able to start reviewing work as soon as it is due.

However, see the following sections about illnesses and other unexpected situations.

Illness and Emergencies

If you are sick or not feeling well, stay home. You should not be attending classes if you are not well, and you should seek medical help and do whatever is needed to get well.

If something else happens that makes it difficult to keep up with the class, please let us know so we can help. This could include personal situations of all sorts, including long-term health or other problems, or family situations such as needing to help care for other family members, or many other things, some of which have become all too familiar during the last couple of years during the covid pandemic.

If something like this happens, please be sure to get in touch and let us know about it (email to cse331-staff[at]cs or to the instructor is best). We will work with you to figure out how best to deal with the situation, help you find appropriate resources, or do whatever else we can. That specifically includes figuring out how to handle assigned work for CSE 331, and we have a lot of flexibility to try to do the right thing, whatever that may turn out to be. But please speak up if something goes wrong -- we can't help if we don't know about it. We'll do our best to work with you when you let us know.

Academic Integrity

Any attempt to misrepresent the work you submit will be dealt with via the appropriate University mechanisms, and your instructor will make every attempt to ensure the harshest allowable penalty. The guidelines for this course and more information about academic integrity are in a separate document. You are responsible for knowing the information in that document.

Advice