CS 240: Data Structures and Algorithms
James Madison University, Fall 2016

Course Information and Catalog Description

Location: ISAT/CS 140
Meeting Time: Section 1, MWF 9:05-9:55AM
Section 2, MWF 10:10-11:00AM
Prerequisites: Grades of "C-" or better in CS/MATH 227, MATH 231 or equivalent, and CS 159.
Required Textbook: We will be using an interactive electronic textbook developed by the OpenDSA project. The book will be made available through Canvas.

Instructor Information

Name: Dr. Nathan Sprague
Office: ISAT/CS 226
Office Phone: 568-3312
Email: spragunr@jmu.edu
Office Hours: http://w3.cs.jmu.edu/spragunr/schedule.html

Questions related to course content should be asked through Piazza. You may use email if you need to contact me directly.

You are welcome to call or stop by my office any time, with the understanding that I may or may not be available outside of my posted office hours. If you need to meet with me outside of my posted hours, email me to make an appointment.

Course Content and Goals

The focus of this course is on solving computational problems that involve collections of data. We will study a core set of data abstractions, data structures, and algorithms that provide a foundation for writing efficient programs.

At the conclusion of this course students will be able to:

Course Schedule

A detailed schedule including reading and homework assignments will be made available on the course Canvas page. That schedule will be updated throughout the semester and should be checked regularly.

Methods of Evaluation

Course grades will be based on two midterms and a final exam, in-class activities, homework assignments, programming projects, and OpenDSA exercises. The final grade will be computed as follows:

Canvas Quizzes and OpenDSA exercises 10%
In-Class Activities 10%
Homework Assignments 10%
Programming Assignments 25%
Two Midterm Exams 30%
Final Exam 15%

Letter grades will be assigned on the scale A=90-100, B=80-89, C=70-79, D=60-69, F=0-59, with potential minor adjustments after considering the overall performance of the class and actual distribution of numeric scores. I will use "+" and "-" grades at my discretion. I do not assign WP or WF grades except under extraordinary circumstances.

Reading, Quizzes and OpenDSA exercises

Most assigned readings will include embedded quizzes or exercises. These will usually allow as many attempts as necessary for you to complete all questions correctly. No late submissions will be accepted.

It is important that you keep up with the readings in this course. You should not expect that every important point from the reading will be discussed in class.

In-Class Activities

In-class activities will typically involve breaking into small groups to answer questions or work on programming exercises.

Homework

Homework assignments will include both written work and programming exercises. Written answers should be prepared using a text editor, and will be graded on the basis of both correctness and clarity.

Programming Assignments

There will be approximately five programming assignments over the course of the semester. Programming assignments in this course will be implemented in Java. Programs will be graded on correctness, efficiency, documentation, and overall code quality. All submissions must conform to the CS240 Style Guide.

Course Policies

Attendance and Participation

Regular attendance and fully engaged participation is expected. Your grade will be partially based on in-class assignments, so attendance will affect your grade.

Academic Integrity

It is expected that your work in this course will comply with the provisions of the JMU honor code: http://www.jmu.edu/honor/code.shtml. It is not a violation of the honor code to discuss assignments and solutions with other students at a conceptual level. However, all of the work that you submit must be written by you, based on your own understanding of the material. Representing someone else's work as your own, in any form, constitutes an honor code violation. It is also a violation of the honor code to "render unauthorized assistance to another student by knowingly permitting him or her to see or copy all or a portion of an examination or any work to be submitted for academic credit."

A key component of academic integrity is giving credit where credit is due. If you receive assistance, either from another student or from some other source, you must acknowledge that fact. To that end, all programming and homework assignments submitted for this course must include a statement that acknowledges any assistance you received and must contain the statement: "This work complies with the JMU Honor Code."

For example, if I were submitting this syllabus for credit, I would include the following statement:

This work complies with the JMU Honor Code. I would like to acknowledge the assistance of Dr. Chris Fox. Dr. Fox provided me a copy of his CS240 Syllabus, which I have used as a template in preparing this document.
-Nathan Sprague

I will prosecute honor code violations if they come to my attention. If in doubt about what is allowed, ask me.

Missed and Late Assignment Policy

If you are unable to take an exam at the scheduled time because of illness or other problems, you must contact me beforehand to arrange to take the exam at a different time. Failure to make prior arrangements for a missed exam will result in a grade of 0 for the exam.

It will not be possible to receive credit for in-class work that is missed due to absence. In recognition of the fact that absences are occasionally unavoidable, I will drop the two lowest scores in this category when calculating your final grade.

Homework and Programming assignments will be due at 11:00PM on the posted due-date. Assignments submitted after the deadline will be subject to a 20% penalty for the first day. The penalty will increase by 20% every 24 hours. No assignments will be accepted more than 96 hours after the deadline.

Except under extraordinary circumstances, I will not provide extensions for illnesses, extracurricular obligations, etc. Instead, you will have three "late days" which may be applied to any project or homework assignment (with some exceptions for assignments due at the end of the semester or immediately before exams). The use of a late day allows you to extend the deadline for an assignment by 24 hours. You may apply all three days to a single assignment or distribute them across multiple assignments.

Adding/Dropping

Students are responsible for adding and dropping courses via MyMadison. Please consult the academic calendar for exact deadlines.

Disability Accommodations

If you need an accommodation based on the impact of a disability, you should contact the Office of Disability Services (Student Success Center, Room 1202, www.jmu.edu/ods, 540-568-6705) if you have not previously done so. Disability Services will provide you with an Access Plan Letter that will verify your need for services and make recommendations for accommodations to be used in the classroom. Once you have presented me with this letter, you and I will sit down and review the course requirements, your disability characteristics, and your requested accommodations to develop an individualized plan, appropriate for this course.

Inclement Weather Policy

This class will operate in accord with JMU's inclement weather policy available at http://www.jmu.edu/JMUpolicy/1309.shtml

Religious Observation Accommodations

I will give reasonable and appropriate accommodations to students requesting them on grounds of religious observation. If you require such accommodations you must notify me at least two weeks in advance.

Catalog Description

Students learn to implement and analyze elementary data structures and the basic complexity classes of algorithms that use strategies such as greedy algorithms, divide-and-conquer algorithms, and backtracking algorithms. This analysis is especially applied to problems in searching, sorting, and parsing.