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 CSE 7th Sem 71894 Theory Of Computation Question Paper

Download PTU (Punjab Technical University) B.Tech (Bachelor of Technology) / BE (Bachelor of Engineering) 2021 January CSE 7th Sem 71894 Theory Of Computation Previous Question Paper

This post was last modified on 26 June 2021

PTU B.Tech 2021 January Previous Question Papers || PTU Punjab Technical University


www.FirstRanker.com www.FirstRanker.com


Roll No. _______________________ Total No. of Pages : 02

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

Total No. of Questions: 18

B.Tech.(CSE) (2012 to 2017) (Sem.-7)

THEORY OF COMPUTATION

Subject Code: BTCS-702

M.Code: 71894

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

Time: 3 Hrs. Max. Marks : 60

INSTRUCTION TO CANDIDATES :

  1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
  2. SECTION-B contains FIVE questions carrying FIVE marks each and students have to attempt ANY FOUR questions.
  3. SECTION-C contains THREE questions carrying TEN marks each and students have to attempt ANY TWO questions.
  4. --- Content provided by⁠ FirstRanker.com ---

SECTION-A

Answer Briefly:

  1. Define alphabets in Theory of Computation.
  2. Define Non Deterministic Finite Automata.
  3. What is a transition table?
  4. --- Content provided by​ FirstRanker.com ---

  5. Discuss Regular Expression.
  6. State pumping lemma for regular languages.
  7. Write short note on decidability.
  8. What is left most derivation?
  9. Write properties of LR(k) grammars.
  10. --- Content provided by‌ FirstRanker.com ---

  11. Compare deterministic and non deterministic versions.
  12. Define the language of Turing machine.

SECTION-B

  1. Define the rule for construction of CFG from given PDA.
  2. What are the additional features of PDA compared with NFA?
  3. --- Content provided by‍ FirstRanker.com ---

  4. Verify whether that the following context free grammar is ambiguous or not :
    S ? 1A0S
    S ? 1A0S1S
    A ? 1
    S ? 0
  5. --- Content provided by​ FirstRanker.com ---

  6. Give pushdown automata that recognize the following languages:
    B = {w ? {0, 1}* | w=wR and the length of w is odd}
  7. Describe the recursively Enumerable Language with example?

SECTION-C

  1. Write the steps to convert context free grammar into regular expression by taking suitable example?
  2. --- Content provided by FirstRanker.com ---

  3. Explain the extended transition function for NFA, DFA and ?-NFA. Give the regular expressions for set of all strings that begin with 110?.
  4. Write short note on following :
    1. Rules for the conversion of Grammars to PDA
    2. Parsing techniques

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.

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


www.FirstRanker.com



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

This download link is referred from the post: PTU B.Tech 2021 January Previous Question Papers || PTU Punjab Technical University