CSC 427: Data Structures and Algorithm Analysis
Fall 2007



4:45-6:00 MW
411 Old Gymnasium
Dr. David Reed
209 Old Gymnasium      x2583
DaveReed@creighton.edu


Text: Data Structures and Algorithm Analysis in Java, 2nd ed., Mark Allen Weiss, Addison Wesley, 2007.

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 Java 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.

It is expected that all students check their Creighton email accounts regularly. Official announcements, such as assignment revisions or class cancellations, will be distributed through Creighton email.


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 mailing list. Repeat: All student interactions regarding homework assignments must take place via the class mailing list!

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 22 Course overview. (ppt/pdf)
27
29
Java basics: (ppt/pdf)
     classes & objects, control, arrays/ArrayLists,
Ch. 1  
HW1: due 9/10
Sep 3
5
     LABOR DAY - NO CLASS
     GUI, interfaces, efficiency, inheritance.
10
12
Algorithm Analysis: (ppt/pdf)
     Big-Oh, searching & sorting, generics.
Ch. 2
17
19
Lists & Inheritance: (ppt/pdf)
     SortedList, inheritance & polymorphism,
Ch. 3 HW2: due 9/26
 
24
26
     timings, divide-and-conquer.
Collections: (ppt/pdf)
Oct 1
3
     Set, Map, ArrayList vs. LinkedList,
     linked lists, doubly linked lists, iterators.
HW3: due
10/10 & 10/26
8
10
review
TEST 1
15
17
NO CLASS -- FALL BREAK
22
24
Sets, Maps and Trees: (ppt/pdf)
     TreeSet, TreeMap, binary search tree,
Ch. 4  
HW4: due 11/7
29
31
     balanced trees.
Hashing: (ppt/pdf)
Ch. 5
Nov 5
7
     hash table, HashSet, HashMap.
Backtracking: (ppt/pdf)
Ch. 10  
HW5: due 11/26
12
14
     greedy approach, backtracking,
     applications: N-queens, 2-D gel, Boggle.
19
21
TEST 2
THANKSGIVING BREAK - NO CLASS
26
28
Dynamic programming: (ppt/pdf)
     bottom-up, binomial coefficient, caching.
Ch. 10 HW6: due 12/7
 
Dec 3
5
Applications. (ppt/pdf)
course review (ppt/pdf)
Ch. 6
12
FINAL EXAM    Wed, 4:45-6:25