Computer Science 477/677
Design and Analysis of Algorithms
CSC 477/677 Study Guide for the Second
Midterm Examination Fall 2005
-
Review the homework assignments.
-
There will be some true/false and fill-in-the-blank questions.
-
I have posted
exams from prior semesters.
If a question that you see on one of those exams is not related to anything
we've covered in class so far this semester up to the last class day before
the exam, then don't worry: it will not be on our November 8 exam.
-
I will ask you some general questions about graphs, such as the ones I
have mentioned in class. These could include questions about data structures
used to represent graphs, and graph algorithms we've discussed, such as depth
first search, breadth first search.
They could also include simple definitions, such as, "A directed graph is
called a tree if ...... " and simple theorems such as,
"The largest number of edges possible for an undirected graph of 6 vertices
is ...... "
A list of graph topics.
-
Use dynamic programming to solve the single-source least weight path
problem for this weighted acyclic directed graph
where the source is V0. Here is
the same graph in pdf format.
-
Dynamic programming algorithm for the knapsack
problem..
-
Graphs, algorithms and data structures.
-
Definitions of terms.
-
Data structures used to represent graphs.
-
Topological order.
-
Dynamic programming, divide and conquer.
-
Know about preorder, inorder, and postorder traversals of a binary tree.
-
Know about B-trees, tries, treaps, AVL trees, node splitting, rotation.