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


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. 2 of CS402 has been uploaded. The due date to submit the assignment is July 14th, 2016

Assignment No. 02
Semester: Spring 2016
Theory of Automata – CS402

 

Total Marks: 20

 

Due Date:  14/07/2016

 

Objectives:

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

  • Union of Regular Languages
  • Intersection of Regular Languages
  • Transition Table
  • Finite Automaton

 

Instructions:

Please read the following instructions carefully before submitting assignment:

  1. 1.     You should consult the recommended books, PowerPoint slides and video lectures to clarify your concepts.
  2. 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. 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 1:                                                                                                                                Marks:10   10

Consider the following FAs corresponding to regular languages L1 and L2, defined over the alphabet Σ = {a, b}.

 

FA1 corresponding to L1

FA2 corresponding to L2

 

 

You are required to draw a transition table for the FA corresponding to L1 ∩ L2.

 

 

Question 2:                                                                                                                               Marks: 10

 

Given the FAs corresponding to L1 and L2 in Question 1, you are required to draw an FA corresponding to L1c ∪ L2c.

 

 

 

BEST OF LUCK

 

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

.

+ 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

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.

 

Anyone has sharing of 

  • Intersection of Regular Languages?????

cs402 Assignment no 2 practice notes  .find attachment

Attachments:

Answer of question 1 is not correct don't copy paste people in hurry. In Intersection you can rank final state if and only if when both states are at final. So, Question 1 wrongly developed mean wrong diagram as well. Give it a thought again. Instead of ready made solution I would like if this forum gives us the clue in right direction. Anyways, it's my personal opinion, with which anyone can differ.

then jo theek he wo btain mje yahi theek lg rha ...again na again check kiya yahi ata he

then give reasons?

 IS THIS CORRECT OR NOT ????????

 

Answer No 1:-          

            Transition Table for FA corresponding to L1 ∩ L2.

 

Old State

a

b

Z1- =1,X

(1,X)=Z1

(2,Y)=Z4

Z2 =1,Y

(I,Y)=Z2

(2,X)=Z3

Z­­­3 =2,X

(1,X)=Z1

(3,Y)=Z6

­Z4 =2,Y

(1,Y)= Z2

(3,X)=Z5

Z5+ =3,X

(3,X)=Z5

(3,Y)=Z6

Z6 =3,Y

(3,Y)=Z6

(3,X)=Z5

 

Regular Expression is:

 

            (a*bc*fa)*(bc*d)(e*gc*de)*(gc*f)

 

Answer No 2:

 

FA corresponding to L1c ∪ L2c.

 

ap ne first line main he z4 stage likhe .give reasons

bro ap ne first question main First main z4 kiyoon likha ye 2y=z2 ata he ??

and second question also has fault no arrangment

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

Check it 

Attachments:

 

Transition table

Q.1

 

 

Old states

New states

a

b

-1,x =z1

1,x =z1

2,y =z2

2,y =z2

1,y =z3

3,x =z4

1,y =z3

1,y=z3

2,x =z5

3,x =z4

3,x =z4

3,y =z6

+2,x =z5

1,x =z1

3,y =z6

3,y =z6

3,y =z6

3,x =z4

RSS

Latest Activity

彡JK彡 ❤️ replied to Asad's discussion انتظار
1 hour ago
afaq posted a discussion
5 hours ago
+ ! ! ! ! ! ! ! ! ! ! dReAm gIrL replied to Zain Kazimi's discussion Self Poetry Dedicated to Nasir Kazimi
6 hours ago
Zain Kazimi posted a discussion
6 hours ago
Azhar Sagar replied to Azhar Sagar's discussion use case diagrams of 4 projects
6 hours ago
+ ! ! ! ! ! ! ! ! STUDENTs +++ liked ♦_"Tooba"_♦'s discussion QUIZ NO 1
6 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU401 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group EDU401 Contemporary Issues and Trends in Education
6 hours ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion EDU401 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material
6 hours ago
+ M.Tariq Malik's 17 discussions were featured
6 hours ago
+ M.Tariq Malik added a discussion to the group EDU401 Contemporary Issues and Trends in Education
6 hours ago
+ M.Tariq Malik liked Zari's discussion cs502 important topics for mid
6 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU305 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group EDU305 Classroom Management
6 hours ago

Today Top Members 

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

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

.