cs402 Solved Mcqs Final Term by Junaid
cs402 Solved Mcqs Final Term by Junaid
CS402-Theory of
Automata
(Solved MCS’s)
LECTURE FROM
(23 to 45)
[email protected] FOR MORE VISIT JUNAID MALIK
[email protected]
VULMSHELP.COME 0304-1659294
37. Let A = {0, 1}. The number of possible strings of length „n‟ that
can be formed by the elements of the set A is
► n!
► n2
► nm
► 2n
38. Choose the correct statement.
► A Mealy machine generates no language as such
► A Moore machine generates no language as such
► A Mealy machine has no terminal state
► All of these
39. TM is more powerful than FSM because
► The tape movement is confined to one direction
► It has no finite state control
Productions
Terminals
Non-terminals (Page 87)
None of given
153. The grammatical rules are often called
Productions (Page 87)
Terminals
Non-terminals
None of given
154. The terminals are designated by _ letters, while the non-
terminals are designated by letters.
Capital, bold
Small, capital (Page 87)
Capital, small
Small, bold
155. The language generated by _ is called Context Free
Language (CFL).
FA
TG
CFG (Page 87)
TGT
156. S → aXb|bXa X → aX|bX|Λ The given CFG generates the
language in English _
Beginning and ending in different letters (Page 91)
Beginning and ending in same letter
Having even-even language
None of given
231. If the FA has N states, then test these words of length less than
N. If no word is accepted by this FA, then it will word/words
Accept no (Hand out Page # 85)
Accept some
Reject No
Accept All
291. If the FA has N states, then test these words of length less than
N. If no word is accepted by this FA, then it will word/words
Accept no (Hand out Page # 85)
Accept some
Reject No
Accept All