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 PTU B.Tech 2021 Jan IT 5th Sem 78256 Formal Language And Automata Theory Question Paper

Download PTU (Punjab Technical University) B.Tech (Bachelor of Technology) / BE (Bachelor of Engineering) 2021 January IT 5th Sem 78256 Formal Language And Automata Theory Previous Question Paper

This post was last modified on 26 June 2021

This download link is referred from the post: PTU B.Tech 5th Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University


FirstRanker.com

B.Tech. (IT) (Sem.-5)

FORMAL LANGUAGE & AUTOMATA THEORY

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

Subject Code : BTIT-501-18

M.Code : 78256

Time : 3 Hrs. Max. Marks : 60

INSTRUCTION TO CANDIDATES :

  1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
  2. --- Content provided by FirstRanker.com ---

  3. SECTION-B contains FIVE questions carrying FIVE marks each and students has to attempt any FOUR questions.
  4. SECTION-C contains THREE questions carrying TEN marks each and students has to attempt any TWO questions.

SECTION-A

Answer briefly :

  1. Define Finite Automaton.
  2. --- Content provided by FirstRanker.com ---

  3. What are various properties of transition function?
  4. Define grammar and language.
  5. Differentiate between left and right context in languages.
  6. Define yield in CFG.
  7. Define ambiguity in CFG.
  8. --- Content provided by FirstRanker.com ---

  9. Define TM.
  10. Define the term acceptability in PDA.
  11. Give instantaneous description of Turing machine.
  12. Differentiate between DFA and NDFA.

SECTION-B

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

  1. Write a note on canonical derivations.
  2. Discuss the formal properties of LL(k) and LR(k) grammars.
  3. Explain the concept of ambiguity with the help of example.
  4. Construct a Moore machine equivalent to the Mealy machine M defined by following table :
Present State Next State
a=0 a=1
State State Output State Output
q1 q2 1 q4 0
q2 q4 1 q4 1
q3 q1 1 q6 1
q4 q3 0 q1 1
  1. Find a reduced grammar equivalent to the given grammar.

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

    S → AB A → a B → b B → C E → c

SECTION-C

  1. Write a note on cellular automaton and rewriting systems.
  2. Design PDA for {ambn | m > n}
  3. Design Turing machine of {0n1n | n >= 1}
  4. --- Content provided by FirstRanker.com ---

NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any page of Answer Sheet will lead to UMC against the Student.

FirstRanker.com



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

This download link is referred from the post: PTU B.Tech 5th Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University