We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution
+ Link For Past Papers, Solved MCQs, Short Notes & More
Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion
How to Add New Discussion in Study Group ? Step By Step Guide Click Here.
Assignment No. 03 (Graded)
Semester Fall 2013
Compiler Construction CS606
Total Marks: 20
Due Date: 29/01/2014
To learn and understand basic concepts of LR(1) Parser, LL parsing, Shift/ Reduce Conflicts
and Reduce/Reduce conflicts.
Lectures Covered: 23-30
Please read the following instructions carefully before submitting assignment:
You will submit your assignment before or on due date on VU-LMS.
Assignment should be completed by your own efforts it should not be copied from
internet, handouts or books.
You should submit your solution in Word File only via assignment interface at VULMS.
Assignment sent via Email will not be replied and accepted/graded in any case.
If the submitted assignment does not open or file is corrupt, it will not be graded.
For any query about the assignment, contact at firstname.lastname@example.org
BEST OF LUCK
Question No 1: Marks 20
Consider the following grammar:
S → Sb
S → cS
S → a
(a) Identify all conflicting items, and the types of the conflicts. [10 marks]
(b) Rewrite the grammar in an equivalent form that is suitable for LL parsing and minimizes the
use of stack space. [5 marks]
(c) Rewrite the grammar in an equivalent form that is directly suitable for LR parsing (i.e., does
not result in conflicts) and minimizes the use of stack space. [5 marks]
.+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)