RGPV CS-501 Theory of Computation December 2025 Solved Question Paper

December 4, 2026 · Team EasyExamNotes · 2 min read (est.) · 0 comments

Share on WhatsApp

Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal

B.Tech. – Semester 5 | December 2025
CS-501 (GS) – Theory of Computation

Time: 3 hours | Maximum marks: 70

Attempt five questions. Each main question has equal weight (14 marks). In case of ambiguity, the English version takes precedence.

Questions restated for study purposes.


Question 1

1(a) Explain finite automata in their roles as language recognizers and translators.

View Answer →

1(b) Design a Mealy machine producing output 1 for input 1 and output 0 for every other input symbol.

View Answer →


Question 2

2(a) Explain DFA and NFA with examples.

View Answer →

2(b) Convert the NFA to an equivalent DFA: states {q₀,q₁}, alphabet {a,b}, δ(q₀,a)={q₀,q₁}, δ(q₀,b)={q₀}, δ(q₁,b)={q₁}; final state q₁.

View Answer →


Question 3

3(a) Explain regular expressions and Arden’s theorem.

View Answer →

3(b) Give a regular expression over {a,b} for all strings ending in ab.

View Answer →


Question 4

4(a) Explain context-free grammars and derivation trees.

View Answer →

4(b) For S→aSb | ab, derive aabb and draw its parse tree.

View Answer →


Question 5

5(a) Explain grammar ambiguity and methods for removing it.

View Answer →

5(b) Convert the grammar S→AB | a, A→a, B→b into Chomsky normal form.

View Answer →


Question 6

6(a) Explain pushdown automata, including deterministic and nondeterministic PDAs.

View Answer →

6(b) Design a PDA for L={aⁿbⁿ | n≥1}.

View Answer →


Question 7

7(a) Explain Turing machines and techniques used to construct them.

View Answer →

7(b) Design a Turing machine accepting strings over {0,1} with an even number of 1s.

View Answer →


Question 8

8(a) Explain decidable, undecidable, recursive and recursively enumerable languages.

View Answer →

8(b) Define the halting problem and explain its undecidability.

View Answer →

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion