CD Practical Solution GTU
LIST OF PRACTICALS
Sr.  Title of Practical  ANSWER 
1  Implementation of Finite Automata and String Validation  Solution 
2  Introduction to Lex Tool  Solution 
3  Implement following Programs Using Lex

Solution 
4  Implement following Programs Using Lex

Solution 
5  Implementation of Recursive Descent Parser without backtracking

Solution 
6  Finding “First” set

Solution 
7  Generate 3tuple intermediate code for given infix expression  Solution 
8  Extract Predecessor and Successor from given Control Flow Graph  Solution 
9  Introduction to YACC and generate Calculator Program  Solution 
10  Finding “Follow” set
Input: The string consists of grammar symbols. Output: The Follow set for a given string. 
Solution 