CSC 427: Data Structures and Algorithm Analysis
Fall 2008



3:30-4:45 MW
308 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 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 27 Course overview. (ppt/pdf)
Sep 1
3
LABOR DAY - NO CLASS
Java basics: (ppt/pdf)
Ch. 1  
HW1: due 9/17
8
10
     classes & objects, control, arrays/ArrayLists,
     efficiency, interfaces, inheritance,
 
 
15
17
     netBeans, GUI-building.
Algorithm Analysis: (ppt/pdf)
Ch. 2  
 
22
24
     Big-Oh, generics, searching & sorting,
     review of HW1
 
HW2: due 10/1
29
Oct 1
     specialized sorting algorithms.
Lists & Inheritance: (ppt/pdf)
Ch. 7  
 
6
8
     SortedList, inheritance, divide-and-conquer.
TEST 1
Ch. 3 HW3: due 10/29
 
13
15
team programming
field trip
 
 
20
22
NO CLASS -- FALL BREAK
27
29
Collections: (ppt/pdf)
     Set, Map, ArrayList vs. LinkedList,
Ch. 4  
 
Nov 3
5
     linked structures, iterators.
Sets, Maps and Trees: (ppt/pdf)
HW4: due 11/12
 
10
12
     TreeSet, TreeMap, trees,
     binary search tree, balance.
Ch. 5  
HW5: due 12/1
17
19
Hashing: (ppt/pdf)
     hash table, HashSet, HashMap.
 
 
24
26
TEST 2
THANKSGIVING BREAK - NO CLASS
   
 
Dec 1
3
Backtracking: (ppt/pdf)
     greedy approach, backtracking, applications.
Ch. 10 HW6: due 12/12
 
8
10
Dynamic programming: (ppt/pdf)
     bottom-up, binomial coefficient, caching.
 
 
16
FINAL EXAM    Tue, 10:00-11:40

Sample code from class