6.8

CS 3500: Object-Oriented Design

Syllabus --Summer 1 2017

Meeting places & times

Course staff & office hours

Instructors

  

Clark Freifeld

  

ccf@ccs

  

310A WVH

  

Tue 11:30am–1:00pm,
Thurs 11:30am–1:00pm,
and by appointment

  

Mike Weintraub

  

m.weintraub@northeastern.edu

  

302D WVH

  

Mon 3:30–5:00pm,
Thurs 3:30–5:00pm,
and by appointment

  

Benjamin Brown

  

brown.benjam@husky

  

WVH 3rd floor tutoring corner

  

Sat 5-9pm

  

Jake Dec

  

dec.j@husky

  

WVH 102 / WVH 3rd floor

  

Thu 6-8pm Sat 2-4pm

  

John Gallagher

  

gallagher.john1@husky

  

WVH 102

  

Wed 6-8pm Fri 6-8pm

  

Niousha Jafari (NJ)

  

jafari.n@husky

  

WVH 102

  

Thu 7-9pm

  

Jay Lok

  

lok.j@husky

  

WVH 102

  

Tue 6-8pm Fri 1-3pm

  

Apoorv Anand

  

anand.ap@husky

  

WVH 3rd floor / WVH 102

  

Sun 12-4pm Fri 2-8pm

  

Mahima Singh

  

singh.m@husky

  

WVH 3rd floor / WVH 102

  

Sun 4-8pm Fri 4-8pm

  

Yuvi Shatil

  

yuvi@ccs

  

WVH 102

  

Tue 1-2pm Thu 12-2pm

  

Shubham Sharma

  

shubhsharma10@ccs

  

WVH 102

  

Mon 2-6pm Thu 2-6pm

  

Ashna Shah

  

shah.ash@husky

  

WVH 102

  

Tue 12-2pm Wed 12-2pm

  

Prathamesh Kirloskar

  

prathamesh06@ccs

  

WVH 102

  

Tue 2-6pm Wed 2-6pm

  

Tom Kowalski

  

kowalski@ccs

  

WVH 102

  

Thu 4-8pm

CCIS Tutors:

  

See here

Mike Weintraub
Mike Weintraub

Clark Freifeld
Clark Freifeld

Benjamin Brown
Benjamin Brown

Jake Dec
Jake Dec

John Gallagher
John Gallagher

Niousha Jafari (NJ)
Niousha Jafari (NJ)

Mahima Singh
Mahima Singh

Apoorv Anand
Apoorv Anand

Shubham Sharma
Shubham Sharma

Tom Kowalski
Tom Kowalski

Ashna Shah
Ashna Shah

Prathamesh Kirloskar
Prathamesh Kirloskar

Jay Lok
Jay Lok

Yuvi Shatil
Yuvi Shatil


Office Hours Schedule

Office hours schedule


General information

CS 3500 teaches a rigorous approach to object-oriented programming and design, with an emphasis on abstraction, modularity, and code reuse as applied to the building and understanding of large-scale systems. We will explore the basic mechanisms and concepts of object-oriented programming: object, class, message, method, interface, encapsulation, polymorphism, and inheritance. Students will gain hands-on experience with tools and techniques that facilitate the creation and maintenance of applications using the Java programming language.

Prerequisites

This course assumes familiarity with programming in the style of How to Design Programs, and basic knowledge of the Java programming language as introduced in CS 2510.

Exams

We will have two examinations:


Materials

Software

For programming assignments, we will use Java 8. You should download and install the Java SE Development Kit, version 8 from Oracle.

The supported IDE (integrated development environment) for the course is IntelliJ IDEA. This is the IDE that the instructor uses in lecture, and we may occasionally give instructions for how to perform particular tasks in IDEA. You are free to use a different IDE, but we may not be able to help you if you run into trouble. IntelliJ IDEA Community Edition may be downloaded free of charge, and you can also license the Ultimate Edition.

If you are having trouble setting up IntelliJ, we have a video demonstrating how to configure your environment here.

Books

There is no required textbook, but you may find these books useful.

Online resources


Lectures

This table specifies the lecture schedule; topics are tentative.

Date

 

Topics (tentative and approximate)

 

Materials

05/08 M

 

Why object-oriented design?

 

notes

05/09 T

 

The essence of objects

 

notes

05/10 W

 

Java review

 

notes and notes

05/11 Th

 

Java safari

 

notes

05/15 M

 

Java safari (part 2)

 

notes

05/16 T

 

Version control with Git

 

Git explanation tutorial and Interactive tutorial

05/17 W

 

Introducing the Model, and the Builder pattern

 

notes

05/18 Th

 

Controllers and Mocks;
Class Activity: abstracting I/O

 

notes

05/22 M

 

Design critique: testing, toString, Pile abstractions, I/O

 

05/23 T

 

Encapsulation and Invariants

 

notes

05/24 W

 

Design exercise: Turtles

 

code

05/25 Th

 

Inheritance vs. composition

 

notes

05/30 T

 

Intro to Performance

 

notes and notes

05/31 W

 

More performance

 

notes and notes

06/01 Th

 

First exam

 

In class

06/05 M

 

Class activity: GUI

 

MVC code, starter code and code

06/06 T

 

