We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Assignment No.  3
Semester: SPRING 2018

CS606 – Compiler Construction

 

Total Marks: 20

 

Due Date:

July 25, 2018

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

MS-Word Document is required to submit. All other formats are marked as zero.

 

Assignment

 

 

Question No 01: [Marks = 5]

 

Give context-free grammars that generate the following language. In all parts the alphabet ∑ is {a,b}.

{w| w starts and ends with the different symbols}

     

Question No 02: [Marks = 10]

 

Considering the following productions of a CFG:

<goal>            à   <expression>

<expression>  à   <term> / <expression> - <term>

<term>           à   <factor> / <term> + <factor>

<factor>         à   a / b / c

Construct a parse tree for the string “c – b + a + b”.

 

Question No 03: [Marks = 5]

 

If we give the input “b = a + c” to the scanner, the scanner maps the character stream into “words” that are the basic unit of syntax. Write the pairs of words in <token type, word> format from the given input.

 

 

Deadline:

Your assignment must be uploaded on VULMS on July 25, 2018. While July 26, 2018 will be a bonus day for assignment submission.

 

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 1192

.

+ 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)

Attachments:

Replies to This Discussion

Can any one please upload the idea of assignment.Today is last date?

Plz upload solution extend day h or any idea solution?

Question No 3

Attachments:

plz solution upload ker dy

kindly upload all the question as a idea!

Question 1

to dosry question ka kya krna h?

Enjoy

Q 2

thank u

RSS

Latest Activity

M IDREES replied to + M.Tariq Malik's discussion CS502 Fundamentals of Algorithms Assignment No 01 Fall 2019 Solution & Discussion in the group CS502 Fundamentals of Algorithms
55 seconds ago
Profile IconM IDREES, Abdul Ghaffar and Umair ali joined + M.Tariq Malik's group
57 seconds ago
+ AiM replied to 彡Tweety彡 ❤️'s discussion .... Mera Pakistan... :x:p
3 minutes ago
Azhar Sagar posted a discussion
3 minutes ago
Siddiq khan kakar joined + M.Tariq Malik's group
9 minutes ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS202 - Fundamentals of Front End Development Assignments No. 1 Due Date Nov 14, 2019 in the group CS202 Fundamentals of Front End Development
21 minutes ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS202 - Fundamentals of Front End Development Assignments No. 1 Due Date Nov 14, 2019 in the group CS202 Fundamentals of Front End Development
22 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion in the group MGT211 Introduction To Business
22 minutes ago
Mian Ali added a discussion to the group MCM520 Contemporary Mass Media
27 minutes ago
Mian Ali joined + M.Tariq Malik's group
29 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU302 Human Development and Learning Assignment No 01 Fall 2019 Solution & Discussion in the group EDU302 Human Development and Learning
29 minutes ago
Profile IconMian Ali and Muhammad Daniyal joined + M.Tariq Malik's group
31 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS508 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 12-11-2019 in the group CS508 Modern Programming Languages
31 minutes ago
+ !! SARAH replied to Rana Ali's discussion Tell some words in the Shan of Hazart Muhammad (S.A.W)
34 minutes ago
Hiba Sani joined + M.Tariq Malik's group
35 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion MTH301 Calculus II GDB Fall 2019 Solution & Discussion
36 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MTH301 Calculus II GDB Fall 2019 Solution & Discussion in the group MTH301 Calculus II
36 minutes ago
+ M.Tariq Malik added a discussion to the group MTH301 Calculus II
38 minutes ago
Preçîõûš replied to + M.Tariq Malik's discussion MGT101 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 13-11-2019 in the group MGT101 Financial Accounting
39 minutes ago
Hiba Sani replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
40 minutes ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service