Principles Of Data Abstraction
CSCI 2320 - Fall 2009 -
Tentative Schedule - 9:55 TT
All Labs/Assignments Are Due The Next Class Period Unless Specified Otherwise!
|
Class |
Topic's) |
Reading
Assignments
|
Laboratory
|
|
# 1 8/27 R |
Introduction To Class Fill Out Questionnaire (Lab I-4 points) Discuss Course Outline Review C & Start To Introduce C++
Basic Data Types
String Functions |
Read the Course Outline |
Questionnaire HW
Install Visual Studio 2008 On Your Computer |
|
# 2 9/1 T
|
OOP 2 Review C Pointers
Aggregates : arrays, structs,
classes |
OOP 2 Slides |
OOP 2 HW |
|
# 3 9/3R
|
OOP 2
Classes,
interface |
OOP 2 Slides |
OOP 2 HW
Athlete-Class-Lab |
|
# 4 9/8 T
|
Partitioning Applications Into .hpp
and .cpp files.
Partition Athlete Class |
Athlete-Class-Lab |
|
|
# 5 9/10 R
|
Partition Athlete Class Review Classes Templated Stack Class |
Stack Slides | Stack Lab I |
|
# 6 9/15 T
|
Templated Queue Copy Constructor Overload = Resize Start Direct Access Files |
Queue Slides | Stack Lab II |
|
# 7 9/17 R
|
Direct Access Files Single Linked List - Direct Access File Implementation
Why Direct Access Files? FILE *FilePtr; FilePtr = fopen (NewFileName,"rb+"); FilePtr = fopen (NewFileName,"wb+"); fseek(FilePtr, 4 * sizeof(Student), SEEK_SET); fwrite(&Students,sizeof(Student),(long)1,FilePtr); fread(&Students,sizeof(Student),(long)1,FilePtr); |
Optional |
Athlete-Direct-Access-Time-1 Lab |
|
# 8 9/22 T
|
Double Linked List Application Organize DLNodes For Insertion-Deletion
Direct Access Double Linked List
Trace/Sketch Available Pool |
Study For Exam 1 Extra Credit If You Do Study Group For 3 Hours Or More |
|
|
# 9 9/24 R
|
Exam I | Athlete-Direct-Access-Time-2 Lab | |
|
# 10 9/29 T
|
DA_DLList Class Direct Access Double Linked List Constructor For New App Constructor For Existing App
Trace/Sketch Available Pool |
Hicks-Num-DA-DLList GetNode-Available-Pool-DA-DLList
|
DLList-1-DirAcc-Const-Dest-GetNode-FreeNode Lab |
|
# 11 10/1 R
|
DLList Class Internal Memory Dynamic Array Solution Using A
Double-Linked-List as a Stack |
Graphical
View Of DA-DLList |
DLList-2 Lab Individual Assignment Due 10/9 |
|
# 12 10/6 T
|
Work In Class Coin-Class Lab Team Assignment |
Graphical
View Of DA-DLList |
Coin-Class-Lab Team Assignment Due 10/9 |
|
# 13 10/8 R
|
Review DLList vs DA_DLList bool Pop (HeaderNo, &OldInfo) Translating Internal Memory Solutions Into Direct Access File Solutions
Using A Double-Linked-List as a Queue Using A Double-Linked-List as an |
Graphical
View Of DA-DLList |
DLList-3 Lab Individual Assignment Due 10/15 |
|
# 14 10/13 T
|
Using A Double-Linked-List as an Ordered Linked List bool Inplace (HeaderNo, NewInfo) bool InsertAfter (HeaderNo, NewInfo, LeftBrother) Brief Description Of |
||
|
# 15 10/15 R
|
Key Tables Internal Memory Array KeySets (Key, Ptr) Binary Search Of Internal Memory Array Add Rapid Search Functionality To DA_DLList Key Table Introduction To Trees |
DLList-DirAcc-OrderedList Lab Individual Assignment Due 10/20 |
|
|
# 16 10/20 T
|
Review | BinTree_Lab I | |
|
# 17 10/22 R
|
Binary Tree BinTree Class Skew Tree Complete Tree Balanced Tree
Binary Tree Traversals
Non-Recursive Tree Traversals
Figuring Binary Tree Distribution
|
BinTreeTraversals |
STUDY FOR EXAM |
|
# 18 10/27 T
|
Exam II | ||
|
# 19 10/29 R
|
Go Over Exam Discuss Binary Tree Deletion Discuss Calculations Of Average Search & Worst On DA_BinTree Review KeyTables Discuss
NoNodesAtEachLevels & Calculation C#-DotNet Programming |
BinTree-Delete-Stats-Levels
Lab Team Assignment Due 11/5 |
|
|
# 20 11/3 T
|
An empty tree is height balanced. For a tree T, T-L shall denote the left subtree and T-R shall denote the right subtree. For a tree T, h-L shall denote the height of the left subtree (T-L) and h-R shall denote the height of the right subtree (T-R). A non empty binary tree is HEIGHT BALANCED if
and only if The BALANCE FACTOR of a node T in a binary tree bf(T) = h-L - h-R. For any node T in an AVL tree, bf(T) = -1, 0, or +1 Introduction To AVL Trees |
||
|
# 21 11/5 R
|
An empty tree is height balanced. For a tree T, T-L shall denote the left subtree and T-R shall denote the right subtree. For a tree T, h-L shall denote the height of the left subtree (T-L) and h-R shall denote the height of the right subtree (T-R). A non empty binary tree is HEIGHT BALANCED if
and only if The BALANCE FACTOR of a node T in a binary tree bf(T) = h-L - h-R. For any node T in an AVL tree, bf(T) = -1, 0, or +1 Introduction To AVL Trees |
DA_AVL Lab I Team Assignment Due 11/12 |
|
|
# 22 11/10 T |
Introduction To B Trees & B+ Trees
B Tree Requirements B+ Tree Requirements Difference Between A B Tree & A B+ Tree |
B+Tree | B+Tree - HW |
|
# 23 11/12 R
|
B+ Trees & MySQL Database Quiz AVL - B/B+ Trees |
DA_AVL Lab II Team Assignment Extra Credit If Completed Correctly By 11/25 Due 12/1 |
|
|
# 24 11/17 T
|
Graph Theory Define Graph G = (V,E) Verticies (V) - Nodes Edges (E) - Arcs Adjacency Connectivity Undirected Graphs V = {A, B, C, D, E} E = { (A,B), (A,D), (A,E), (B,E) } Sketching Graphs Directed Graphs V = {A, B, C, D} E = { (A,B), (A,D), (A,E), (B,E) } Sketching Graphs Directed Graphs V = {A, B, C, D}
Planar
Graphs |
GraphTheory1 GraphTheory2 |
Graph-Theory-HW-1 |
|
# 25 11/19 R
|
Dijkstra Algorithm Adjacency List Introduction To Hashing |
Hashing | |
|
# 24 11/24 T
|
Thanksgiving Week Individual Assignment |
||
|
# 25 11/26 R
|
Thanksgiving Week |
||
|
# 26 12/1 T
|
|||
|
# 27 12/3 R
|
Exam III | ||
|
# 28 12/8 T
|
|||
|
12/9 |
Reading Days | Reading Days | |
|
|
|
||