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

GATE 2006

191 questions

MCQ 1911-mark 191

Questions 31–35 of 191

Q31Probability Theory1 markMCQ−0.33 if wrong
We are given a set X={x1,...,xn}X=\{x_{1},...,x_{n}\} where xi=2ix_{i}=2^{i}. A sample S⊆XS\subseteq X is drawn by selecting each xix_{i} independently with probability pi=12p_{i}=\frac{1}{2}. The expected value of the smallest number in sample S is:

Q32Discrete Mathematics1 markMCQ−0.33 if wrong
In the 4B/5B encoding scheme, every 4 bits of data are encoded in a 5-bit codeword.
It is required that the codewords have at most 1 leading and at most 1 trailing zero.
How many are such codewords possible?

Q33Discrete Mathematics1 markMCQ−0.33 if wrong
Consider the depth-first-search of an undirected graph with 3 vertices P, Q, and R. Let discovery time d(u) represent the time instant when the vertex u is first visited, and finish time f(u) represent the time instant when the vertex u is last visited. Given that
d(P)=5 units  f(P)=12 units d(Q)=6 units f(Q)=10 unitsd(R)=14 unitf(R)=18 units\begin{array}{l|l}\hline \text{$d(P) = 5$ units } & \text{ $f(P) = 12$ units } \\\hline \text{$d(Q) = 6$ units} & \text{ $f(Q) = 10$ units} \\\hline \text{$d(R) = 14$ unit} & \text{$f(R) = 18$ units} \\\hline \end{array}
Which one of the following statements is TRUE about the graph?

Q34Discrete Mathematics1 markMCQ−0.33 if wrong
Which of the following is the correct decomposition of the directed graph given below into its strongly connected components?
P Q V R T S U

Q35Discrete Mathematics1 markMCQ−0.33 if wrong
Consider the undirected graph G defined as follows. The vertices of G are bit strings of length n. We have an edge between vertex u and vertex v if and only if u and v differ in exactly one bit position (in other words, v can be obtained from u by flipping a single bit). The ratio of the chromatic number of G to the diameter of G is,