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

MAKAUT Formal Language Automata Theory 2017 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 2017 Question Paper PDFView All PCC-CS403 Papers

AGroup A — Objective / Multiple Choice Questions

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

Regular grammar is

a) context free grammar
b) context sensitive grammar
c) non-context grammar
d) none of these.
1(ii)[1 Mark]

In Moore machine, output is associated with

a) present state only
b) next state only
c) present state and input
d) none of these.
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 expression is accepted by

a) Finite automata
b) Mealy machine
c) Pushdown automata
d) all of these.
1(vi)[1 Mark]

If P and Q are regular expression (P is not null), then R = Q + RP has the unique solution

a) R = Q * P
b) R = PQ*
c) R = Q * P *
d) R = QP*.
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ᴿ | w ∈ {0,1}*} L₂ = {w#wᴿ | 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 wire 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 unit production? Remove unit productions from the grammar S → AB, A → a, B → C, C → D, D → b.

3[5 Marks]

Construct grammar of the following: a) For the language aⁿbⁿ, where n > 0. 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 | | → q₀ | q₀, q₁ | q₂ | | q₁ | q₂ | q₁ | | q₂ | q₁ | q₂ |

5[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.

6[5 Marks]

Define Left Linear and Right linear grammar. Construct grammar for the following FA: ![FA Diagram](image link not included in text)

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
7[15 Marks]

State and prove Arden's theorem in regular expression. Minimize the following incompletely specified machine: | PS | I₁ | I₂ | I₃ | |---|---|---|---| | A | A, 1 | D, _ | C, _ | | B | A, _ | D, _ | E, _ | | C | E, 0 | A, 1 | _, _ | | D | E, _ | A, 1 | _, _ | | E | E, 0 | _, _ | C, _ |

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 | | → q₀ | q₁ | 1 | q₂ | 1 | | q₁ | q₃ | 0 | q₀ | 1 | | q₂ | q₄ | 0 | q₃ | 1 | | q₃ | q₁ | 0 | q₄ | 0 | | q₄ | q₂ | 1 | q₄ | 0 | Using Pumping lemma prove that L = {aⁿbⁿ | n ≥ 1} is not regular. Construct Finite Automata equivalent to the Regular Expression L = ab(a+b)(ab)*b.

9[15 Marks]

Find a reduced grammar equivalent to the grammar: S → aAa A → bBB B → ab C → aB Convert the following grammar into GNF. S → SS/a A → SS/b Prove that Context Free Languages are not closed under intersection.

10[15 Marks]

Define PDA by giving a block diagram. Explain how a string be accepted by a PDA? Design a non-Deterministic Pushdown Automata for accepting the string L = {WCWᴿ | W ∈ (a,b)* and Wᴿ is the reverse of Wb Empty stack. Construct an equivalent 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 accepts the language L = {aⁿbⁿ, n ≥ 1}. Write a short note on Multi-Tape and Multi Head Turing Machine.

← 2016 Question Paper2023 Question Paper →