Flat MCQ
Flat MCQ
(a) Q X Σ→Q
(b) Q X Σ→2Q
(c) Q X Σ→2n
(d) Q X Σ→Qn
(a) Q X Σ→Q
(b) Q X Σ→2Q
(c) Q X Σ→2n
(d) Q X Σ→Qn
An automaton in which output depends only on the states of the machine is called
c) Moore Machine
d) Mealy Machine
An automaton in which output depends only on the states as well as on the input at any
d) Mealy Machine
A) Union
B) Intersection
C) Complement
D) All of the above
A) Emptiness
B) Finiteness
C) Membership
D) All of the above
Answer: D) All of the above
A a) abc b) a c) ab d) bc
Let NFA has a finite number n of states, then DFA will have at most _______ states.
a) n b) 2n c) 2n d) n/2
a) All possible combinations of a’s and b’s b) Set of all strings ending with bb
c) Set of all string starting with a and ending with bb d) None of the above
(Є+00)* = _________
In mealy machine, the Output depends on present state and present input
a) 3 b) 4 c) 5 d) 6
language is a set of strings.
Definition of string
Definition of CFG
Two finite state machines are said to be equivalent if they recognize same set of strings
A grammar that produces more than one parse tree of a sentence is known as Ambiguous grammar
(R*S*)*= ___________
An automation is a _ _ _ _ _ _ _ _ _ _ _ _ _ device
Let maximum number of states in a DFA =128 .Then its equivalent NFA has….. states.
a. 5 b. 7 c. 8 d. 9 [B]
a. The output of the former depends on the present state and present input
d. The output of the former doesn't depends on the present state [B]