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 41–45 of 62
Which of the following represents the product automaton ZxY?
Answer: (A)
A state of the product ZxY is a pair (Z-state, Y-state). The start state is . A pair is final only when both machines are final, so only is final. Each entry is found by moving both machines on the same symbol. Name the pairs as in option A: .
For example, from on : Z goes and Y goes , giving .
From the start state P, the table sends to S and to the final state R. In B, C and D the move from P goes to Q, S and Q, which are all non-final, so they are wrong. Option A has the right start row and its rows for Q and R match the table. Its row for S reads Q, P where the table gives P, Q. This is a misprint in the paper's option A, but A is still the only option that fits.
Answer: (A)
Answer: (D)
Check each statement.
A is true. The subset construction turns any NFA into an equivalent DFA.
B is true. A deterministic Turing machine can simulate a non-deterministic one by trying all its computation paths in breadth-first order. It accepts exactly the same language.
C is true. Every regular language has a right-linear grammar, which is a context-free grammar, so regular languages are a subset of context-free languages.
D is false. The set of all strings is recursively enumerable (and even recursive). Its subset , the halting language, is not recursive. So a subset of an RE set need not be recursive. In general, every language is a subset of , and not every language is recursive.
Answer: (D)
The automation which recognizes the language L(P)L(Q) is :
Answer: (A)
From : a goes to , b goes to , c has no move.
From : a goes to , b goes to .
From : a goes to . On b, P goes to but has no b-move, so there is none.
From : c goes to . On a or b, P has no move.
This is the automaton drawn in (A). To make it a full DFA, add a dead state for the missing moves.
Answer: (A)
What language does this DFA recognize?
Answer: (D)
(Same DFA, redrawn with the state names .)
Matching with the given DFA: (x even, y even), (x odd, y even), (x even, y odd) and (x odd, y odd). Check: goes to on x and to on y; goes to on y; goes to on x.
The final states are and , so exactly one of the two counts is odd. The language is: even number of x and odd number of y, or odd number of x and even number of y.
(A) is wrong, since the empty string ends in , which is not final. (B) describes and , which are not final. (C) is wrong, since xy has one x and one y but ends in .
Answer: (D)
The minimum state automaton equivalent to the above FSA has the following number of states
Answer: (B)
Step 2: and are both final. On a each goes to the other, and on b each stays in itself, so from either one every string leads only to states in , all of which are final. No string tells them apart, so merge them. is not final, so it cannot be merged with them.
In the figure below, q0 is and q1 is the merged state .
The same 2-state automaton again, redrawn:
The minimum automaton has 2 states.
Answer: (B)
Keep practising