Retrieving academic index assets...
Makaut
HomePYQsTests
Pricing
Sign Up
Makaut

The premier academic archive for MAKAUT students, providing curated previous year questions, solutions, and official syllabus resources.

Get the Mobile App
GET IT ONGoogle Play
Download on theApp Store
Download from Indus App Store
Platform
  • Home
  • PYQs
  • Question Papers
  • Viva Questions
  • Important Questions
  • Syllabus
  • Academic Tools
  • Pricing
  • Blog
Guidelines
  • Disclaimer
  • Community Guidelines
Company
  • About
  • Contact
  • FAQ
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
  • Subscription Policy
© 2026 MAKAUT Study Dev Hub. All rights reserved.
Platform version: v1.0.0
Home/PYQs/Sem 4/Formal Language Automata Theory/2014
PCC-CS403Sem 4 • 2014 Exam
Full Marks: 70 • Time: 3 Hours

MAKAUT Formal Language Automata Theory 2014 Question Paper

Official theoretical question paper for Formal Language Automata Theory (PCC-CS403) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.

Download MAKAUT Formal Language Automata Theory 2014 Question Paper PDFView All PCC-CS403 Papers

AGroup A — Objective / Multiple Choice Questions

10 × 1 = 10 Marks
1(i)[1 Mark]

Consider the grammar S → aSAB / ε, A → bA / ε. The grammar generates the strings of the form a^i b^j for some i, j ≥ 0. What is the conditions of the values of i and j?

a) i = j
b) j ≤ 2i
c) j ≥ 2i
d) i ≤ j
1(ii)[1 Mark]

Let N be an NFA with n states and let M be the minimized DFA with m states recognizing the same language. Which of the following is NECESSARILY true?

a) m ≤ 2^n
b) n ≤ m
c) M has one accept state
d) m = 2^n
1(iii)[1 Mark]

Compatible pairs are obtained from

a) Merger Graph
b) Compatible Graph
c) Testing Table
d) Testing Graph
1(iv)[1 Mark]

The string 1101 does not belong to the set represented by

a) 110*(0+1)
b) 1(0+1)*101
c) (10)*(01)*(00+11)*
d) (00+(11)*01)*
1(v)[1 Mark]

Regular sets are closed under

a) Union
b) Concatenation
c) Kleene Closure
d) All of the above
1(vi)[1 Mark]

The intersection of CFL & RE is always

a) CFL
b) RE
c) CSL
d) CFL OR CSL
1(vii)[1 Mark]

Which of the following common in both CNF & GNF?

a) (NT) → (Single T) (String of NT)
b) (NT) → (Single of exactly two NT)
c) (NT) → (String of NT)
d) (NT) → (Single T)
1(viii)[1 Mark]

Consider the languages: L1 = {ww^R | w ∈ {0,1}^*}, L2 = {w#w^R | w ∈ {0,1}^*}, where # is a special symbol, L3 = {ww | w ∈ {0,1}^*}. Which one of the following is true?

a) L1 is a deterministic CFL
b) L2 is a deterministic CFL
c) L3 is a CFL, but not a deterministic CFL
d) L3 is a deterministic CFL
1(ix)[1 Mark]

Difference between Turing Machine & Two way FA is in

a) Input Tape
b) Read write head
c) Finite Control
d) All of the these
1(x)[1 Mark]

Which of the following statements is false?

a) The halting problem of Turing machine is undecidable.
b) Determining whether a context free grammar is ambiguous is undecidable.
c) Given two arbitrary context free grammars G1 and G2, It is undecidable whether L(G1) = L(G2).
d) Given two regular grammars G1 and G2, It is undecidable whether L(G1) = L(G2).

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2[5 Marks]

What do you mean by Right Invariant? Let R be an equivalence relation in {0}* with the following equivalence classes: [1]_R = {0}*, [0]_R = {0}*, [00]_R = {0}^2 ∪ {0}^3 ∪ {0}^4. Show that R is right invariant.

3[5 Marks]

Construct grammar of the following. a) Construct grammar for the language a^i b^n c^n, where 1+m = n b) all even integers up to 998.

4[5 Marks]

Define NFA. Construct equivalent DFA from the given NFA. | Present State | Next State | | |---|---|---| | | 0 | 1 | | → q0 | q0, q1 | q2 | | q1 | q2 | q1 | | (q2) | q1 | q2 |

5[5 Marks]

Design a two input two output sequence detector which generates an output '1' every time the sequence 1001 is detected. And for all other cases output '0' is generated. Overlapping sequences are also counted. [Denote State Graph, State Table and perform State assignment]

6[5 Marks]

Consider the machine show in the following table: | Present State | Next State | | |---|---|---| | | X=0 | X=1 | | A | A,1 | C,1 | | B | E,0 | B,1 | | C | D,0 | A,0 | | D | C,0 | B,0 | | E | B,1 | A,0 | Is this machine information lossless of finite order? If yes, find the order μ

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
7[15 Marks]

Find equivalent partitions and minimize the following Finite State Machine. | PS | NS, Z | | |---|---|---| | | x=0 | x=1 | | A | B,0 | H,1 | | B | C,0 | G,1 | | C | B,0 | E,1 | | D | F,1 | C,1 | | E | B,1 | C,1 | | F | B,1 | B,1 | | G | C,1 | B,1 | | H | C,1 | A,1 | Minimize the following incompletely specified machine. | PS | NS, Z | | | |---|---|---|---| | | 1 | I_2 | I_3 | | A | A,1 | D, | C, | | B | A, | D, | E, | | C | E,0 | A,1 | | | D | E, | A,1 | | | E | E,0 | | C, | 5+5+2+3

8[15 Marks]

Convert the following Mealy machine to equivalent Moore machine. | Present State | I/P=0 | | I/P=1 | | |---|---|---|---|---| | | Next State | O/P | Next State | O/P | | q0 | q1 | 1 | q2 | 1 | | q1 | q3 | 0 | q0 | 1 | | q2 | q4 | 0 | q3 | 1 | | q3 | q1 | 0 | q4 | 0 | | q4 | q2 | 1 | q4 | 0 |

9[15 Marks]

Using Pumping lemma prove that L = {a^i | i ≥ 1} is not regular. Construct Finite Automata equivalent to the Regular Expression L = ab(aa+bb)(a+b)*b. Find a reduced grammar equivalent to the grammar S → aAa, A → bBB, B → ab, C → aB. Convert the following grammar into GNF. S → AA / a, A → SS / b. Prove that Context Free Languages are not closed under intersection.

10[15 Marks]

Define PDA by giving a block diagram. What is the difference between DPDA and NPDA? Design a Non Deterministic Pushdown Automata for accepting the string L = {(Set of all palindromes over a,b)} by Empty stack. Construct an equivalent PDA for the following Context Free Grammar. S → aA, A → aABC / bB / a, C → c. Show an ID for the string aabbcc for the PDA generated.

11[15 Marks]

Design a Turing Machine which performs addition of two integers. Write short note on Multi Tape and Multi Head Turing Machine. Prove that the problem "A string w halts on a Turing Machine M" is undecidable.

← 2013 Question Paper2015 Question Paper →