Roll No. _________________________ Total No. of Pages : 02
Total No. of Questions : 09
MCA (2014 Batch) (Sem.-3)
--- Content provided by FirstRanker.com ---
THEORY OF COMPUTATION
Subject Code : MCA-305B
M.Code: 70777
Time: 3 Hrs. Max. Marks : 100
INSTRUCTIONS TO CANDIDATES :
--- Content provided by FirstRanker.com ---
- SECTIONS-A, B, C & D contains TWO questions each carrying TWENTY marks each and students has to attempt any ONE question from each SECTION.
- SECTION-E is COMPULSORY consisting of TEN questions carrying TWENTY marks in all.
SECTION-A
-
- Show, by mathematical induction that for all n = 1.
1+2+3+...+n = n(n+1)/2
- What is an equivalence relation? Explain with an example.
--- Content provided by FirstRanker.com ---
- Show, by mathematical induction that for all n = 1.
- Design a finite automata for accepting the strings generated over ? = {0, 1} having even number of 0s and 1s.
SECTION-B
- What is e-transition? Give an example of an automata having two different final states (other states may be taken as per your choice) and both of them have incoming e-transitions. How will you remove the ?-transitions?
- What is pumping lemma for regular languages? Use it to prove that the language L = {0n1n : n = 1} is not regular.
--- Content provided by FirstRanker.com ---
SECTION-C
- Design a Push Down automata for accepting the language L = {0n1n : n = 1}.
- Justify the statement: "The intersection of two context-free language may not be a context-free language".
SECTION-D
--- Content provided by FirstRanker.com ---
- Design a Turing Machine for the addition of two numbers.
- What is a recursive language? Give argument(s) in support of the statement : "Recursive languages are closed under complementation".
SECTION-E
- Answer briefly :
- Is the expression (1* - ?) regular? Justify your answer.
- What is structural Induction?
- State Kleen's Theorem.
- Give an example of a regular grammar.
- What is a derivation tree?
- What is deterministic push down automata?
- What is parsing?
- Give the CFG for the language L = {0n1n : n = 0}.
- What is partial function?
- Give an example of CSG.
--- Content provided by FirstRanker.com ---
--- 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 MCA Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University
--- Content provided by FirstRanker.com ---