You are on page 1of 5

CS 205 Quiz #7B Nov 15, 2012

NAME: ______________________________SOLUTIONS__________________________________

RUID:___________________________________________________________________________

Electronic Devices are not permitted during the quiz. These include but are not restricted to calculators, computers and cell phones. No communication between students or anyone outside of class is permitted during the quiz. Textbooks, notes and any other written materials are not permitted during the quiz.

DO NOT OPEN UNTIL INSTRUCTED TO DO SO

1. Consider the following graph.

______6_____ a) How many vertices are present?

______6_____ b) How many edges are present?

______0_____ c) How many edges are loops?

_____NO_____ d) Are vertices D and F adjacent? They do not share an edge. ____{A,D}___ e) What is the neighborhood of {B,C}?

______2_____ f) What is the degree of vertex C?

_____NO_____ g) Is the graph a complete graph?

______1_____ h) How many subgraphs can be produced that are cycles? {A,C,D} ______1_____ i) How many edges are in the subgraph induced by { B, E, F }? E-F ______2_____ j) How many simple paths are possible from B to F? B-A-C-D-E-F and B-A-D-E-F

2. For each pair of graphs below, determine whether they are isomorphic. If the graphs are isomorphic, then fill in blanks to indicate which vertex in the first graph maps to what other vertex in the second graph. If the graphs are not isomorphic, then provide a clear reason. a)

Not Isomorphic. A _________ B _________ C _________ D _________ E _________ F _________ G _________ Some possible reasons: The left graph is bipartite, but the right is not. The right graph is planar, but the left is not. The left graph contains no cycles of size 3, but the right graph contains 2 cycles of size 3.

b)

Two possible solutions: A ____5____ B ____4____ C ____1____ D ____2____ E ____3____ F ____6____ A ____6____ B ____2____ C ____3____ D ____4____ E ____1____ F ____5____

3. Determine if the following graphs are bipartite. If so, provide the partitions. If not, provide a clear reason. a)

Yes bipartite. { a, c } and { b, d, e }

b)

Yes bipartite. { a, c, f, h, i, k } and { b, d, e, g, j, l }

You might also like