Practice MCQ
Practice MCQ
The maximum number of transitions which can be performed over a state in a DFA
using Σ={a,b,c} ?
a)1
b)2
c)3
d) 4
Which among the following states would be notated as the final state/acceptance
state?
a. q1
b. q2
c. q1, q2
d. q3
Which of the following are the final states in the given DFA according to the
Language given ?
L= {xϵ∑= {a, b} |length of x is at most 2}
a. q0, q1
b. q0, q2
c.q1, q2
d. q0, q1, q2
NFA TO DFA
1. For the following NDFA, what would be the states in a corresponding DFA?
a. [q0]
b. [q0], [q1]
c. [q0], [q0, q1]
d. [q0], [q1], [q0, q1]
REGULAR EXPRESSIONS
a. b*aa*bb*
b. b*+b*aa*
c. b*+aa*+bb*
d. b*+b*aa*+b*aa*bb*
Regular Expression of This automata is
a. aa*
b. ba*
c. (a+b)*
d. aa*+ba*
Regular Expressions of Given Automata is
a. ab+ba
b. ba+ab*
c. (ab+ba)*
d. ab+a*b*a*
REGULAR GRAMMAR
ARDEN’S THEORAM
Recognize the regular expression corresponding to the following Finite Automata using
Arden’s Method Considering q1 is initial state:
a. (0 + 1)*
b. (1101)*
c. (0 + 11 + 010)*
d. 0*1*
a) |Input|+1
b) |Input|
c) |Input-1|
d) Cannot be predicted
Explanation:
Initial state, from which the operations begin is also initialized with a value.
6. Find output string for the input string 0111 from the following Moore Machine
a) 00010
b) 10110
c) 11111
d) 10101
FOLLOWING MEALY MACHINE REPRESENTS with Input Symbol {a,b} where output symbol is {N,A}
MINIMIZATION OF DFA
How many total number of states are left after minimization is done
a. 3
b. 4
c. 5
d. 6
How many total number of states are left after minimization is done
a. 3
b. 4
c. 5
d. 6