We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ 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. 01 
Total Marks: 20
Due Date: 17/05/2016 

Objectives: Objective of this assignment is to assess the understanding of students of Sets, Alphabets, Languages, Regular Expression and Finite Automata.
Instructions: Please read the following instructions carefully before submitting assignment:
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:5+5 10 Write regular expression for each of the following languages over alphabet set {a,b}.
I) Language of all those strings which end with substring ‘ab’ and have odd length. II) Language of all those strings which contain no more than two b’s.
Question 2: Marks: 10 You are required to construct an FA for the language of all those strings whose length is Odd, but contain even number of b’s defined over alphabet set {a,b}.


BEST OF LUCK 
Tags:
+ 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?.
+ 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)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.
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....
I) Language of all those strings which end with substring ‘ab’ and have odd length.? plz send odd lenght
A string should be ended at ‘ab’ and should have odd length.
Regular expression for an odd length string is (a+b)((a+b)(a+b))* or ((a+b)(a+b))*(a+b)
By increment ab string in the end which have odd length.
(((a+b)((a+b)(a+b))*)+(((a+b)(a+b))*(a+b)))ab
but question no.1 ke second juz ka dia gram make make krna kiay,
by
mc160201929
Question 1: Marks:5+5 10
Write regular expression for each of the following languages over alphabet set {a,b}.
Language of all those strings which end with substring ‘ab’ and have odd length.
((ab+ba)(aa+bb)(ab+ba))*
Language of all those strings which contain no more than two b’s.
(a+b)(a+b)(a+b)*
Question 2: Marks: 10
You are required to construct an FA for the language of all those strings whose length is Odd, but contain even number of b’s defined over alphabet set {a,b}.
a a a
➡⭕➡⭕➡⭕➡©
b b b
Is an FA with odd length n even no.of strings defined over alphabet [a,b]
Its regular expression may be:
(a+b)(a+b)(a+b)
bro ye question no.1 ke second juz main dia gram make krna he
kia check example
Question 1: Marks:5+5 10
Write regular expression for each of the following languages over alphabet set {a,b}.
Language of all those strings which end with substring ‘ab’ and have odd length.
((ab+ba)(aa+bb)(ab+ba))*
Language of all those strings which contain no more than two b’s.
(a+b)(a+b)(a+b)*
Question 2: Marks: 10
You are required to construct an FA for the language of all those strings whose length is Odd, but contain even number of b’s defined over alphabet set {a,b}.
a a a
➡⭕➡⭕➡⭕➡©
b b b
Is an FA with odd length n even no.of strings defined over alphabet [a,b]
Its regular expression may be:
(a+b)(a+b)(a+b)
solve assignment of CS402 .
© 2019 Created by + M.Tariq Malik. Powered by
Promote Us  Report an Issue  Privacy Policy  Terms of Service
VU Students reserves the right to delete profile, which does not show any Activity at site nor has not activity more than 01 month.
We are usergenerated contents site. All product, videos, pictures & others contents on vustudents.ning.com don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com or Contact us at contact Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List  Moderators Group
All Members  Featured Members  Top Reputation Members  Angels Members  Intellectual Members  Criteria for Selection
Become a Team Member  Safety Guidelines for New  Site FAQ & Rules  Safety Matters  Online Safety  Rules For Blog Post