April / May 2025
Theory of Computation
Anna University
1 question papers available. Select an examination session to view its question paper.
Theory of Computation
Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.
Differentiate between D F A and NFA.
1 eligible source papersDesign a e-NFA for the set of strings consisting of zero or more a's followed by zero or more b's followed by zero or more c's.
1 eligible source papersWrite a regular expression that describes the rules for recognizing identifiers in the C programming language.
1 eligible source papersIf L and M are regular languages, prove that L-M is a regular language
1 eligible source papersShow that the grammar E -> E+E | E * E | (E) | id is ambiguous.
1 eligible source papersDefine Greibach Normal Form
1 eligible source papersDefine the language of a PDA acceptance by final state.
1 eligible source papersDefine a recursively enumerable language.
1 eligible source papersWhat are the actions performed in one move of a multi-tape Turing Machine?.
1 eligible source papersWhat is the undecidable problem? Give examples.
1 eligible source papersConvert the following NFA to a DFA. 0 i t Start
0 eligible source papersi) Convert the regular expression (01 +1 )* + 011 (0+1 )* to NFA with e-transitions (4) ii) Define pumping lemma for regular languages and prove the language L={0"1" | n>=0 } is not regular. (4) 0
0 eligible source papersConstruct the minimum-state automata equivalent to DFA given by transition table. 0 1 ^ A B F B G C *C A C D C G E H F F C G G G E H G C
0 eligible source papersProve that if L is a CFL and R is a regular language, then L fl R is a CFL.
1 eligible source papersWrite the steps to convert the CFG to PDA. Convert the following grammar to a PDA. S OAA, A -> OS I I S I 0
0 eligible source papersConvert the grammar S ^ A A | 0, A->SS | 1 to a GNF.
0 eligible source papersDesign a pushdown Automata for the language L = {ww^^l w is in {0,1}* }. Show the instantaneous description of the PDA for the string 1001.
0 eligible source papersDesign a deterministic PDA to accept the language L={ 0"1'^^"1"i | m, n >= 0} Show whether the input 001111 is accepted by your DPDA.
0 eligible source papersDesign a Turing machine for the language consisting of an equal number of O's and 1's. Give an instantaneous description for the string 1001.
0 eligible source papersProper subtraction m-n is defined by max(m-n,0), that is, the result is m-n if m>=n and 0 if m<n. Design a Turing machine to compute proper subtraction.
0 eligible source papersProve that If both language L and its complement are RE, then L is recursive.
1 eligible source papersBegin with the grammar S ASB | e, A aAS | a, B -> SbS | A | bb Eliminate e-productions, unit productions, any useless symbols, and put the resulting grammar into Chomsky Normal Form.
1 eligible source papersExplain the construction of an instance of Post's correspondence problem (PCP) from an instance of modified PCP (MPCP) with an example.
1 eligible source papersHistorical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.