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

GATE 2005

203 questions

MCQ 2031-mark 203

Questions 36–40 of 203

Q36Discrete Mathematics1 markMCQ−0.33 if wrong
A line L in a circuit is said to have a stuck-at-0 fault if the line permanently has a logic value 0. Similarly a line L in a circuit is said to have a stuck-at-1 fault if the line permanently has a logic value 1. A circuit is said to have a multiple stuck-at fault if one or more lines have stuck at faults. The total number of distinct multiple stuck-at faults possible in a circuit with N lines is

Q37Discrete Mathematics1 markMCQ−0.33 if wrong
Let P(x) and Q(x) be arbitrary predicates. Which of the following statements is always TRUE?

Q38Discrete Mathematics1 markMCQ−0.33 if wrong
Let n=p2qn = p^{2}q, where p and q are distinct prime numbers. How many numbers m satisfy 1≤m≤n1 \leq m \leq n and gcd(m,n)=1?
Note that gcd(m,n) is the greatest common divisor of m and n.

Q39Discrete Mathematics1 markMCQ−0.33 if wrong
Let A be a set with n elements. Let C be a collection of distinct subsets of A such that for any two subsets S1S_1 and S2S_2 in C, either S1⊂S2S_1 \subset S_2 or S2⊂S1S_2\subset S_1. What is the maximum cardinality of C?

Q40Discrete Mathematics1 markMCQ−0.33 if wrong
An unbiased coin is tossed repeatedly until the outcome of two successive tosses is the same. Assuming that the trials are independent, the expected number of tosses is