GATE 2005
203 questions
MCQ 2031-mark 203
Questions 36–40 of 203
Answer: (B)
The answer is .
Explanation:
Count all the combinations. A line can have a fault in ways, that is, stuck at or stuck at . Or it can have no fault. So each line has only possible states. For all the lines, the number of combinations is .
In just one combination, every line is correct (no line has a fault).
So the count is , because a circuit has a multiple stuck-at fault only if one or more lines are at fault.
Answer: (B)
The others fail in a domain with two elements :
(A) Let P be true only at and Q true only at . Then holds everywhere, but neither nor is true.
(C) Let . Then is false, so is true. But is false, so is false.
(D) With the same values, and are both false, so their biconditional is true. But is false at both elements, so is false.
Answer: (B)
Note that gcd(m,n) is the greatest common divisor of m and n.
Answer: (D)
We need the count of in with , that is . Since , exactly when is a multiple of or of . Count these by inclusion-exclusion, for from to :
multiples of :
multiples of :
multiples of :
So the numbers with :
This agrees with .
Answer: (D)Answer: (B)
The subsets in are distinct and any two are nested, so for two of them one is a proper subset of the other. A proper subset has fewer elements. So two subsets of the same size cannot both be in (they are distinct and neither contains the other). So has at most one subset of each size.
The sizes possible are , which is sizes, so .
This can be reached with a chain. For take , which has sets. In general, add one element at a time, from up to .
Answer: (B)Answer: (A)
The tosses stop at toss when toss equals toss and no earlier pair was equal. So tosses must alternate (H T H ... or T H T ...), which has choices, and toss is then fixed. So of the equally likely outcomes of tosses end the game at toss . The tree shows these as the circled ends.
With probability on each branch:
Here for , which comes from differentiating the geometric series and multiplying by . Putting :
The same tree method works for other waiting problems. For the first H T (second tree), the game ends at toss in ways, so and at .
For the first H H (third tree), the number of ways to end at toss follows the Fibonacci numbers , and the expected number of tosses is .
Answer: (A)