Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2. The regular expression for the language recognized by the finite state
automaton of figure is __________
0 1
0,1
1 0
A B C
GATE 2006 (IT)
12. Which regular expression best describes the language accepted by the non-
deterministic automaton below?
a.b
a a.b b
s s s t
15. Which one of the regular expressions given below defines the same language
as defined by the regular expression R?
(A) a ba b ab a b
a s1
a
s3
a
(B) a ba b ab a b
s0 b a b a
a ba a bb b ab b aa a b
b s2 s4
(C)
b
b
(D) a ba a bb b ab b aa a b
GATE 2007
Common Data for Questions: 16 & 17
Consider the following Finite State Automaton:
16. The language accepted by this automaton is given by the regular
q
expression
3
(C) b* a a b
*
a q2 b
q0 q1
a
(D) b*ab*ab* a
17. The minimum state automaton equivalent to the above FSA has the following
number of states
(A) 1 (B) 2
(C) 3 (D) 4
GATE 2008 part A
Which of the following correctly represents the regular expression for the given NFA?
(A) 0 01 * 1 00 * 01 * 1
(B) 0 10 * 1 00 * 0 1
0
(C) 0 10 * 1 10 * 1 0
(D) 0 10 * 1 10 * 10 * 0
GATE 2008 part B
Which of the following correctly represents the regular expression for the given NFA?
(A) 0 01 * 1 00 * 01 * 1
(B) 0 10 * 1 00 * 0
0
0 10 * 1 10 * 1
1
(C) 0
(D) 0 10 * 1 10 * 10 * 0
GATE 2008 part c
Which of the following correctly represents the regular expression for the given NFA?
0 01 * 1 00 * 01 *
1
(A)
(B) 0 10 * 1 00 * 0 0
1
(C) 0 10 * 1 10 * 1 0
0 10 * 1 10 * 10 *
1
(D)
GATE 2008 part c
Which of the following correctly represents the regular expression for the given NFA?
0 01 * 1 00 * 01 *
1
(A)
(B) 0 10 * 1 00 * 0 0
1
(C) 0 10 * 1 10 * 1
0 10 * 1 10 * 10 *
0 1
(D)
GATE 2008 (IT)
20. 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
b a
the new DFA?
a b
(A) Set of all strings that do not end with ab
(B) Set of all strings that begin with either an a or a b a
b
(C) Set of all strings that do not contain the substring ab
(D) The set described by the regular expression b*aa*(ba)*b*
GATE 2009
21. Which one of the following languages over the alphabet {0,1} is described by
the regular expression: (0+1)*0(0+1)*0(0+1)*?
(A) The set of all strings containing the substring 00.
(B) The set of all strings containing at most two 0’s.
(C) The set of all strings containing at least two 0’s.
(D) The set of all strings that begin and end with either 0 or 1.
GATE 2014
25. Which of the regular expressions given below represent the following DFA?
0 0 1