| Welcome | 21 Sep 07 | ||
| Sample Makefile | 27 Sep 07 | ||
| SAT Solver Output Interpreter | 27 Sep 07 | ||
| Hiding bad software | 30 Sep 07 | ||
| Alternative Mergesort - subclass the BinTree class | 11 Oct 07 |
Quote(s) of the Week
Extras: Pi Roman Number Adder Folds E-less numbers Lemmings Lock Word Puzzle Encryption
2007 Syllabus: HTML Bloom's Taxonomy: Aim of program
C++ Tutorial: HTML Unix Tutorial: HTML
Past Midterm Exams
2006-002
2006-001
2005
2004
2007 Midterm Exam Results
Section 001:
results
solutions
Homework Assignments
Homework Number 1 (C++) - Sudoku Solver
Homework Number 2 (C++) - Positive Integer Powers and Stacks
Homework Number 3 (C++) - MergeSort Can Be Faster With Linked Lists!
Homework Number 4 (C++) - Hamming's Problem and Priority Queues
demonstration
Homework Number 5 (C++) - HashTable Class
Homework Number 6 (C++) - Union-Find and the Partition Class
Homework Number 7 (C++) - Using the Partition Class
or
Homework Number 7 (C++) - Minimum Cost Network with Graph and Partition Classes
Check this demo out: demo
Homework Grades
HW 1 - Sent individually - 4@10, 1@9.5, 1@9, 3@8.5, 2@8, 1@7.5, 2@6, 2@4, 3@3, 1@1
HW 2 - Sent individually - 6@10, 4@9.5, 3@9, 1@8.5, 1@7.5, 1@7, 1@6.5, 1@3
HW 3 - Sent individually - 8@10, 1@9, 1@8, 1@6, 3@4, 1@3 (still waiting for some)
HW 4 - Sent individually - 11@10, 2@9, 1@8, 1@5 (maybe another will come?)
HW 5 - Sent individually - 12@10, 1@9.5, 1@9, 1@7, (expecting one more)
HW 6
HW 7
Homework Hints
Homework Number One
Homework Number Two
Solutions to the Homework
What's Wrong With This Code?
Questions
Lecture Notes
Secure Shell for Helios
C++ to Java
Red Black Trees
Example Java Code
Example C++ code
Example C code
C++:
Makefile.1a
hw1a.cc
Java:
hw1a.java
C++:
Makefile.1b
hw1b.cc
Java:
hw1b.java
C++:
Makefile.3
hw3.cc
mcell.h
mcell.cc
mrgsrt.h
mrgsrt.cc
funcs.h
uses bintree class:
Makefile
mergesort.cc
cell.h
cell.cc
bintree.h
bintree.cc
mrgsrt.h
mrgsrt.cc
Java:
hw3.java
mcell.java
funcs.java
mrgsrt.java
C++:
Makefile.4
hw4.cc
pqueue.h
pqueue.cc
funcs.h
Java:
hw4.java
pqueue.java
funcs.java
C++:
Makefile.5
hw5.cc
node.h
node.cc
list.h
list.cc
hashtable.h
hashtable.cc
funcs.h
a.h
a.cc
Java:
hw5.java
cell.java
funcs.java
list.java
hashtable.java
a.java
C++:
Makefile.7a
hw7a.cc
node.h
node.cc
list.h
list.cc
hashtable.h
hashtable.cc
partition.h
partition.cc
graph.h
graph.cc
edge.h
edge.cc
vertex.h
vertex.cc
mst.cc
funcs.h
Must dereference a pointer to an array before indexing the array
Dereference pointers to objects which do not exist?
Any topic
You can log into helios using ssh only. Set it up like this
Get files for freeware DOS/Windows version here (get putty.exe and psftp.exe).
Slides (postscript only - use ghostview to see it)
LaTeX source for the above slides - compile with LaTeX
Java demonstration
Source code
Radix Sort using circular queue
QuickSort
Hamming's problem extended
Redundancy Check in a network
Binary Trees, Heaps, and Heapsort
Insurance Company Payroll (no muss, no fuss)
A string class
A date class
Stacks using arrays
Stacks using linked lists
Finding redundancy in a network
Finding redundancy in a network (a better solution)
Finding redundancy in a network: recursive solution
Finding redundancy in a network: using circular queue
Merge two queues
Radix Sort using circular queue
Binary Tree and HeapSort (fixed 11/1/96)
Bucket Hashing - (non-adjusting table size)
Stacks using arrays
Stacks using linked lists
Sorting elements of a nxn array using qsort
Another array sort using qsort - not for the timid