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.

CS402 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019

CS402 Theory of Automata Assignment 1 Solution Fall 2019


 

Assignment No. 01
Semester: Fall 2019
Theory of Automata – CS402

Total Marks: 20

Due Date: November 15, 2019

Objectives:

Objective of this assignment is to assess the understanding of students about the concept of languages, regular expressions and finite automata.

Instructions:

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:                                                                                                              Marks = 20

Q1. Show that the following pairs of regular expressions define the same language over the alphabet

 

= {a, b}.

 

(i) (ab)*a         and    a(ba)*

(ii) (a* + b)*    and    (a + b)*

(iii) (a* + b*)* and    (a + b)*

                                                                                                                                     [9 marks = 3*3]

Q2. Develop a regular expression for the following language over the alphabet P = {a, b} such that it accepts all strings in which the letter b is never tripled. This means that no word contains the substring bbb.                                                                                                                                          [5 marks]

 

Q3. Develop a regular expression for the following language over the alphabet P = {a, b} such that it accepts all strings all words in which a is tripled or b is tripled, but not both. This means each word contains the substring aaa or the substring bbb but not both.                                                 [ 6 marks]

 

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

.

+ 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

CS402 Assignment # 1 FALL 2019 COMPLETE SOLUTION

RSS

Latest Activity

kashif ali joined + M.Tariq Malik's group
1 minute ago
ٹمبکٹو posted discussions
58 minutes ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ replied to + IUUOƆƎUT +'s discussion یہ تو حسن و عشق کے ہیں مرحلے
3 hours ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ liked + IUUOƆƎUT +'s discussion یہ تو حسن و عشق کے ہیں مرحلے
3 hours ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ replied to + ! ❤SΕNSΙТΙVΕ(∂ΕSΕЯТ ΡЯΙNCΕSS)❤'s discussion hapy birthday my loving friend sister nabooo ;-* ;-* ❤❤❤❤❤❤❤❤
3 hours ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ replied to + ! ❤SΕNSΙТΙVΕ(∂ΕSΕЯТ ΡЯΙNCΕSS)❤'s discussion hapy birthday my loving friend sister nabooo ;-* ;-* ❤❤❤❤❤❤❤❤
3 hours ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ liked + ! ❤SΕNSΙТΙVΕ(∂ΕSΕЯТ ΡЯΙNCΕSS)❤'s discussion hapy birthday my loving friend sister nabooo ;-* ;-* ❤❤❤❤❤❤❤❤
3 hours ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ replied to zohaib iftikhar's discussion ...* APNI ZUBAN KI TAIZI KABHI MAT AZMANA...KHAS TOR PE?...*
3 hours ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ liked zohaib iftikhar's discussion ...* APNI ZUBAN KI TAIZI KABHI MAT AZMANA...KHAS TOR PE?...*
4 hours ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ replied to zohaib iftikhar's discussion ...*ZUBAN B KITNI AJEEB HAI?...*
4 hours ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ liked zohaib iftikhar's discussion ...*ZUBAN B KITNI AJEEB HAI?...*
4 hours ago
+ ! ! ! ! ! ! Dîxîě Dûsť꧂ replied to ٹمبکٹو's discussion حاضری
4 hours ago

Today Top Members 

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

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

.