93 93 votes Given below are two finite state automata ( $\rightarrow$ indicates the start state and $F$ indicates a final state)$$\overset{Y}{\begin{array}{|l|l|l|}\hline \text{} & \textbf{a} & \textbf{b} \\\hline \text{$\rightarrow$ $1$} & \text{1} & \text{2} \\\hline \text{$2 (F)$} & \text{2} & \text{1} \\\hline \end{array}} \qquad \overset{Z}{\begin{array}{|l|l|l|}\hline \text{} & \textbf{a} & \textbf{b} \\\hline \text{$\rightarrow$ $1$} & \text{2} & \text{2} \\\hline \text{$2 (F)$} & \text{1} & \text{1} \\\hline \end{array}}$$Which of the following represents the product automaton $Z \times Y$?$$\begin{array}{|l|l|l|}\hline & a & b \\\hline \rightarrow P & S & R \\\hline Q & R & S \\\hline R(F) & Q & P \\\hline S & Q & P \\\hline \end{array}$$$$\begin{array}{|l|l|l|}\hline & a & b \\\hline \rightarrow P & S & Q \\\hline Q & R & S \\\hline R(F) & Q & P \\\hline S & P & Q \\\hline \end{array}$$$$\begin{array}{|l|l|l|}\hline & a & b \\\hline \rightarrow P & Q & S \\\hline Q & R & S \\\hline R(F) & Q & P \\\hline S & Q & P \\\hline \end{array}$$$$\begin{array}{|l|l|l|}\hline & a & b \\\hline \rightarrow P & S & Q \\\hline Q & S & R \\\hline R(F) & Q & P \\\hline S & Q & P \\\hline \end{array}$$ Theory of Computation gatecse-2008 normal theory-of-computation finite-automata wrong-choices + – Kathleen 26.5k views answer comment Share Follow Print See all 16 Comments 16 16 Comments reply Show 13 previous comments Taniii commented Aug 11 reply Follow flag it would be same Y x Z right? 0 0 replyShare Abhijith26093 commented 6 days ago reply Follow flag if you are confused just change the state name to 1' and 2' in one machine ...then also the answer is correct 0 0 replyShare Raj_Dev_Verma commented 3 days ago reply Follow flag Make Both FA and use product autometa Option A is correct 0 0 replyShare Please log in or register to add a comment.
Best answer 90 90 votes $$\begin{array}{|l|l|l|l|}\hline \textbf{} & \textbf{States} & \textbf{a} & \textbf{b} \\\hline \text{$\rightarrow$} & \textbf{11(P)} & 12 & 22 \\\hline \text{} & \textbf{12(S)} & 11 & 21 \\\hline \text{} & \textbf{21(Q)} & 22 & 12 \\\hline \textbf{(F)} & \textbf{22(R)} & 21 & 11 \\\hline \end{array}$$ $11$ is $P$ and $22$ is $R$ in choice. So, the answer should be (A) but in the row for $S$, it should be $P$ and $Q$ and not $Q$ and $P$. Arjun answered Dec 5, 2014 • edited Apr 15, 2019 by akash.dinkar12 Arjun comment Share Follow See all 28 Comments 28 28 Comments reply Show 25 previous comments Pratik_Harde commented Nov 10, 2024 reply Follow flag @Arjun sir, Could you plz clear that YxZ and ZxY are same or different? 0 0 replyShare Pranay_VG commented Jun 18, 2025 reply Follow flag 10 10 replyShare helloap09 commented Oct 30, 2025 reply Follow flag @Pranay_VG Got the same answer 0 0 replyShare Please log in or register to add a comment.
58 58 votes Correct answer is option A. New final state where finals of both FA's are together. Mostafize Mondal answered Oct 23, 2018 • edited Nov 1, 2018 by Mostafize Mondal Mostafize Mondal comment Share Follow See all 10 Comments 10 10 Comments reply Show 7 previous comments go_rajesh commented Nov 26, 2024 reply Follow flag I have the same question as above jeerujay : When we do Z x Y then from Z → a (it goes to state 2), From Y → a (it goes to state 1), from 11 by reading a, it as to go 21, but your transition goes to 12 how? let me know if I’m wrong. 1 1 replyShare razvardhan commented Dec 20, 2024 reply Follow flag how did you draw the transition diagram? 0 0 replyShare Manish_Gupta 1 commented Aug 18, 2025 reply Follow flag Approach is useful but but you have done opposite cross product! 0 0 replyShare Please log in or register to add a comment.
12 12 votes Another alternative to get the answer can be : Y represents strings with odd number of b {Nb(W) mod 2 = 1)} and Z represents odd number of strings {|W| mod 2 =1} If we take the product automata ZxY i.e. Odd number of String and Odd number of b in string which is nothing but "Strings with Odd no of b and Even no of a" Draw the mod m/c for this and pick the correct option i.e. A aayushranjan01 answered Nov 4, 2015 aayushranjan01 comment Share Follow See all 2 Comments 2 2 Comments reply krishn.jh commented Nov 18, 2018 reply Follow flag Yes this way we can check the correct option. 0 0 replyShare ananya_23 commented Aug 9, 2023 reply Follow flag @aayushranjan01 is automata Z accepting the string aaa? If yes, option a is not accepting aaa.. 0 0 replyShare Please log in or register to add a comment.
9 9 votes Refer this pdf i think you will get all concepts related cross product https://www.google.co.in/url?sa=t&source=web&rct=j&url=https://www.andrew.cmu.edu/user/ko/pdfs/lecture-3.pdf&ved=0ahUKEwjVofen6dnKAhUIbY4KHbzZALUQFggaMAA&usg=AFQjCNGzYD5ZB3il9wvu9ScUQ6vuX5u8Wg&sig2=XVbLlspxl22Zjd1yeew1Kg Parth Lathiya answered Feb 2, 2016 Parth Lathiya comment Share Follow See 1 comment 1 1 comment reply Ekta07_GATE commented Jun 29, 2019 reply Follow flag @Mostafize Mondal Bro you did Y X Z. But we have to perform Z X Y. But yeah we have to choose option A) ( last two rows are wrong-print mistake) 1 1 replyShare Please log in or register to add a comment.
0 0 votes Simplest possible method is by eliminating options.if we do cross product then it'll create new states. in Z initial state on b goes to 2 and initial stage of y on b goes to 2 in both qns 2 is final state. so in the final ZxY also it'll go to final state. final state of the answer is R and you can eliminate all options instantly here since except option a none of the other options are going to R (final state). thus Option A is correct answer.Check if this is correct for this qn @Arjun sir. Kesavan_guru_prasath answered Jun 25 Kesavan_guru_prasath comment Share Follow 0 reply Please log in or register to add a comment.