GATE / CS ARCHIVE

GATE CSE 2008 / QUESTION 49

Product automaton transition-table discrepancy

Theory of Computation · Finite Automata · Full GATE CSE 2008 paper

GATE 2008, Q49 2 marks · MCQ
Report issue

Finite Automata

Question 49, GATE 2008: DFA Y has start 1, final 2, and transitions on (a,b): 1→(1,2), 2→(2,1). DFA Z has start 1, final 2: 1→(2,2), 2→(1,1). Which printed table is their intersection product Z×Y? In every offered table P is initial, R is the only final state, and each row below lists its (a,b) destinations.

(A) P:(S,R), Q:(R,S), R:(Q,P), S:(Q,P)
(B) P:(S,Q), Q:(R,S), R:(Q,P), S:(P,Q)
(C) P:(Q,S), Q:(R,S), R:(Q,P), S:(Q,P)
(D) P:(S,Q), Q:(S,R), R:(Q,P), S:(Q,P)
Tap to enlarge
Your answer
Answer & solution

Answer: None (no official key was published)

1. There is no correct option as printed. Let product states be P=(1,1), Q=(1,2), R=(2,2), S=(2,1), in (Z,Y) order. P is initial and R is the sole accepting state.
2. Applying both component transitions gives the rows (a,b): P=(S,R), Q=(R,S), R=(Q,P), S=(P,Q). Option A agrees in its first three rows but prints S=(Q,P), not (P,Q). Options B, C and D send the initial state on b to a nonfinal state, whereas b is accepted by both Y and Z and must be accepted by their intersection product.
3. Thus none represents the product, even after renaming. A would be correct if its final row were repaired. No official key is available to determine how the examination treated the printing defect.

Original paper, page 9