|
COURSE SYLLABUS
COP 4531 Complexity and Analysis of Data Structures and Algorithms
Fall Semester 2010
|
SPECIAL SCHEDULING NOTE
This class has students attending in two modes:
- Mixed Mode (67% On-Line + 33% Classroom)
- Distance Learning (100% On-Line Only)
The content, objectives, assignments, assessments, and grading are the same for
all students. Obviously, however, mixed mode and distance students
sometimes participate in different ways.
For all students:
Regular participation via the
campus.fsu.edu [Blackboard]
course interface is required. Official course announcements, lecture
materials, assignments, and help archives will all be on-line at this site. Note
that all registered students should have the course web site listed on their
campus.fsu.edu
portal page. Be sure to test this and resolve any difficulties no later
than the first week of classes.
For mixed-mode students: Class (recitation) will meet most days
at the time/place scheduled. All exams must be scheduled with the FSUPC testing
center and taken in the center. It is the student's responsibility to schedule
exams within the exam window.
For on-line students: All exams must be proctored and taken
during the exam window. It is the student's responsibility to arrange for
proctored exams in compliance with the FSU standards.
(See COURSE POLICIES for details.)
Note that students may be required to identify themselves with official FSU
ID to sit an exam.
CLASS SCHEDULE FOR MIXED-MODE STUDENTS
Event | Location | Dates | Day | Time |
Recitation | A-110-N Holley Academic Center
| Aug 23 - Nov 29
| Mon | 6:30pm - 8:00pm (Central Time) |
EXAM SCHEDULE
There will be two exams in COP 4531, a midterm exam and a final exam.
The dates for the two exams are shown in the following table.
Exam Calendar |
Exam |
Window (Inclusive) |
Midterm Exam |
Wed Oct 13 - Mon Oct 18 |
Final Exam |
Wed Dec 8 - Mon Dec 13 |
|
INSTRUCTIONAL STAFF
Chris Lacher, Faculty
Responsibilities: Instructor, On-Line Instruction, Assignments,
Final Grades, Course Manager |
|
Office: | A-211-O
Academic Center / Panama City Campus
|
Office Phone (during office hours):
|
850-770-2256 (local direct line)
| |
Mobile Phone & Voice Mail (24/7): | 850-510-5575 |
Email: |
lacher@cs.fsu.edu |
Fax: | 850-872-7720 |
Mail & Delivery: |
Florida State University
4750 Collegiate Drive
Panama City, FL 32405-1099
|
|
|
Mathew Porter, Teaching Assistant and Mentor
Responsibilities: On-Line Help, On-Line
Mentor, Project Assessment, Instructor Liason and General Watchdog |
|
|
COURSE PREREQUISITES
This is a capstone course in our curriculum. The prerequisite
tree is as follows:
COP4531
/ | \
COP4530 MAD3105 STA3032/STA4442
/ | \ | \ |
COP3330 CDA3100 MAD2104 MAC2312
/ \ |
COP3014 COP3344 MAC2311
The supporting courses constitute a significant and deep body of knowledge that is
assumed as a base from which to build COP 4531. These prequisites will be
enforced. Students not having credit for these prequisite courses must have
special permission from the instructor or be dropped from the class. (NOTE:
We will generally allow taking STA 3032 concurrently with COP 4531.)
COURSE RATIONALE
This course continues the study of data structures and algorithms begun in COP
4530, with emphasis evolving to more sophisticated structures, more complex
analyses, and higher levels of abstraction. Data structures and algorithms form
the foundation of both the theory and practice of all computing
disciplines. Mastery of these materials is an essential ingredient to becoming a
computer scientist.
COURSE DESCRIPTION
This is a continuation of the course COP 4530 Data Structures, Algorithms,
and Generic Programming, with emphasis evolving to more sophisticated
structures, more complex analyses, and higher levels of abstraction.
The courses COP 4530 and this one (COP 4531) are about efficiency of programs
and programming, in various meanings of efficient. It is efficient to
re-use code instead of re-writing code (or, worse, re-inventing code). It
is efficient to select only the linguistic features you need without having to
use costly extra features you do not need. It is efficient to minimize the
run time of code, especially code that is destined for re-use. It is also
efficient to minimize the memory and storage needs of code, recognizing that
there may be a tradeoff between speed and memory requirements. It is efficient
to spend less time writing a program of equal quality, and even more efficient
to spend the same time writing a program of higher quality. In many
applications, correctness is the ultimate form of efficiency, while in others
efficiency means getting the best result possible in the limited time (or space)
available.
Efficiency can happen at different levels. Take code: source code can be
small in size, easy to read, and easy to understand. Executable code can be
fast or compact (or both). The code production process can be efficient by
applying good software engineering methodology. Code can run efficiently, in
either a temporal or spatial sense. Savings in human effort also represent
efficiency. Effort can be saved by good design, by careful (error-free)
programming, and by re-using both code itself and patterns of problem
solving that are known to be successful.
All these ideas of efficiency are central to this course sequence. It is also true
that all of these ideas of efficiency are fundamental to the design and
specification of the C++ language, which is one of many reasons C++ is a great
choice for the core language in our curriculum and for this course.
The three topics mentioned in the title of the course are
data structures, algorithms, and generic programming. Data
structures will be discussed in abstract terms (as abstract data types,
or ADTs) but they will also be looked at in very concrete ways, actually
implemented using C++. Algorithms are just formalizations of processes
that result in predictable and desirable outcomes. Algorithms are used in a
variety of contexts. Particularly, data structures are made usable by
implementing algorithms for searching, sorting, and indexing the
structures. Generic programming is the science of component re-use. We
will explore coding for re-use of both data structures and algorithms in
C++. Coding for re-use and re-use of code are important aspects of
software engineering.
We will also have several substantial programming projects that involve
the implementation and use of data structures, algorithms, and generic
programming.
COURSE OBJECTIVES
At the end of this course, the student should have experienced, and should
permanently retain a working knowledge of, the following topics and
concepts. (Those that are introduced or reviewed in this continuation course are in color.)
Data Structures
- Definition, implementation, and use of the following concepts:
Positional ADTs: vector, list, deque, stack, queue, binary tree, graph, directed graph, directed acyclic graph
(DAG), network
Associative ADTs: table, associative array, priority queue, set, map, multiset, multimap
- Definition and use of iterators associated with these ADTs
- Familiarity and experience implementing these abstractions, including their
associated iterator classes and including performance constraints (in terms of
runtime complexity) on the operations. Implementations will include the following:
vector, list, deque, stack, queue, priority queue, hash table, associative array,
hash set, sorted list, binary tree, binary search tree,
red-black and height-balanced trees, graph, directed graph, network.
Note that this implies the detailed study of trees of several types a
implementation structures and the use of template classes as well as the
elementary study of algorithms and their complexity.
Algorithms
- Familiarity and experience with algorithm theory: proof of correctness and
informal complexity analysis
-
Familiarity and experience with specific algorithms (covered or reviewed in this course shown in color):
Sequential Search,
Binary Search,
Push and Pop Heap,
Heap Sort,
Insertion Sort,
Merge Sort,
Quick Sort,
Depth-First Search,
Breadth-First Search,
Topological Sort,
Minimum Spanning Trees,
Shortest Paths,
Maximum Flows,
Implementations of ADT Operations.
Generic Programming
- Familiarity and experience with generic containers as
class templates with typename template parameters
- Familiarity and experience with generic algorithms as
function templates with iterator template parameters
GRADING/EVALUATION
The overall grade for COP 4531 is an average of two equally weighted parts:
Exams and Assignments. Exams consist of a midterm exam and a final
exam. Assignments consist of four programming projects.
The dates for the two exams are shown in the Exam Calendar above. Due dates for other
deliverables will be available on the Course
Calendar.
There are 1000 total points that may be earned in the course (not counting
possible extra credit opportunities), distributed as shown in Table 1. At least
350 exam points (midterm and final exams) and 350 assignment points (programming
projects and homework) must be earned to get a course grade of C or better. In
addition, working solutions for every assignment must be submitted in order to
be eligible for the grade of A. Once meeting these constraints, the final grade
is determined using Table 2. Extra credit points in one category may not be
used in the other category.
Table 1: Course Points |
Item | Points/Item |
No of Items | Total |
Projects | 100 | 5 | 500 |
Midterm Exam | 200 | 1 | 200 |
Final Exam | 300 | 1 | 300 |
Total Points: | 1000 |
|
Table 2: Letter Grades |
Points | Grade |
925 - 1000 | A |
900 - 924 | A- |
875 - 899 | B+ |
825 - 874 | B |
800 - 824 | B- |
775 - 799 | C+ |
725 - 774 | C |
700 - 724 | C- |
675 - 699 | D+ |
625 - 674 | D |
600 - 624 | D- |
0 - 599 | F |
|
NOTE: The following are additional constraints on the final grade in
this course.
-
Certain components of assignments in this course have been designated by
the
Department of Computer Science for assessment of the following expected
outcomes for its degree programs, as required by our accreditation agencies,
the
University and the State of Florida:
- analyze the computational complexity of algorithms used in the solution of a
programming problem
- evaluate the performance trade-offs of alternative data
structures and algorithms
Departmental policy does not permit a final grade of "C-" or
better to be assigned unless the student has earned a grade of "C-" or
better on each of
these components, regardless of performance on other work in the course.
- In addition, you must earn at least 350 points in both
Exams (in-term and final exams) and Assignments (projects and homework) to be
awarded a course grade of C or better.
- Finally, you must submit a working version of every assignment in
order to be eligible for the grade of A or A-.
Project Assessment: Projects will be assessed using Table 3
as a guide, with minor modifications depending on the specific assignment. Note
that these assignments are more open-ended than assignments in the predecessor
course and that assessment of these assignments will also be more
open-ended. There is room for creativity and thoroughness that is left
unspecified. Moreover, it is expected that all programming aspects of a project
should be completed with appropriate attention to good software engineering
practice: separate compilation of code files, correct inclusion of header files,
a correct portable makefile, well-designed solutions, readable and
self-documenting code, etc. Students at this level should not expect partial
credit for projects that will not compile or code that produces incorrect output
or runtime errors. Straightforward testing can eliminate such problems.
Table 3: Project Assessment Guidelines |
Criterion | Percentage Points Range |
Deliverables Received and Project Compiles | 0 ... 20 |
Results of Testing | 0 ... 20 |
Project Meets Requirements | 0 ... 20 |
Design, Readability, and Style | -20 ... 20 |
Other Software Engineering | -20 ... 20 |
Assessment will be done in two stages. First an objective assessment will be
done to test compilation and correctness of the running program. Then a member
of the instructional staff will add subjective assessment based on the test
results and source code. A report will be emailed to the student after
assessment is complete.
- You may earn up to approximately 60 percentage points for a correctly functioning
project meeting all requirements. (The exact percentage will depend on the
particular assignment.)
- Your project score may change by plus or minus the remaining percent
during the subjective assessment.
- Code taken from any source must have the source cited in the
documentation. Omissions of proper citation will result in
failing grade. We will do random checks.
- Legacy code from previous offerings of this course is strictly off limits.
- You must understand your project
work. If you are asked to explain your work, and if you cannot do so, you may be
assigned a grade of zero.
Late Deliverables: Assignments should be submitted by the due
date published in the course
calendar. To receive full credit, assignment deliverables must be
successfully submitted before the initial assessment begins, usually a few days after
the due date. Missing deliverables will be treated as "grossly incorrect" and assessed as resubmissions.
Grossly Incorrect Deliverables: In cases where deliverables
fail the most basic requirements, such as existence, compilation or basic run
requirements, the student will receive a temporary "NG" score and be asked to
correct and resubmit. A resubmission will be re-assessed with a 20%
penalty. "NG" reverts to zero at the end of the resubmission period.
Note that any assignment receiving less than 80% during the original
assessment may be resubmitted for possible grade improvement to 80%.
COURSE MATERIALS
The following materials are required:
- Lecture Notes: Slides and Narrative: available through Blackboard under "Lecture Notes"
- Code Distribution Library: progressively released to members of the course
group only at /home/courses/cop4531p/fall10/ (see Chapter 1 of
Lecture Notes for details)
- Cormen, T.H.; Leiserson, C.E; Rivest, R.L.; and Stein,
C. (2009). Introduction to Algorithms (3rd ed.). MIT Press,
Cambridge, MA.
ISBN 978-0-262-03384-8
The following optional reference books are sanctioned for this course:
- Stroustrup, Bjarne (1997). The C++ Programming Language (3rd
edition). Addison-Wesley.
ISBN 0-201-88954-4
- Deitel, H.M. and Deitel, P.J. (2010). C++ - How to Program, 7th
edition, by Deitel, Prentice Hall.
ISBN 0-201-88954-4 (or any earlier edition)
- Ford, W. and Topp, W. (2002). Data Structures with C++ Using the STL (2nd edition).
New Jersey: Prentice Hall.
ISBN 0-13-085850-1
- Austern, M. (1998). Generic Programming and the STL. Massachusetts:
Addison-Wesley, 1998.
ISBN 0-201-30956-4
- Oram, A. and Talbott, S. (1991). Managing Projects with
make. Sebastopol, CA: O'Reilly & Associates.
ISBN 0-937175-90-0
- Cameron, D., Rosenblatt, B., and Raymond, E. (1996). Learning GNU Emacs,
2nd Edition. Sebastopol, CA: O'Reilly & Associates.
ISBN 1-56592-152-6
COURSE POLICIES
First Day Attendance Policy: Official university policy is
that any student not attending the first class meeting will be automatically
dropped from the class. For distance students, this policy is interpreted as
posting to the discussion forum "First Day Attendance" no later than the first
day of the semester.
Regular Attendance Policy:
The university requires
attendance in all classes. Attendance in distance classes shall mean regular
access to the course web site via campus.fsu.edu and regular
participation in the class discussion forums. Here, "regular" shall mean a
substantial amount of time on a weekly basis. Note that individual access
statistics are maintained by Blackboard.
Excused absences include documented illness, deaths in the immediate family and
other documented crises, call to active military duty or jury duty, religious
holy days, and official University activities. Accommodations for these excused
absences will be made and will do so in a way that does not penalize students
who have a valid excuse. Consideration will also be given to students whose
dependent children experience serious illness.
Proctored Exam Policy: All exams must be proctored and taken at
an approved testing site during the exam window.
It is the student's responsibility to arrange for proctored exams in
compliance with the FSU standards. Go to
http://learningforlife.fsu.edu/cat/test/distancelearning/students.cfm
for complete information on setting up a proctored exam site.
Exam Makeup Policy:
An exam missed without an acceptable excuse will be recorded as a grade of zero
(0). The following are the only acceptable excuses:
- If submitted prior to the day of the scheduled exam:
- A written and signed explanation as to why the exam will missed. Illness or required
professional travel are acceptable, while discretionary or personal travel
are not. In any case the explanation should be accompanied by corroborating
documentation, including names and contact information, and the explanation must
be accepted by the instructor prior to missing the exam.
- Evidence from a university official that you will miss the exam due to
university sanctioned travel or extracurricular activity.
- If submitted on or after the day of the scheduled exam:
- A note from a physician, university dean, spouse, parent, or yourself indicating an illness
or other extraordinary circumstance that prevented you from taking the exam and
could not be planned for in advance. Again, corroborating information should be
supplied.
All excuses must be submitted in writing, must be signed by the excusing
authority, and must include complete contact information for the authority,
including telephone numbers and address.
Missed exams with acceptable excuse will be made up or assigned the average
grade of all other exams, at the option of the course instructor.
Missed, and acceptably excused, final exams will result in the course grade of
'I' and must be made up in the first two weeks of the following semester.
Grade of 'I' Policy:
The grade of 'I' will be assigned only under the following exceptional circumstances:
- The final exam is missed with an accepted excuse for the absence. In this
case, the final exam must be made up during the first two weeks of the following
semester.
- Due to an extended illness or other extraordinary
circumstance, with appropriate documentation, the student is unable to
participate in class for an extended period. In this case, arrangements must be
made to make up the missed portion of the course prior to the end of the next semester.
Completion of Work Policy:
To be eligible for the grade of A or A-, working versions of all programming
assignments must be submitted.
ACADEMIC HONOR POLICY:
The Florida State University Academic Honor Policy outlines the
University’s expectations for the integrity of students’
academic work, the procedures for resolving alleged violations of those
expectations, and the rights and responsibilities of students and faculty
members throughout the process. Students are responsible for reading
the Academic Honor Policy and for living up to their pledge to
“. . . be honest and truthful and . . . [to] strive for personal and
institutional integrity at Florida State University.” (Florida
State University Academic Honor Policy, found at http://dof.fsu.edu/honorpolicy.htm.)
All students
are expected to uphold the Academic Honor Policy.
Please note the following items are defined and made violations by the policy:
- Plagiarism
- Cheating
- Unauthorized Group Work
- Fabrication, Falsification, and Misrepresentation
- Multiple Submission
- Abuse of Academic Materials
- Complicity in Academic Dishonesty
- Attempted ...
Violations of the academic honor policy may result in failing grades and/or
dismissal from the university. All students are expected to read and understand
the policy.
Checking for Plagiarism: FSU subscribes several databases of papers and computer
source code that have been previously published or turned in for credit in
university courses worldwide. Student work may be checked in one or more of
these databases for originality. Note that turning in work that contains uncited
quoted material from any source is considered plagiarism and a violation of the
FSU honor code.
AMERICANS WITH DISABILITIES ACT:
Students with disabilities needing academic accommodation should:
(1) register with and provide documentation to the Student Disability
Resource Center; and
(2) bring a letter to the instructor indicating the need for accommodation
and what type. This should be done during the first week of
class.
This syllabus and other class materials are available in
alternative format upon request.
For more information about services available to FSU
students with disabilities, contact the:
Student Disability Resource Center
874 Traditions Way
108 Student Services Building
Florida State University
Tallahassee, FL 32306-4167
(850) 644-9566 (voice)
(850) 644-8504 (TDD)
sdrc@admin.fsu.edu
http://www.disabilitycenter.fsu.edu/
(This syllabus and other class materials are available in
alternative format upon request.)
EMERGENCY MANAGEMENT INFORMATION:
Information regarding the status of FSU in an emergency situation may be
obtained from the following sources:
- For information specific to the Panama City Campus go to the FSUPC web page at http://www.pc.fsu.edu/ or call the Campus
Hotline number 850-770-2000
- For information related to FSU in general and the Tallahassee Campus go to
the FSU alerts web page at http://www.fsu.edu/~alerts/
- For state-wide and national information, go to the Florida Division of
Emergency Management information pages at http://www.floridadisaster.org/
Any specific information related to this class will be posted on the course web site
or sent via email to your fsu email address.
SYLLABUS CHANGE POLICY:
Except for changes that substantially affect implementation of the evaluation
(grading) statement, this syllabus is a guide for the course and is subject to
change with advance notice.
Such notice will be in the form of a posting to the course web site on campus.fsu.edu.
|