This download link is referred from the post: PTU B.Tech 7th Semester Last 10 Years Previous Question Papers|| Punjab Technical University 2011-2021
Firstranker's choice
Roll No.
--- Content provided by FirstRanker.com ---
Total No. of Pages : 02
Total No. of Questions : 18
B.Tech.(CSE) (2012 to 2017) (Sem.-7)
THEORY OF COMPUTATION
Subject Code : BTCS-702
--- Content provided by FirstRanker.com ---
M.Code: 71894
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 ---
Answer Briefly :
SECTION-A
- 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
--- Content provided by FirstRanker.com ---
- 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--- Content provided by FirstRanker.com ---
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 ---
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 ---
This download link is referred from the post: PTU B.Tech 7th Semester Last 10 Years Previous Question Papers|| Punjab Technical University 2011-2021