Professional Documents
Culture Documents
School of Information Technology & Engineering (SITE) Programme: M.Tech-SE Course: Theory of Computation (SWE-1006) Digital Assignment-I
School of Information Technology & Engineering (SITE) Programme: M.Tech-SE Course: Theory of Computation (SWE-1006) Digital Assignment-I
Programme : M.Tech-SE
Course: Theory of Computation (SWE-1006)
Digital Assignment-I
Submission Deadline: 18-10-2019
1. Write a program in any programming language to simulate finite automata to validate an
identifier.
2. Explain with examples the real time applications of Finite Automata, Regular Expressions,
and Context free grammars.
i. L={abnam : n ≥ 2,m ≥ 3}
ii. L={bnam: n, m ≥1}
7. Define regular expression and regular set. Find an equivalent regular expression to the
following DFA-
10.
11. Convert the following context free grammar G into Greibach Normal Form
S→ AB | 0
A→ BC | 1
B→ CD | 2
C→ AD | 0
D→ 1
12.
14. Explain Linear, Hierarchical, and Semantic Analysis with suitable example.