2024-25 BCS503 TOC Question Bank Module 2, 3
2024-25 BCS503 TOC Question Bank Module 2, 3
Question Bank
Academic Year: 2024-25 Odd Semester Scheme: 2022
Course Coordinator: Ramesh Babu N Semester: 5
Subject: Theory of Computation Subject Code: BCS503
Module 2
1. Define regular expression.
3. Show that every language defined by a regular expression is also defined by a finite
automaton.
a)
b)
c)
d)
8. Show that the regular languages are closed under the following operations.
Union, Concatenation, Closure, Complement, Intersection, Difference, Reversal,
Homomorphism, Inverse Homomorphism.
b)
3. What are Parse Trees and Explain the construction procedure with an example.
4. Explain Leftmost Derivation and Rightmost Derivation with an example. What is Ambiguity
in Grammars.
*****