GATE 2009
66 questions
MCQ 661-mark 24 · 2-mark 42
Questions 16–20 of 66
What is the chromatic number of an n-vertex simple connected graph which does not contain any odd length cycle? Assume n2.
Answer: (A)
A graph with no odd cycle is bipartite. Reason: pick any vertex as the root of the connected graph and give each vertex colour 1 if its distance from the root is even, colour 2 if odd. An edge joining two vertices of the same colour would close an odd-length cycle with the paths back to the root, which is not allowed. So this 2-colouring is proper, and the chromatic number is at most 2.
A connected graph with vertices has at least one edge, and the two ends of an edge need different colours. So the chromatic number is at least 2.
So it is exactly 2, whatever n is. Options (B), (C) and (D) are larger than needed. For example, needs n colours, but it has odd cycles when .
Answer: (A)
A connected graph with vertices has at least one edge, and the two ends of an edge need different colours. So the chromatic number is at least 2.
So it is exactly 2, whatever n is. Options (B), (C) and (D) are larger than needed. For example, needs n colours, but it has odd cycles when .
Answer: (A)
Which one of the following in NOT necessarily a property of a Group?
Answer: (A)
- Groupoid: it has the closure property only.
- Semigroup: it has closure and associativity.
- Monoid: it has closure, associativity and identity.
- Group: it has closure, associativity, identity and inverse.
- Abelian group: it has all the group properties plus commutativity.
So, the answer is A.
The binary operation is defined as follows
Which one of the following is equivalent to ?
Which one of the following is equivalent to ?
Answer: (B)
From the table, is false only when P is false and Q is true. So it is , which is .
Put each option into this rule (the first input stays, the second is negated):
(A)
(B)
(C)
(D)
Only (B) equals .
Answer: (B)
Put each option into this rule (the first input stays, the second is negated):
(A)
(B)
(C)
(D)
Only (B) equals .
Answer: (B)
What is the minimum number of gates required to implement the Boolean function (AB+C) if we have to use only 2-input NOR gates?
Answer: (B)
The function we are given is:
Rewrite it as:
Now write it using NOR form:
So we need NOR gates.
Correct Answer:
is equivalent to
Answer: (B)
Convert octal to binary, 3 bits per digit: .
Regroup the bits in 4s from the right: , which is hex digits .
So .
Check in decimal: and .
Answer: (B)
Regroup the bits in 4s from the right: , which is hex digits .
So .
Check in decimal: and .
Answer: (B)