Finite Automata · Theory of Computation
62 questions · asked in 27 of 27 years (2000–2026)
MCQ 45 · MSQ 5 · NAT 121-mark 34 · 2-mark 28
Questions 46–50 of 62
The language accepted by this automaton is given by the regular expression
Answer: (C)
So the language is: any number of b's, then an a, then any string, which is .
(A) and (D) need at least three or two a's, but a alone is accepted. (B) includes and b, which are rejected.
Answer: (C)
Answer: (A)
Track the pair (, ). It has values, and each is reachable (for example by ). A DFA that moves between these pairs on each input symbol accepts L, with as the start and only final state. So 15 states are enough.
None can be merged. Take two different pairs and . Append the string . The first pair becomes and is accepted. The second becomes , which is not , so it is rejected. So all 15 states are pairwise distinguishable, and by the Myhill-Nerode theorem the minimum is 15.
Answer: (A)
Answer: (A)
State table from the diagram:
Reading from the table above:
Correct Answer:
Consider the strings . Which of the following statements is true?
Answer: (D)
Call the unlabelled bottom state . The transitions are: from , and ; from , and ; from , and . A string is accepted if it ends in .
, so u is accepted.
, so v is rejected.
, so w is rejected.
So the automaton accepts u but rejects v and w.
Answer: (D)
Answer: (D)
Strings of are made of blocks of 3 and 5 ones, so the lengths in L are . The lengths not in L are only .
Lengths 8, 9 and 10 are in L, and adding a block of keeps a length in L, so every length from 8 onward is in L. The DFA counts the length up to 8 and then stays in state 8:
Final states are 0, 3, 5, 6, 8 (5 states) and non-final states are 1, 2, 4, 7 (4 states). The total is 9.
Fewer states are not possible. From state (for ), the longest suffix that is rejected has , since length 7 is the largest length outside L. These values differ for different , so states 0 to 7 are pairwise distinguishable. State 8 rejects no suffix, so it differs from all of them. So the minimum is 9 states.
Answer: (D)
Keep practising