GATE 2008
185 questions
MCQ 1851-mark 52 · 2-mark 133
Questions 36–40 of 185
Answer: (B)
The chromatic number is the least number of colors that can color the vertices so that no two adjacent vertices get the same color.
At least 3: the grid edges alone form a bipartite graph, but the extra curved edge joins the top-left corner and the bottom-right corner. Take the path top-left, top-middle, top-right, middle-right, bottom-right (length ) and close it with the curved edge. This is a cycle of vertices. An odd cycle cannot be colored with colors, so at least are needed.
3 are enough: the figure above shows a valid coloring with colors, with no edge joining two vertices of the same shade.
Answer: (B)
.
What is ?
Answer: (B)
and
Answer: (B)
I.
II.
III.
IV.
Answer: (B)
I and II. By De Morgan's law, . So II is the same as I.
III. The first two terms combine: (distributive law).
So III . This matches I.
IV. The first two terms again give , so IV . This is not : for false and true, I is false but IV is true.
So I, II and III are equivalent and IV is not.
Answer: (B)
Each finite state automaton has an equivalent pushdown automaton
Answer: (A)
Two things to notice. "For all x" is restricted to FSAs by an implication (). The "there is y" part uses a conjunction (), because we need y to be a PDA and to be equivalent to x.
(A) has this form: on the left of , and on the right. Its brackets are written loosely (the sits only around ), but it is the only option with the right shape.
(B) is . It only says that the statement "if an FSA exists, then every y is a PDA equivalent to x" fails for some y. That does not say that each FSA has its own PDA.
(C) has inside a conjunction under , so it says every x is an FSA.
(D) swaps the roles: it makes x the PDA and y the FSA.
Answer: (A)
Answer: (C)
We need the chance that she studies cs on Wednesday.
Required probability:
The answer is option C.