CS 211: Object Oriented Programming
George Mason University Department of Computer Science
Spring 2019
  1. Course Basics

    Instructors:

    Name: Ghada Alnifie Ivan Avramovic
    Email: galnifie-at-gmu.edu iavramo2-at-gmu.edu
    Hours: 12:30-2:30pm Thu 10:30-11:30am Tue/Thu
    Office: 5309 Engineering 4609 Engineering

    Assistants:

    Zheng Chai(zchai2-at-gmu.edu)
    Ao Wang(awang24-at-gmu.edu)
    Sabiha Salma(ssalma-at-gmu.edu)
    Pushkal Reddy(preddy6-at-gmu.edu)
    Ashwin Ravishankar(aravisha-at-gmu.edu)
    Charu Singh(csingh6-at-gmu.edu)
    Mohammad Rahman(mrahma23-at-gmu.edu)

    Prerequisites: CS112 (C or better) and access to a Java-capable computer
    Format: Lecture plus weekly lab
    Lectures:

    SectionDaysTimesLocationInstructor
    001Tue/Thu10:30-11:45am1101 EngineeringAlnifie
    002Mon/Wed1:30-2:45pm129 Planetary HallAvramovic
    003+P01Tue/Thu12:00-1:15pm178 Enterprise HallAvramovic
    005+H01Tue/Thu3:00-4:15pm131 Planetary HallAlnifie

    Textbooks:

    GMUCS 211 Lab Manualavailable for free download from https://cs.gmu.edu/~marks/211/textbook/
    zyBooksProgramming in Javaavailable online at https://learn.zybooks.com/ (access using the sign-in code GMUCS211AvramovicSpring2019)
    (Optional)Reges and SteppBuilding Java Programs, 3rd ed.available online at https://practiceit.cs.washington.edu/

    Webpage: https://mason.gmu.edu/~iavramo2/classes/cs211s19.html
    Piazza: Piazza will be used for all official announcements and online discussion; any information discussed on Piazza will be assumed to be known to students.

    • Course schedule, announcements discussion. GTA/UTA contacts and office hours will be on Piazza too. Sign up yourself by following this link: https://piazza.com/gmu/spring2019/cs211/
    • Do not e-mail course staff about programming problems; use the discussion board.
    • Use public posts on Piazza to discuss programming project requirements, labs, and other material related to the course.
    • When prompted by a TA, use private posts on Piazza to share portions of your code pertaining to your questions. Don't share your project code in public posts.
    • Email course staff only for logistical issues such as meeting outside of office hours, missing lab/lecture, grading disputes, medical situations, etc. Email addresses are listed on above and on Piazza.
    Blackboard: Blackboard will be used for course slides, assignments (including submissions), and grades.

  2. Course Information

    Course Description: Thorough treatment of programming according to object-oriented principles. Introduces classes, interfaces, inheritance, polymorphism, and single dispatch as means to decompose problems. Covers intermediate programming techniques including error handling through exceptions, arrangement of source code into packages, and simple data structures. Intermediate debugging techniques and unit testing are covered.

    Outcomes

    1. An understanding of basic object-oriented (OO) programming concepts and principles.
    2. An ability to apply basic object-oriented principles and techniques in the development of software systems using a specific programming language.
    3. An ability to effectively develop software systems using both basic command line tools and sophisticated integrated development environments, and to understand the advantages and limitations of each.
    4. An ability to successfully perform debugging operations and techniques.
    5. An ability to perform software development in both individual and team environments.
    6. An understanding of programming-related references/resources available to software developers and the ability to use them effectively - both in ongoing projects and in the acquisition of new technical skills.
    7. An understanding of how acquired programming skills facilitate success in upper level CS courses and in various professional environments.

  3. Coursework

    zyBooks: online textbook with practice problems; weekly deadlines for completing the practices are checked automatically.
    Labs:

    • Exercise: programming assignment; open resources; collaboration/group work allowed; several days to submit.
    • Quiz: pencil and paper; closed resources; individual; due same-day during lab.
    • Task: computer assignment; closed resources; individual; due same-day during lab.

    Projects: programming assignment; individual work; possibly more than a week to complete.
    Exams: individual work; in-class.

  4. Grading Procedures

    Grade Distribution

    MaterialWeightDrop policy
    zyBooks5%lowest 15 subsections
    Labs (weekly)10%lowest three
    Programming projects (5-6)40%none lowest one
    Midterm exams (2)20%-
    Final exam25%-

    Grading Policies

    • Grades within a category (i.e. midterms, projects, labs) are weighted equally.
    • Students must show their Mason ID card when taking exams.
    • By department policy, the student must pass the final or the weighted average of all three exams must be a passing grade (≥ 60) in order for a student to pass the course.
    • The final exam is cumulative; a high final exam score dominates (replaces) lower scores on one or both of the midterms.
    • Challenging of any grade must occur within a week of when the graded assignment has been returned.
    • Any number of resubmissions are allowed (the most recent is used), however a resubmission turned in after the deadline will be considered a late submission.
    • Lab attendence is mandatory; for lab exercises which do not need to be submitted during lab, attendence can impact one point (out of 10) of each assignment; a grace of up to 3 missed points is allowed (this is independent of dropped lab scores and late tokens).
    • Lab exercise grading is fully automated. Quizzes may be hand-graded. Lab task and project grading is partially automated. Even when manually graded, code which does not compile will receive a zero in most cases.
    • Absences are absorbed by the drop policy - in general, make-ups are not allowed except on exams (provided a valid excuse).
    • Assignments are typically due at midnight on the listed due date.
    • Late work can be mitigated by emergency tokens (see below).

    Emergency Tokens

    • Every student begins the semester with a non-replenishing allotment of three four emergency tokens.
    • For every emergency token, a submitted assignment (programming projects and lab exercises) can be submitted a day (24 hours) late without penalty. An assignment can be submitted two days late at the cost of two tokens.
    • No assignment will be accepted more than 2 days late (i.e. if 3 tokens are available, at most 2 of them can be used on the assignment).
    • Without applying tokens, a one day late assignment can receive a maximum score of 75%, while a two day late assignment can receive a maximum score of 50%. Beyond that an assignment receives a zero, regardless of tokens. The score is a score cap rather than a penalty (a one day late assignment which would have recieved an 85% would still get a 75%).
    • Tokens are applied in the order that assignments are submitted, such that projects have priority over labs (tokens are first applied to projects and then to labs if there are any remainng); a student cannot pick and choose where to use tokens to maximize impact.
    • Tokens are use-it-or-lost it; if a student has tokens remaining at the end of the semester, nothing happens with them.

    Honors Section Differences (Sec H01)

    During some lectures, additional material will be mentioned with some reading associated with it. Students in H01 are expected to do these additional readings and master those topics as they may appear on the H01 tests and final exams. Each programming project will have an "Honors Problem" which honors students must complete. These problems may reflect the additional topics covered in lecture and often be more difficult than other portions of the project. Grading projects for honors students will be out of total points available including the honors section: each project will have 100 points plus an honors section, frequently worth up to 20 points. In such cases honors students will be scored e.g. as X / 120 for a score of X on a project with 120 points. For example, an honors student who turns a project in on time and receives a 99 on it will get 99/120 = 82.5% for the project. Late projects will have the standard class late policy.

    Grading Scale

    Grade A+AA- B+BB- C+CC- DF
    max 9791 898781 797771 6959
    min 989290 888280 787270 60

    Tips

    • Make backups, because the unexpected happens, and cannot be used as an excuse to get an extension.
    • Submission times are automatically recorded by Blackboard, and there's no distinction between a tiny bit late and nearly a day late - plan ahead to make sure that your submission is on time.
    • To receive a grade, the submission must be gradable. This means submitting .java source rather than compiled .class files or word documents containing the source. It also means that the code must be submitted on Blackboard rather than simply saved.

  5. Honor Code

    Unless specific instructions are given to the contrary, programming assignments are an individual effort, no group work is allowed. In addition to code, this includes the sharing of test cases, pseudocode, or approaches, receiving assistance in debugging code, as well as the use of external Internet sites.

    Both the GMU Honor Code and the CS Department Honor Code apply in this class. Any use of a direct contribution on any program, homework, quiz, or exam will be reported as a violation of the honor code.

  6. Special Accommodations

    Students who have a right to accommodations due to disabilities or other conditions should discuss this with the instructor as soon as possible. Accommodations will follow the recommendations of the University's Office of Disability Services.

  7. Schedule

    WeekDateTopic(s)Lab Text readingzyBooks readingLabNotes
    week 11/21-1/27Introduction; Basics; Flow control1,21-3Exercise-1
    Sun, Jan 271-3 due
    week 21/28-2/3Arrays; Input/Output3-54,5Quiz-2
    Mon, Jan 28E1 due
    Fri, Feb 14,5 due
    week 32/4-2/10Classes; Objects; Methods; Fields66,7Exercise-3
    Fri, Feb 86,7 due
    Sun, Feb 10P1 due
    week 42/11-2/17Inheritance; Polymorphism; Dynamic dispatch78,9Excercise-4
    Mon, Feb 11E3 due
    Fri, Feb 158,9 due
    week 52/18-2/24Task-5
    Mon, Feb 18E4 dueReview, sec 002
    Tue, Feb 19Review, sec 001,003/P01,005/H01
    Wed, Feb 20Midterm 1, sec 002
    Thu, Feb 21Midterm 1, sec 001,003/P01,005/H01
    week 62/25-3/3Abstract classes; Interfaces; Enums
    Command line args; Packages; Javadocs (T/R sections)
    11,13Exercise-6
    Mon, Feb 25Midterm 1, sec 002 (make-up)
    week 73/4-3/10Exceptions; Unit testing
    Abstract classes; Interfaces; Enums
    8,910Exercise-7
    Mon, Mar 4E6 due
    Fri, Mar 810 due
    week 83/11-3/17Spring Break, no class
    Mon, Mar 11E7 due
    Sun, Mar 17P2 due
    week 93/18-3/24Command line args; Packages; Javadocs
    Exceptions; Unit testing
    10,1211Exercise-9
    Fri, Mar 2211 due
    week 103/25-3/31Generics1412, 13Exercise-10
    Mon, Mar 25E9 due
    Fri, Mar 2912, 13 due
    Sun, Mar 31P3 due
    week 114/1-4/7Task-11
    Mon, Apr 1E10 dueReview, sec 002
    Tue, Apr 2Review, sec 003
    Wed, Apr 3Midterm 2, sec 002
    Thu, Apr 4Midterm 2, sec 001,003/P01,005/H01
    week 124/8-4/14Collections, Lists & Queues14Exercise-12
    Fri, Apr 1214 due
    Sun, Apr 14P4 due
    week 134/15-4/21Recursion15, A215Quiz-13
    Mon, Apr 15E12 due
    Fri, Apr 1915 due
    week 144/22-4/28Sort & search1616Exercise-14
    Fri, Apr 2616 due
    week 154/29-5/5Anonymous classes; Lambda functions; Regular Expressions (T/R)
    Command line args; Packages; Javadocs (M/W)
    A1
    11,13
    Quiz-15
    Mon, Apr 29E14 due
    Wed, May 1P5 due; Review, sec 002
    Thu, May 2Review, sec 001,003/P01,005/H01
    week 165/6-5/12Anonymous classes; Lambda functions; Regular Expressions (M/W)A1
    + exam weekTue, May 7make-up date for M/W sections
    Wed, May 8Final exam, sec 002, 1:30-4:15pm
    Thu, May 9Final exam, sec 003/P01, 10:30-1:15pm; sec 005/H01, 1:30-4:15pm
    Tue, May 14Final exam, sec 001, 10:30-1:15pm