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 :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains FIVE questions carrying FIVE marks each and students have to attempt ANY FOUR questions.
- SECTION-C contains THREE questions carrying TEN marks each and students have to attempt ANY TWO questions.
--- Content provided by FirstRanker.com ---
SECTION-A
Answer Briefly:
- Define alphabets in Theory of Computation.
- Define Non Deterministic Finite Automata.
- What is a transition table?
- Discuss Regular Expression.
- State pumping lemma for regular languages.
- Write short note on decidability.
- What is left most derivation?
- Write properties of LR(k) grammars.
- Compare deterministic and non deterministic versions.
- Define the language of Turing machine.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
- Define the rule for construction of CFG from given PDA.
- What are the additional features of PDA compared with NFA?
- Verify whether that the following context free grammar is ambiguous or not :
S ? 1A0S
S ? 1A0S1S
A ? 1
S ? 0 - Give pushdown automata that recognize the following languages:
B = {w ? {0, 1}* | w=wR and the length of w is odd} - Describe the recursively Enumerable Language with example?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-C
- Write the steps to convert context free grammar into regular expression by taking suitable example?
- Explain the extended transition function for NFA, DFA and ?-NFA. Give the regular expressions for set of all strings that begin with 110?.
- Write short note on following :
- Rules for the conversion of Grammars to PDA
- Parsing techniques
--- 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.
--- Content provided by 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