Assignment on JAVA
Assignment on JAVA
Assignment [Module4]
Q.1: Find the maximum number of vertices in a simple graph with 10 edges
where degree of each vertex is at least 3.
Q.2: Check whether a simple graph exits for the given degree sequences or
not
a) 6 5 5 4 3 3 2 2 2
b) 6 6 6 6 4 3 3 0
c) 4,4,3,3,2,2
d) 5,3,3,3,2,2,1,1
Q.3: Find the number of simple graphs possible with 6 vertices and 5 edges.
Q.5: Observe the given sequences and predict the nature of walk in each case-
Q.6: Prove the following for planar Graph:
(a) If G is a connected planar graph with V vertices, E edges and r regions,
then the number r of the regions of G is given b r =E−V +2 .
(b) If G is a planar graph, with v ≥ 3, then e ≤ 3 p ─ 6 .
(c) if G is a bipartite (Cycle of length 3 is not possible), then we have e ≤ 2 v ─ 4.
Q.7: Find which of the following graphs are Euler, semi Euler graphs.
a)
b)
c)
Q.11 Justify, whether the following graph G1 and G2 is Euler Graph? If yes
write the sequence of Eulerian circuit.
Q12. Find the minimum spanning tree of the given graph using Kruskal
Algorithm. Also find the total cost of the minimum spanning tree.
***************************************************