This download link is referred from the post: DBATU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. Babasaheb Ambedkar Technological University
Course: B. Tech in Computer Sci. & Engineering
Subject Name: Theory of Computation
Max Marks: 20
--- Content provided by FirstRanker.com ---
Instructions to the Students:
- Figures to the right indicate marks.
- Assume suitable data.
Q. 1 Select the correct option.
- _______is a set of strings.
- Language
- grammar
- NFA
- DFA
--- Content provided by FirstRanker.com ---
- Let r and s are regular expressions denoting the languages R and S. Then (rs) denotes
- RS
- R*
- RUS
- R+
--- Content provided by FirstRanker.com ---
- In transition diagrams a state pointed by an arrow represents the _______state.
- final
- interior
- start
- final or start
--- Content provided by FirstRanker.com ---
- _______grammar is also known as Type 3 grammar.
- unrestricted
- context free
- context sensitive
- regular grammar
--- Content provided by FirstRanker.com ---
- Grammar that produce more than one Parse tree for same sentence is:
- Ambiguous
- Unambiguous
- Complementation
- Intersection
--- Content provided by FirstRanker.com ---
- S → Sab Sa _______is which grammar?
- Right Linear Grammar
- Left Linear Grammar
- Linear Grammar
- None of the above
--- Content provided by FirstRanker.com ---
Q.2 Solve Any Two of the following.
--- Content provided by FirstRanker.com ---
- Construct the DFA (∑ = 0,1)
- w= Strings starting and ending with same characters
- w= string with "101" as substring
- Consider following Grammar:
S→ A1B--- Content provided by FirstRanker.com ---
A→ OA | epsilon
B→1B|0B | epsilon
Give the leftmost derivation for the inputs:- 00101
- 1001
- Construct the regular Grammar for the given finite Automata: FirstRanker.com
--- Content provided by FirstRanker.com ---
Q. 3 Solve Any One of the following.
- What is pumping lemma technique? Using pumping lemma show that L= {a^n b^n | n>=1} is not regular language. FirstRanker.com
- Convert Following NFA to DFA
-
state 0 1 → a {a,b} {a} b {c} {c} C {d} * d {d} {d} -
state 0 1 → p {q,r} {b] *q {r} {q,r} r {s} {p} *s [d}
--- Content provided by FirstRanker.com ---
-
This download link is referred from the post: DBATU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. Babasaheb Ambedkar Technological University
--- Content provided by FirstRanker.com ---