Skip to content
CS-501 · Theory of Computation/Important Questions

Theory of Computation (CS-501) - Important Questions

  1. Unit 17 Marks High Priority

    Convert the given Moore machine to its equivalent Mealy machine with states {A, B}, outputs A/0, B/1 and transitions A-a->B, A-b->A, B-a->A, B-b->B.

    Predicted for DEC-2026

  2. Unit 27 Marks High Priority

    What is a deterministic finite automata (DFA)? Design a DFA over alphabet {0,1} accepting all strings starting and ending with different symbols.

    Predicted for DEC-2026

  3. Unit 27 Marks High Priority

    Convert the given NFA to an equivalent DFA where states={q0,q1}, alphabet={a,b}, delta(q0,a)={q0,q1}, delta(q0,b)={q0}, delta(q1,b)={q1} and final state is q1.

    Predicted for DEC-2026

  4. Unit 27 Marks High Priority

    Write a regular expression for the language over {a,b} consisting of all strings ending with the substring 'ab'.

    Predicted for DEC-2026

  5. Unit 27 Marks High Priority

    Derive the regular expression for the given DFA using Arden's theorem. State Arden's theorem.

    Predicted for DEC-2026

  6. Unit 37 Marks High Priority

    Explain ambiguity in context-free grammars with a suitable example and explain how ambiguity can be removed.

    Predicted for DEC-2026

  7. Unit 37 Marks High Priority

    For the grammar S -> aSb | ab, find the leftmost and rightmost derivations and draw the parse tree for the string 'aabb'.

    Predicted for DEC-2026

  8. Unit 37 Marks High Priority

    Convert the given context-free grammar to Chomsky Normal Form (CNF): S -> AB | a, A -> a, B -> b.

    Predicted for DEC-2026

  9. Unit 37 Marks High Priority

    Find an equivalent reduced context-free grammar with no useless symbols for G with productions S -> AC/B, A -> a, C -> c/BC, E -> aA/e.

    Predicted for DEC-2026

  10. Unit 47 Marks High Priority

    Explain pushdown automata and compare deterministic PDA (DPDA) and non-deterministic PDA (NPDA) with a suitable example. Are they equivalent?

    Predicted for DEC-2026

  11. Unit 47 Marks High Priority

    Design a PDA for the language L = {a^n b^n | n >= 1}.

    Predicted for DEC-2026

  12. Unit 47 Marks High Priority

    Construct an NPDA/PDA that accepts the language generated by a given CFG. Illustrate with an example.

    Predicted for DEC-2026

  13. Unit 57 Marks High Priority

    Explain recursively enumerable languages and decidable/recursive and undecidable languages with examples.

    Predicted for DEC-2026

  14. Unit 57 Marks High Priority

    What is the halting problem of Turing machine? Prove/explain why it is undecidable.

    Predicted for DEC-2026

  15. Unit 57 Marks High Priority

    Differentiate between decidable (recursive) and recursively enumerable languages.

    Predicted for DEC-2026

  16. Unit 57 Marks High Priority

    Explain the concept of NP-complete problems with suitable examples.

    Predicted for DEC-2026

Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in