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

GATE 2008

185 questions

MCQ 1851-mark 52 · 2-mark 133

Questions 116–120 of 185

Q116Finite Automata2 marksMCQ−0.67 if wrong
Consider the following two finite automata. M1M_1 accepts L1L_1 and M2M_2 accepts L2L_2.
0 1 1 0 0,1 M1 1 1 0,1 0,1 M2

Which one of the following is TRUE?

Q117Finite Automata2 marksMCQ−0.67 if wrong
If the final states and non-final states in the DFA below are interchanged, then which of the following languages over the alphabet {a,b} will be accepted by the new DFA?
start b a a b a b

Q118Finite Automata1 markMCQ−0.33 if wrong
Let N be an NFA with n states and let M be the minimized DFA with m states recognizing the same language. Which of the following in NECESSARILY true?

Q119Finite Automata2 marksMCQ−0.67 if wrong
Match the following NFAs with the regular expressions they correspond to
P. 0 0 0 1 1 Q. 1 0 0 1 0 R. 1 1 0 1 0 S. 1 1 0 1 0
1. ϵ\epsilon + 0(01*1 + 00) * 01*
2. ϵ\epsilon + 0(10 *1 + 00) * 0
3. ϵ\epsilon + 0(10 *1 + 10) *1
4. ϵ\epsilon + 0(10 *1 + 10) *10 *

Q120Finite Automata2 marksMCQ−0.67 if wrong
Given below are two finite state automata (→\rightarrow indicates the start state and F indicates a final state)
Y: a b →1 1 2 2 (F) 2 1 Z: a b →1 2 2 2 (F) 1 1
Which of the following represents the product automaton ZxY?
(A) a b →P S R Q R S R (F) Q P S Q P (B) a b →P S Q Q R S R (F) Q P S P Q (C) a b →P Q S Q R S R (F) Q P S Q P (D) a b →P S Q Q S R R (F) Q P S Q P