Professional Documents
Culture Documents
ASSIGNMENT-3
Course : System Software and Compilers Submission Time : 9 AM to 4:45 PM
Course Code : 18CS61 Submission Date : 04-07-2022
Sem/Sec : 6th Sem, B’Sec Max Marks : 10
Marks COs BTL
1. Construct the annotated parse tree for 3*5+4n also provide semantic
rules
L-> En
E-> E1 + T,
E-> T 4M
T-> T1 * F
CO3
T-> F
F-> ( E )
L4
F-> digit
2. Design the SDD for simple desk calculator and draw dependency graph
for the expression 3M
1*2*3* (4+5) n
3. Design a lex program to count Number of words in an input file 3M
CO4
HOD