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

GATE 2003

107 questions

MCQ 1071-mark 107

Questions 26–30 of 107

Q26Discrete Mathematics1 markMCQ−0.33 if wrong
A program consists of two modules executed sequentially. Let f1(t) and f2(t) respectively denote the probability density functions of time taken to execute the two modules. The probability density function of the overall time taken to execute the program is given by

Q27Discrete Mathematics1 markMCQ−0.33 if wrong
A graph G = (V, E) satisfies |E| ≤\leq3|V|-6. The min-degree of G is defined as minv∈V{degree(v)}\underset{v \in V}{min}\{degree(v)\}.
Therefore, min-degree of G cannot be

Q28Discrete Mathematics1 markMCQ−0.33 if wrong
Let Σ\Sigma = {a, b, c, d, e} be an alphabet. We define an encoding scheme as follows : g(a) = 3, g(b) = 5, g(c) = 7, g(d) = 9, g(e) = 11.
Let pip_{i} denote the i-th prime number (p1p_{1}=2).
For a non-empty string s=a1...ans=a_{1}...a_{n}, where each ai∈Σa_{i} \in \Sigma, define f(s)=∏i=1npig(ai)f(s)=\prod_{i=1}^{n}{p_{i}}^{g(a_{i})}.
For a non-empty sequence <s1,...,sn>\lt s_{1},...,s_{n} \gt of strings from Σ+\Sigma^{+},
define h(<s1...sn>)=∏i=1npif(si)h(\lt s_{1}...s_{n} \gt)=\prod_{i=1}^{n}{p_{i}}^{f(s_{i})}
Which of the following numbers is the encoding, h, of a non-empty sequence of strings?

Q29Discrete Mathematics1 markMCQ−0.33 if wrong
Let f : A→\rightarrowB be an injective (one-to-one) function.

Define g:2A→2Bg:2^{A}\rightarrow 2^{B} as:

g(C) = {f (x)| x ∈\in C}, for all subsets C of A.

Define h:2B→2Ah:2^{B}\rightarrow 2^{A} as :

h(D) = {x | x ∈\in A, f (x) ∈\in D}, for all subsets D of B.

Which of the following statements is always true?

Q30Discrete Mathematics1 markMCQ−0.33 if wrong
How many perfect matching are there in a complete graph of 6 vertices?