Home /
Expert Answers /
Computer Science /
consider-the-partially-complete-2pda-given-below-this-2pda-when-complete-should-recognise-the-l-pa311
(Solved):
Consider the partially complete 2PDA given below. This 2PDA, when complete, should recognise the l ...
Consider the partially complete 2PDA given below. This 2PDA, when complete, should recognise the language L as defined below: L={(aa)(b)n(a)n(b)n+1/n?0} (Assume that the alphabet is ?={a,b}.) (a) What is the purpose of the section of the 2PDA illustrated in box A? Explain your answer clearly. (3) (b) Complete the 2PDA by showing what should be included in Box B of the diagram. Note you should only draw that section of the 2PDA plus any other nodes that link to that section. (c) Could this language be recognised by a PDA? (4) Explain your answer. (3)