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/2015
PCC-CS403Sem 4 • 2015 Exam
Full Marks: 70 • Time: 3 Hours

MAKAUT Formal Language Automata Theory 2015 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 2015 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 are 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) (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 these
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 is common in both CNF & GNF?

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

Consider the languages: L₁ = {ww^R | w ∈ {0,1}*} L₂ = {ww^R | w ∈ {0,1}*}, where # is a special symbol L₃ = {ww | w ∈ {0,1}*} Which one of the following is true?

a) L₁ is a deterministic CFL
b) L₂ is a deterministic CFL
c) L₁ is a CFL, but not a deterministic CFL
d) L₃ 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 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 G₁ and G₂, it is undecidable whether L(G₁) = L(G₂)
d) given two regular grammars G₁ and G₂, it is undecidable whether L(G₁) ~ L(G₂)

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,1}* with the following equivalence classes: {1* = {0}} {0} = {01} {00} = {0} ∪ {01} ∪ {0}* Show that R is right invariant.

3[5 Marks]

Define NFA. Construct equivalent DFA from the given NFA. | Present State | Next State | |---------------|------------| | | 0 | 1 | | → q₀ | q₀, q₁ | q₁ | | q₁ | q₁ | q₁ | | q₂ | q₁ | q₁ |

4[5 Marks]

Design a two input two output sequence detector which generates an output '1' every time the sequence 1101 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].

5[5 Marks]

Construct a Push Down Automata equivalent to the following Context Free Grammar G = (Vn, Vt, P, S) with Vn = {S, E}, Vt = {0,1} and P is define transition follows: S → 0S1 · A A → 1A0 / S / ε Now check the string 001011 is acceptable by this Push Down Automata or not.

6[5 Marks]

(a) What is parse tree? (b) Consider the CFG S → aAb A → bBb / ε B → Aa Find the Parse tree for the string aabbababa.

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
7[15 Marks]

(a) A long sequence of pulses enters a synchronous sequential circuit, which is required to produce an output pulse z = 1 whenever the sequence 1001 occurs. Overlapping sequences are accepted. (i) Draw a state diagram (ii) Select an assignment and show the excitation and output tables. (b) Minimize the machine using equivalent partitioning | Present state | Next state, X = 0 | Next state, X = 1 | Output X = 1 | |---------------|-------------------|-------------------|--------------| | A | E, 0 | F, 0 | D, 1 | | B | F, 0 | E, 0 | D, 0 | | C | E, 0 | B, 1 | B, 0 | | D | F, 0 | F, 0 | B, 0 | | E | C, 0 | B, 0 | F, 1 | | F | B, 0 | B, 0 | C, 0 |

8[15 Marks]

(a) Define and compare Moore and Mealy machines. (b) Convert the following Mealy machines into Moore machine. ![](https://i.imgur.com/1234567.png)

9[15 Marks]

(a) Draw the merger graph. (b) Draw the merger table. (c) Draw the compatibility graph. (d) Find the minimal machine which covers that machine. | Present state | II | Next state | Out Put | |---------------|----|------------|---------| | A | 1 | E, 0 | B, 0 | | B | 1 | F, 0 | A, 0 | | C | 1 | E, - | C, 0 | | D | 1 | F, 1 | D, 0 | | E | 1 | C, 0 | C, 0 | | F | 1 | D, - | B, 0 |

10[15 Marks]

(a) Find the equivalence partition for the machine. (b) Show a standard form of the corresponding reduced machine and draw the state diagram. (c) Find a minimum length sequence that distinguishes state A from state B. | Present State | Next State, X = 0 | Next State, X = 1 | Output X = 1 | |---------------|-------------------|-------------------|--------------| | A | B, 1 | F, 1 | D, 1 | | B | F, 1 | F, 1 | D, 1 | | C | D, 0 | C, 1 | E, 1 | | D | C, 0 | D, 0 | C, 1 | | E | F, 1 | C, 1 | C, 1 | | F | C, 1 | C, 1 | D, 1 | | G | C, 1 | C, 1 | D, 1 | | H | C, 0 | C, 0 | A, 1 |

11[15 Marks]

(a) Define Turing machine. (b) Explain different types of Turing machine. (c) What is halting problem in Turing machine? (d) Design a Turing machine that accepts the language of all string which contain "aba" as a substring.

12[15 Marks]

(a) Consider the N.F.A given by the following diagram ![](https://i.imgur.com/7654321.png) Find the equivalent D.F.A without ε-transition.

← 2014 Question Paper2016 Question Paper →