www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# Assignment No. 02 Discussion & Solution due date 08/12/2014

 Assignment No. 02 Semester: Fall 2014 Compiler Construction CS606 Total Marks: 20   Due Date: 08/12/2014 Objective:   To learn and understand basic concepts of Parse Trees, Top Down Parsers, Predictive Parsing, First and Follow Sets in building a Lexical analyzer. Instructions: It should be clear that your assignment will not get any credit (zero marks will be awarded) if:   The assignment is submitted after due date. The submitted assignment does not open or file corrupt. The assignment is copied (from other student or copy from handouts or internet). Student name and ID are not mentioned in the assignment file. It is in some format other than .doc or .docx(MS Word Document). For any query about the assignment, contact at cs606@vu.edu.pk 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

Views: 1790

### Replies to This Discussion

Thank you so much Razor, I_S and Faqiha..

Blessed.

I got 17.50..

Congrats مَلیکا ایمان  U did gud work. :)

1

2

3

4

5

## VIP Member Badge & Others

------------------------------------

## Latest Activity

Ibn Azeem and Zainabmalik joined Virtual University of Pakistan
14 minutes ago

### .... Ghalat fehmi hai ap ki huh......

3 hours ago
Zohaib Hassan liked ツβµŕɨeď€ʍʍÖツ's discussion اختیار کے استعمال کا حق تصرّف۔۔۔
5 hours ago
5 hours ago
6 hours ago
❤❤MEHAR ZADI❤❤ liked ツβµŕɨeď€ʍʍÖツ's discussion اختیار کے استعمال کا حق تصرّف۔۔۔
6 hours ago
+₳₥₥₳Ɽ₳ ₴₳฿łⱤ+ liked ツβµŕɨeď€ʍʍÖツ's discussion اختیار کے استعمال کا حق تصرّف۔۔۔
8 hours ago