FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download AKTU B-Tech 4th Sem 2017-18 RCS403 Theory Of Automata And Formal Languages Question Paper

Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU)) B-Tech 4th Semester (Fourth Semester) 2017-18 RCS403 Theory Of Automata And Formal Languages Question Paper

This post was last modified on 29 January 2020

AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University


Firstranker's choice

Printed Pages: 03

Paper Id: 110433

--- Content provided by​ FirstRanker.com ---

FirstRanker.com

Sub Code: RCS403

Roll No.

B. TECH

(SEM IV) THEORY EXAMINATION 2017-18

--- Content provided by‌ FirstRanker.com ---

THEORY OF AUTOMATA AND FORMAL LANGUAGES

Time: 3 Hours

Total Marks: 70

Note: Attempt all Sections. If require any missing data; then choose suitably.

SECTION A

  1. Attempt all questions in brief. 2 x 7 = 14

    --- Content provided by​ FirstRanker.com ---

    1. Define alphabet, string and language.
    2. Design a regular expression that accepts all the strings for input alphabet {a,b} containing exactly 2 a's.
    3. Design a NFA that accepts all the strings for input alphabet {a,b} containing the substring abba.
    4. Define Chomsky hierarchy.
    5. Is context free language closed under union? If yes, give an example.
    6. --- Content provided by FirstRanker.com ---

    7. Convert NFA into equivalent DFA by taking any suitable example.
    8. Remove useless productions from the given productions: S?AB|ab, A?aA|B|a, B?D|E

SECTION B

  1. Attempt any three of the following: 7 x 3 = 21

    1. Define Deterministic Finite Automata (DFA) and design a DFA that accepts the binary number whose equivalent is divisible by 5.
    2. --- Content provided by​ FirstRanker.com ---

    3. State recursive definition of regular expression and construct regularexpression corresponding to the state transition diagram as shown in Fig.1
    4. Reduce the given grammar G=({S,A,B},{a,b},P,S) to Chomsky Normal Form. Where P is defined as:
      S? bA | aB
      A? bAA | aS | a

      --- Content provided by​ FirstRanker.com ---

      B? aBB | bS | b
    5. What is Push Down Automata (PDA)? Design the PDA for the language L = {wcwR w? {a,b}*}
    6. Define Turing Machine (TM). Construct the TM for the language L = {anbn | n>0}.

SECTION C

  1. Attempt any one part of the following: 7x1=7

    --- Content provided by⁠ FirstRanker.com ---

    1. Describe Mealy and Moore machines with example. Convert the given Mealy machine as shown in Fig. 2 into Moore Machine.
    2. Construct the minimum state automata equivalent to DFA described by Fig. 3
  2. --- Content provided by FirstRanker.com ---

  3. Attempt any one part of the following: 7x1=7

    1. State Pumping Lemma for regular sets. Show that the set L= {ap | p is a prime} is not regular.
    2. Discuss closure properties i.e. concatenation, union, intersection, complement of regular languages.
  4. Attempt any one part of the following: 7x1=7

    --- Content provided by​ FirstRanker.com ---

    1. Discuss inherent ambiguity of context free languages with suitable example. Construct the context free grammar that accepts language L={aibjck| i = j or j = k; i, j, k are positive integers}.
    2. Define parse tree. Find parse tree for the string abbcde considering the productions-
      S?aAcBe
      A?Ab
      A?b

      --- Content provided by‌ FirstRanker.com ---

      B?d
      Is this ambiguous? Justify.
  5. Attempt any one part of the following: 7x1=7

    1. Differentiate between deterministic PDA (DPDA) and non-deterministic PDA (NPDA) with suitable example. Also discuss two stack PDA with example.
    2. --- Content provided by FirstRanker.com ---

    3. Construct a PDA equivalent to the following CFG productions:
      S?aAA, A?aS | bS|a
  6. Attempt any one part of the following: 7x1=7

    1. Write short notes on the following:
      1. Halting problem of Turing machine
      2. --- Content provided by⁠ FirstRanker.com ---

      3. Recursive Language
      4. Variants of Turing Machine
    2. Define Post's Correspondence Problem (PCP) and Modified PCP with its applications. Find any three PCP solutions of the lists x=(b,bab3,ba) and y=(b3,ba,a).
  7. --- Content provided by​ FirstRanker.com ---

FirstRanker.com



This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University

--- Content provided by‍ FirstRanker.com ---