GATE 2006
191 questions
MCQ 1911-mark 191
Questions 36–40 of 191
, n is not divisible by either 2, 3 or 5}
Answer: (B)
Let be the numbers in divisible by . We count these first, then subtract them from to get .
, ,
, ,
By inclusion-exclusion, the numbers divisible by or or :
holds the numbers that are in none of these sets, so
.
I.
II.
Answer: (C)
is the set of elements in exactly one of and .
Statement I:
The left picture, , shades the P-only, P and Q only, P and R only, and Q and R only regions (all except the centre). The right picture, , shades only the P-only and the Q and R only regions. The P and Q only region and the P and R only region are shaded on the left but not on the right, so I is false.
Statement II:
The left picture, , shades only the centre (P, Q and R together). The right picture, , shades the P-only, centre, R-only and Q and R only regions. They are not the same, so II is false.
Both statements are false.
Answer: (C)Answer: (A)
Now multiply both sides by and subtract this from the first equation:
The right side is now a GP, so:
This gives:
So the answer is option
,
The formula is
Answer: (B)
Satisfiable: take R as the empty relation, or . The formula holds in these models.
Not valid: take the domain and . Here is true but is false, so the formula fails.
The same model makes the negation true, so the negation is satisfiable too.
(A) is wrong because the formula is not valid. (C) is wrong because it is satisfiable. (D) is wrong because its negation is satisfiable.
Answer: (B)
Answer: (D)
All weights are positive. Suppose a minimum-weight subset that connects all vertices has a cycle. Remove one edge of that cycle. The vertices stay connected, because the rest of the cycle still joins the two ends of the removed edge. The total weight drops, since the edge weight is positive. This contradicts minimum weight, so the subset has no cycle.
A connected graph with no cycle is a tree. So the subset is a (minimum) spanning tree.
Other options: a Hamiltonian cycle is a cycle, so one edge can always be removed to lower the weight. Grid graphs and hypercube graphs also contain cycles (for example 4-cycles), so the same argument rules them out.
Answer: (D)