MCASemester 22024-25Theory Of Automata Formal LanguagesKCA201

Theory Of Automata Formal Languages (KCA201) - AKTU Question Paper 2024-25

MCA · Semester 2 · Free PDF Download

This is the official AKTU Theory Of Automata Formal Languages Previous Year Question Paper for MCA Semester 2, academic session 2024-25. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.

Course:MCA
Semester:Semester 2
Session:2024-25
University:AKTU / UPTU

Rate this paper

Questions Asked in 2024-25

Theory Of Automata Formal Languages (KCA201) — complete question paper · 100 marks · 3 Hours

Section AAttempt all parts in brief. 2 x 10 = 20
  • a
    Design a NFA for the language L ={ All strings over {0,1} that have at least two
    consecutive 0’s or 1’s.}
  • b
    What is  -closure of finite automata?
  • c
    Differentiate between Mealy and Moore machine
  • d
    Let G be the given grammar : Produce left most derivation for string 00110101
  • e
    Explain Halting problem of Turing Machine
  • f
    What areType-0 and Type-1 languages according to Chomsky Hierarchy
  • h
    Design a FA to accept the string that always ends with110. i. What is pumping lemma for regular languages? j. What are the differences between DFA and NDFA?
Section BAttempt any three parts ofthefollowing: 10 x 3 = 30
  • a
    Construct a minimum state DFA from givenFA
  • b
    (i) Design a DFA which accepts the strings over { 0 , 1}*in which every 00 is followed immediately by a 1. (ii) Consider the below given transition table for NFA
  • a
    b c
    Q0 { Q 0}     {Q1}
    Q1   {Q2}   {Q2}
    Draw the transition diagram of NFA with null transition from above table.
    Convert this NFA to DFA
  • c
    Give the formal definition of Push Down Automata. Design a PDA for the
    following language: L = { wcwR : w is set of all strings over a and b }
  • d
    (i)Eliminate useless grammar symbols from the below given grammar : S → aC| SB A → bSCa B→ aSB | bBC C→ aBC | ad (ii) Reduce the below given grammar production rules into Chomsky Normal Form : S → bA | aB A → bAA | aS | a B→ aBB | bS| b
  • e
    Define Turing machine mathematically. Illustrate variants of Turing Machines
Section CAttempt any one part ofthefollowing: 10 x 1 = 10
  • a
    Apply Arden’s theorem to find the regular expression corresponding to the finite
    automata givenbellow:
    (b). (i) Construct a Moore machine that take set of all strings over Alp habet {0, 1} as
    input and produce 'A' as output if input end with (10) or produce 'B' as output if input end
    with (11) otherwise produce 'C'.
                               (ii) Write the regular expression for L={ anbm:( n + m)  iseven }
  • a
    Using Pumping Lemma theorem , prove that the following language L = {anban} is notregular
  • b
    Explain the Closure properties of regularlanguages
  • a
    (i) Design the CFG for the following languages
    L = { anb2n cm :n , m >=0 }
                             (ii) What are ambiguous grammars? Identify whether the following grammar rules are
                                   ambiguous or not :
    S →  a | abSb | aAb
                                                                A → bS | aAAb
  • b
    Using Pumping Lemma theorem for context free languages , prove that the following language L = {anbncn} is not ContextFree
  • a
    Design a two stack PDA for following language L ={anbncndn : n >=1}
  • b
    For the given CFG create equivalent PDA that accepts same language they generate. Give the steps of instantaneous description to show acceptance of string w = baaab Using obtained PDA
  • a
    Design a TM for the following language L = { anbn| n≥1}
    Design a Turing machine which accepts the language L ={ w(a ,b)* : w has
    equal number of a’s and b’s }
  • b
    (i) Let for  ={0 ,1 } , X and Y are lists of three strings each given as below :
                X ={ 1 , 10111 , 10}                 Y ={111 ,10 , 0}
             Show that 101111110 is a solution for Post Correspondence Problem.
    (ii) Write short noteson the following:
    I. Recursive Language and Recursively EnumerableLanguage.
    II. Linear Bounded Automata

Question text is extracted from the official AKTU question paper PDF above. Hindi translations are omitted — every question is printed in English in the original paper. Last verified: 2026-08-23.

Repeated Questions — KCA201

Questions that appeared in more than one session, found by comparing 4 years of Theory Of Automata Formal Languages papers (2021-22, 2022-23, 2023-24, 2024-25)

2x

Explain the Closure properties of regularlanguages

Appeared in: 2023-24 · 2024-25

Theory Of Automata Formal Languages — Other Year Papers

AKTU Theory Of Automata Formal Languages PYQs from other sessions