

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


MCS 401 Final: BH 208, 10:30-12:30, Thu, Dec 11, 2008
The following problems are suggested for practice before the final. In addition review homework problems in the related chapters. The exam will cover
vertex A B C D E F G H I J d 1 2 10 12 3 13 17 4 6 14 f 20 9 11 19 8 16 18 5 7 15
(a) Sketch the predecessor forest created by this run of DFS. (b) Could the graph have an edge from J to D? yes no If so, then what kind? tree, forward, back, cross (underline all possibilities) (c) Could the graph have an edge from E to D? yes no If so, then what kind? tree, forward, back, cross (underline all possibilities) (d) What is the maximum number of edges starting at I that could be present in the graph?
(a) Give a definition of a strongly connected component of G. (b) Give a definition of the component graph GSCC. (c) Prove that GSCC^ is acyclic.