Assignment No. 02
Total Marks: 20
Due Date: 08/12/2014
To learn and understand basic concepts of Parse Trees, Top Down Parsers, Predictive
Parsing, First and Follow Sets in building a Lexical analyzer.
It should be clear that your assignment will not get any credit (zero marks will be awarded) if:
For any query about the assignment, contact at email@example.com
Question No 1: Marks 10
Consider the following grammar; you are required to write left most derivation of the string “aebb”.
Question No 2: Marks 10
Consider the following grammar for arithmetic expressions:
A à id X
X àA Y |ε
Y à- X | + X | / X | * X
Show the first set for the non-terminals X and Y in the grammar.
BEST OF LUCK
This assignment coverz 14 Lecturez.
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.
Start your discussion
CS606 QNo complete Solution.... See the given Link ....
first set kesay nikalty hain?
given link me jo solution hai is k just (a) part he krna hai???
First question's solution
what's about 2nd question..any idea??