Location: | ISAT/CS 243 |
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 either CS 159 or CS 239. |
Course Web Page: | http://w3.cs.jmu.edu/spragunr/CS240/ |
Required Textbook: | Data Structures and Algorithms in Python. Michael T. Goodrich , Roberto Tamassia , Michael H. Goldwasser, Wiley, 2013. |
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. Please don't contact me through the Canvas messaging system.
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.
The focus of this course is on solving computational problems that involve manipulating collections of data. We will study a core set of data abstractions, data structures, and algorithms that provide a foundation for writing efficient programs.
Programming assignments in this course will be implemented using version 3.4 of the Python programming language. We will spend time at the beginning of the semester learning to program in Python. We will continue to develop programming skills such unit testing and documentation throughout the term.
At the conclusion of this course students will be able to:
A detailed schedule, including reading and homework assignments, is available on the course web page. That schedule will be updated throughout the semester and should be checked regularly.
Week(s) | Topic |
---|---|
1-3 | Introduction to Python |
4 | Algorithm Analysis |
5 | Dynamic Arrays, Python List Implementation |
6 | Stacks and Queues |
7 | Linked Lists |
8-10 | Recursion, Searching and Sorting, Recurrence Relations |
11-12 | Maps and Trees |
13-15 | Hashing |
Course grades will be based on two midterms and a final exam, in-class activities, homework assignments, programming projects, and quizzes. Assignment specifications and due dates will be posted to the course schedule page. The final grade will be computed as follows:
In-Class Activities and Quizzes | 15% |
Homework Assignments | 15% |
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.
In-class activities will typically involve breaking into small groups to answer questions or work on programming exercises. Most activities will be preceded by a readiness quiz.
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.
There will be approximately five programming assignments over the course of the semester. These must be written in Python. Programs will be graded on correctness, efficiency, documentation, and overall code quality. All submissions must conform to the CS240 Python Style Guide.
Regular attendance and fully engaged participation is expected. Your grade will be partially based on in-class assignments and quizzes, so attendance will affect your grade.
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: "I certify that this work complies with the JMU Honor Code."
For example, if I were submitting this syllabus for credit, I would include the following statement:
I certify that 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.
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 9:00AM 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.
Unless there are extraordinary circumstances, I will not provide extensions for illnesses or other personal difficulties. 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.
Students are responsible for adding and dropping courses through MyMadison. The last day to add a course for Fall 2014 is Tuesday, September 11th, 2014 (signatures required after September 2nd). The last day to drop a course for the Fall 2014 semester with a "W" grade is Thursday, October 23rd, 2014.
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.
This class will operate in accord with JMU's inclement weather policy available at http://www.jmu.edu/JMUpolicy/1309.shtml
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.
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.