CS606 Assignment 2 Solution and Discussion
-
Re: CS606 Assignment 2 Solution and Discussion
Assignment No. 2Semester: Spring 2020
CS606 – Compiler Construction
Total Marks: 20Due Date:
June 15, 2020
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:o Assignment is submitted after due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/ to from students).Software (s) Used to develop Assignment
- MS Word
- MS Paint
Assignment Submission Instructions
Microsoft Word file is required to submit on LMS.Assignment Marks 20
Question:X -> aZ
X -> c
Y -> bX
Z -> Ya
Z -> XbYa) Find First sets for above grammar. (10 Marks)
b) Find Follow sets for above grammar. (10 Marks)
Deadline:
Your assignment must be uploaded on or before the due date. We shall not accept your solution through email after the due date. -
please share idea
-
Re: CS606 Assignment 2 Solution and Discussion
Assignment No. 2Semester: Spring 2020
CS606 – Compiler Construction
Total Marks: 20Due Date:
June 15, 2020
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:o Assignment is submitted after due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/ to from students).Software (s) Used to develop Assignment
- MS Word
- MS Paint
Assignment Submission Instructions
Microsoft Word file is required to submit on LMS.Assignment Marks 20
Question:X -> aZ
X -> c
Y -> bX
Z -> Ya
Z -> XbYa) Find First sets for above grammar. (10 Marks)
b) Find Follow sets for above grammar. (10 Marks)
Deadline:
Your assignment must be uploaded on or before the due date. We shall not accept your solution through email after the due date.@zareen said in CS606 Assignment 2 Solution and Discussion:
Assignment Marks 20
Question:
X -> aZ
X -> c
Y -> bX
Z -> Ya
Z -> XbY
a) Find First sets for above grammar. (10 Marks)
b) Find Follow sets for above grammar. (10 Marks)Solution:
a) Find First sets for above grammar. (10 Marks)
First (X)= a, c
First (Y)= b
First (Z)= a, b, cb) Find Follow sets for above grammar. (10 Marks)
Follow (X)= a, b, $
Follow (Y)= a, b, $
Follow(Z)= a, b, $
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login