This download link is referred from the post: PTU B.Tech Question Papers 2020 December (All Branches)
FirstRanker.com
Firstranker's choice
--- Content provided by FirstRanker.com ---
Roll No. Total No. of Pages : 02
Total No. of Questions : 18
B.Tech. (CSE) (2012 to 2017) (Sem.-7)
--- Content provided by FirstRanker.com ---
THEORY OF COMPUTATIONSubject Code : BTCS-702
M.Code : 71894
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
--- Content provided by FirstRanker.com ---
- 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.
SECTION-A
Answer Briefly :
--- Content provided by FirstRanker.com ---
- Differentiate between NFA and DFA.
- What is a transition graph?
- What is Chomsky Classification of formal languages?
- What is a derivation tree?
- What are the basic operations for strings?
- Define Union of Two Languages.
- What is ambiguity?
- Define Mathematical Induction.
- Define Terminal and Non-Terminal Symbol.
- Define Leftmost and Rightmost Derivation.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
- Give regular expression to each of the subsets of {a,b} :
- Set of all strings containing exactly 2a’s
- Set of all strings containing substring aa.
- What is NFA? Show with the help of graph.
- State pumping lemma for regular sets.
- What are the steps needed to reduce a context free grammar to an equivalent grammar in Chomsky Normal Form?
- Discuss the relation between languages and types of automata with help of diagram.
--- Content provided by FirstRanker.com ---
SECTION-C
--- Content provided by FirstRanker.com ---
- Give proof for the statement: If L is a context free language, then we can construct a PDA A accepting L by empty store, i.e. L= N(A).
- Explain the following :
- What are properties of regular languages?
- What is Turing machine and its halting problem?
- Differentiate with example :
- Mealy and Moore Machine.
- CNF and GNF.
--- 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 Question Papers 2020 December (All Branches)