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


+ 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
Semester: Spring 2018
Theory of Automata – CS402


Total Marks: 15


Due Date: 30/7/2018



Objective of this assignment is to assess the understanding of students about

concept of context free grammars, parsing tree, ambiguous CFG.



Please read the following instructions carefully before submitting assignment:

1.     You should consult the recommended books, PowerPoint slides and audio lectures to clarify your concepts.

2.    You are supposed to submit your assignment in .doc format. Any other formats like scan images, PDF, zip, rar and bmp etc will not be accepted.

3.    It should be clear that your assignment will not get any credit if:

·        The assignment is submitted after due date.

·        The assignment is copied from Internet or from any other student.

·        The submitted assignment does not open or file is corrupt.


Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).

It is recommended to upload solution file at least two days before its closing date.


For any query about the assignment, contact at cs402@vu.edu.pk




















Question No 1:                                                                                                                         Marks=5

What will be the CFG for the given regular expression?



Question No 2:                                                                                                                           Marks=5

Calculate the prefix arithmetic expression from the following derivation tree. Show all steps to get the final answer.




Question No 3:                                                                                                                           Marks=5

Prove that the given CFG is ambiguous.



B→b|bB| Λ




+ 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: 2949


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


Replies to This Discussion

assignment file share kro plz

Attached updated


if you have solution file plz share it with me kindly

Plz recheck by urself. I have tried my best.

CS402 Solution with explanation...


subscribe and share my channel plz...

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. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

a.a guyz come in Discussion so we soved the assignment

check this file guyz


Question 1 wrong ,Question 3 missing.

Plz recheck by urself. I have tried my best.

CS402 Solution with explanation...


subscribe and share my channel plz...

assalam o alikum

plzzzzzzz 3rd question ka solution bhi uplode kr dan


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

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