CSC 427: Data Structures and Algorithm Analysis
Fall 2004



3:30-4:45 TuTh
411 Old Gymnasium
Dr. David Reed
207 Old Gymnasium      x2583
DaveReed@creighton.edu


Text: Data Structures with C++ Using STL, 2nd ed., William Ford and William Topp, Prentice Hall, 2002.

Prerequisites: CSC 222, CSC 309.

Course Description

This is the third course in the computer science sequence, building upon the concepts and skills acquired in the first year. Whereas CSC 221 focused on the design of simple algorithms and CSC 222 focused on basic data structures, this course considers both facets of problem solving and their interrelationships. In order to solve complex problems efficiently, it is necessary to design algorithms and data structures together since the data structure is motivated by and affects the algorithm that accesses it.

As the name of the course suggests, special attention will be paid to analyzing the efficiency of specific algorithms, and how the appropriate data structure can affect efficiency. Specific topics covered in this course will include: advanced data structures (e.g., lists, trees, graphs and hash tables), common algorithms and their efficiency (e.g., binary search, heapsort, graph traversal, and big-Oh analysis), and problem-solving approaches (e.g., divide-and-conquer, backtracking, and dynamic programming).

The specific goals of this course are:


Required Work

Students will complete 5-7 assignments throughout the semester. Most assignments will involve the design and implementation of C++ programs that appropriately utilize data structures and algorithms. Assignments may also contain written components, for example, justifying design choices or analyzing program behavior. Late assignments will be accepted up to 7 days after their due date, with a 25% penalty. Beyond 7 days, late submissions will not be accepted. There will be weekly quizzes, two 75-minute tests, and a cumulative final exam (see the schedule below for exam dates).

There is no specific attendance policy for the course, although it is expected that absences will leave the student unprepared for tests and assignments. Quizzes and tests will not be rescheduled except in extreme circumstances. However, the lowest quiz grade will be dropped. The final grade for the course will be based on the following weightings:

weekly quizzes/exercises 05 %
5-7 programming assignments 40 %
two 75-minute tests 30 %
100-minute final exam 25 %

At the minimum, traditional grading cutoffs for the final average will apply. That is, 90% is guaranteed an A, 87% is guaranteed a B+, etc. Depending on class performance, some shifting of grades (in an upward direction only) may occur as final letter grades are assigned.


Policy on Collaboration

The college policy on cheating and plagiarism is spelled out in the Student Handbook. In addition to this, the following guidelines hold pertaining to programs. Programs are to be the sole work of the student -- collaboration on the design or coding of a program is not allowed. Questions regarding homework assignments should be directed at the instructor only. Students may seek debugging assistance or clarifications on assignments using the class Discussion Board. Repeat: All student interactions regarding homework assignments must take place via the class Discussion Board!

Violations of the this collaboration policy will be dealt with severely, with possible outcomes including failure in the course and expulsion from the university. In the case of programming assignments, you are encouraged to start early so that there is time to seek help from the instructor as the need arises.


Tentative Schedule

Date Topic Readings Assignments
Aug 26
Course overview. (ppt)
(pdf)
31
Sep 2
C++ review, classes & objects,
    design, error handling.
(ppt)
(pdf)
Ch. 1-2
HW1: due 9/9
7
9
    lab day
Algorithms, big-Oh analysis,
(ppt)
(pdf)
Ch. 3  
HW2: due 9/23
14
16
    searching, sorting, vectors.
    lab day
Ch. 4
21
23
Dynamic memory, pointers,
    matrices, pixel maps.
(ppt)
(pdf)
Ch. 5
28
30
    lab day
TEST1
Oct 5
7
List container, efficiency,
    nodes, linked lists,
(ppt)
(pdf)
Ch. 6-9 HW3: due 10/26
 
12
14
    iterators, insert/remove, .
    <algorithm> library.
19
21
NO CLASS -- FALL RECESS
26
28
    lab day
    lab day
HW4: due 11/9
 
Nov 2
4
Binary trees, recursive traversal,
    binary search trees.
(ppt)
(pdf)
Ch. 10
9
11
Heaps, heapsort,
     priority queues.
(ppt)
(pdf)
Ch. 14
16
18
TEST2
Associative containers, sets,
(ppt)
(pdf)
Ch. 11 HW5: due 11/23
 
23
25
    maps, hash tables.
NO CLASS - THANKSGIVING
Ch. 12
30
Dec 2
Problem-solving approaches,
    greedy, backtracking,
(ppt)
(pdf)
Ch. 15 HW6: Due 12/10
 
7
9
    dynamic programming.
Course overview
16
FINAL EXAM    Thu, 1:00-2:40