GATE 2000 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2000

54 questions

MCQ 541-mark 54

Questions 6–10 of 54

Q6Graph Theory1 markMCQ−0.33 if wrong
Let G be an undirected graph. Consider a depth-first traversal of G, and let T be the resulting depth-first search tree. Let u be a vertex in G and let v be the first new (unvisited) vertex visited after visiting u in the traversal. Which of the following statement is always true?

Q7Graph Theory1 markMCQ−0.33 if wrong
The most appropriate matching for the following pairs is:
X: depth first search1: heap Y: breadth first search2: queueZ: sorting3: stack\begin{array}{|l|l|}\hline \text{X: depth first search} & \text{1: heap } \\\hline \text{Y: breadth first search} & \text{2: queue} \\\hline \text{Z: sorting} & \text{3: stack} \\\hline \end{array}

Q8Combination1 markMCQ−0.33 if wrong
The minimum number of cards to be dealt from an arbitrarily shuffled deck of 52 cards to guarantee that three cards are from same suit is

Q9Probability Theory1 markMCQ−0.33 if wrong
E1E_{1} and E2E_{2} are events in a probability space satisfying the following constraints:
Pr(E1)=Pr(E2)Pr\left ( E_{1} \right ) = Pr\left ( E_{2} \right )
Pr(E1∪E2)=1Pr\left ( E_{1}\cup E_{2} \right ) = 1
E1E_{1} and E2E_{2} are independent The value of Pr\left ( E_{1} \right ), the probability of the event E_{1}, is

Q10Discrete Mathematics1 markMCQ−0.33 if wrong
Let G be an undirected graph. Consider a depth-first traversal of G, and let T be the resulting depth-first search tree. Let u be a vertex in G and let v be the first new (unvisited) vertex visited after visiting u in the traversal. Which of the following statement is always true?