The Adapter pattern

 

notes

06/07 W

 

The strategy and decorator patterns

 

notes

06/08 Th

 

Strategy, continued

 

06/12 M

 

Design critique: music models; MIDI basics

 

06/13 T

 

Case study: Analysis of Scenegraph

 

Codebase

06/14 W

 

Case study: Analysis of Scenegraph, continued

 

06/15 Th

 

Introduction to JavaScript

 

06/19 M

 

JavaScript inheritance and patterns

 

06/20 T

 

Exam review

 

06/21 W

 

Promises/Exam review

 

06/22 Th

 

Final exam

 

In class


Testing

Testing your code is sufficiently important that we’ve devoted an entire page to it. Please read these notes, for each and every assignment you work on.


Homework schedule

Homework will usually be due at 8:59 PM; the day of the week varies, so you should check each individual assignment to be sure. General homework policies are here.

This homework schedule is tentative and subject to change at the instructor’s discretion.

Link

  

Assigned

  

Due

Assignment 1: Java finger exercises

  

Mon 05/08

  

Fri 05/12

Assignment 2

  

Sat 05/13

  

Fri 05/19

Assignment 3

  

Sat 05/20

  

Fri 05/26

Assignment 4

  

Sat 05/27

  

Fri 06/02

Assignment 5

  

Sat 06/03

  

Fri 06/09

Assignment 6

  

Sun 06/11

  

Fri 06/16

Assignment 7

  

Sat 06/17

  

Fri 06/23

Assignment 8

  

N/A

  

N/A

Assignment 9

  

Sat 06/24

  

By appointment


Course policies

Collaboration and academic integrity

You may not collaborate with anyone on any of the exams. You may not use any electronic tools, including phones, tablets, netbooks, laptops, desktop computers, etc. If in doubt, ask a member of the course staff.

Some homework assignments will be completed with an assigned partner, and some may involve a larger team (TBD). You must collaborate with your assigned partner or team, as specified, on homework assignments. You may request help from any staff member on homework. (When you are working with a partner, we strongly recommend that you request help with your partner.) You may use the Piazza bulletin board to ask questions regarding assignments, so long as your questions (and answers) do not reveal information regarding solutions. You may not get any help from anyone else on a homework assignment; all material submitted must be your own. If in doubt, ask a member of the course staff.

Providing illicit help to another student is also cheating, and will be punished the same as receiving illicit help. It is your responsibility to safeguard your own work.

A subtler form of cheating, but nevertheless illegal, is self-plagiarism. This is when you copy and submit code that you developed when you took CS 3500 previously for credit again. This is illegal if done for your group assignments, because the code you are attempting to submit has not been written just by you and your partner in the current semester.

Students who cheat will be reported to the university’s office on academic integrity and penalized by the course staff, at our discretion, up to and including failing the course.

If you are unclear on any of these policies, please ask a member of the course staff.

Homework

In general, you should submit your homework according to the instructions on the web page for the individual assignments.

Submitting by email

Homework will ordinarily be submitted to the CS 3500 submission server at https://handins.ccs.neu.edu. However, sometimes (detailed below) it may be necessary to submit by email. In this case, email your instructor with the subject line “HW N submission” (where N is the appropriate homework number). Attach to your email submission the ZIP file exactly as how you would have submitted it to the server.

Submission troubles

If you have trouble submitting to the server and you have time before the deadline, please wait few minutes and try again; it may also be worth checking on Piazza to find out whether other students are experiencing similar difficulties. If upon retrying you still cannot submit, email Dr. Freifeld (ccf@ccs). Or if you don’t have time to try again then you should submit by email.

Late days & late work

Each student gets four free, no-questions-asked late days for the term. The purpose of late days is make the extension process fair and transparent by getting the instructors out of the extension-granting business entirely. Instead, when you need an extension, you can take one—provided you have a late day remaining.

To use a late day, log on to the submission server after the deadline has passed. You will see a link to request a late day for the particular homework. The server will keep track of the number of used late days. Conserve your late days carefully.

No more than one late day may be used on any one homework. You may not look at and must avoid gaining knowledge of the self-evaluation questions until you have submitted your late assignment. Late days cannot be divided fractionally, but must be used whole. Late days cannot be transferred to or shared with a partner, so in order to take an extension both you and your partner must have sufficient late days remaining. Choose your partners carefully.

Using a late day to submit your files does not automatically grant you a late day for the self-eval: it will remain due at the normal time.

Grades

Your grade will be based on your performance on the problem sets (60%) and the exams (15%, 25%). Material for examinations will be cumulative.

The grades will computed on an absolute basis: there will be no overall curving. The instructor may choose to curve an individual homework or exam, but please do not bank on such a chance.

The mapping of raw point totals to letter grades is given below. Please note that these grade boundaries may move slightly at the discretion of the instructor, but the grade boundary for A is unlikely to change.

Range

  

Letter grade

93% and above

  

A

90%-92.99%

  

A-

86%-89.99%

  

B+

83%-85.99%

  

B

80%-82.99%

  

B-

76%-79.99%

  

C+

73%-75.99%

  

C

70%-72.99%

  

C-

66%-69.99%

  

D+

63%-65.99%

  

D

60%-62.99%

  

D-

0%-59.99%

  

F