All mock tests are FREE till 31 December — register to save your progress
Paper 2 CS · UNIT 01 · MOCK TEST

Mock 9 – Graph Theory (Part 2)

Unit 1: Discrete Structures and Optimisation · 18 questions · about 21 minutes. Press End Mock any time to see your score and the correct answers.

All 14 topic-wise mocks in this unit
0 / 18 answered 00:00
Q1. Consider the following 3 processes, with the length of the CPU burst time given in milliseconds:
ProcessArrival TimeBurst Time
P108
P214
P329
What is the average waiting time for these processes if they are scheduled using the preemptive shortest-job-first (shortest-remaining-time-first) scheduling algorithm?
Q2.

Arrange the following graphs in increasing order of number of edges (for n > 3): A. Kₙ (complete graph), B. Cₙ (cycle graph), C. Wₙ (wheel graph), D. Kₙ,ₙ (complete bipartite graph), E. Qₙ (n-cube graph).

Q3.

Which of the following Graph is/are planer?

Figure

Choose the most appropriate answer from the options given below:

Q4.

A graph G with number of vertices greater and equal than three i.e. (n ≥ 3) is a Hamiltonian graph, if the degree of each vertex is greater and equal to . . . .

Q5.

Arrange the following simple graphs based on a number of spanning trees they have :

A. K [Complete Graph with 3 nodes] 3 B.K [Complete Graph with 4 nodes] 4 C.K (Complete bipartite graph of the 2 nodes 2,2 in each partition) D.C (Cycle graph of 5 nodes) 5

Q6.

Which of the following graphs are trees? (see figure)

Figure
Q7.

Consider the Graph below:

Figure

How many spanning trees can be found?

Q8.

Match the List-I and List-II

Figure
Q9.

For which value of n is the wheel graph Wₙ regular?

Q10.

Which of the following Graphs is(are) planar?

Figure
Q11.

Given below are two statements

Statement I: In an undirected graph, number of odd degree vertices is even.

Statement II: In an undirected graph, sum of degrees of all vertices is even. In light of the above statements, choose the correct answer from the options given below.

Q12.

Consider the following statements:

(A) Any tree is 2-colorable

(B) A graph G has no cycles of even length if it is bipartite.

(C) A graph G is 2-colorable if it is bipartite.

(D) A graph G can be colored with d+1 colors if d is the maximum degree of any vertex in the graph G.

(E) A graph G can be colored with O(log∣v∣) colors if it has O(∣v∣) edges.

Q13.

A tree has 2 n vertices of degree 1,3 n vertices of degree 2, n vertices of degree 3 . Determine the number of vertices and edges in tree.

Q14.

A clique in an undirected graph is a V ′ ⊆ V subset of vertices, such that u, v) ∈ E u ∈ V ′ v ∈ V ′

Q15.

Suppose that a connected planar graph has six vertices, each of degree four. Into how many regions is the plane divided by a planar representation of this graph?

Q16.

For which values of and does the complete k bipartite graph m,n have a Hamilton circuit?

Q17.

Consider the Euler's phi function given by ϕ(n) = n ∏ (1 − 1 ) p p n where runs over all the primes dividing . What ϕ(45) is the value of ?

Q18.

If a graph G has no loops or parallel edges and has n ≥ 3 vertices, then G is Hamiltonian if

(i) deg(v) ≥ n/3 for each vertex v

(ii) deg(v) + deg(w) ≥ n whenever v and w are not connected by an edge

(iii) |E(G)| ≥ (1/3)(n − 1)(n − 2) + 2