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

www.vustudents.ning.com

 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

# CS402 Theory of Automata Assignment No 01 Solution & Discussion Due Date: 23-11-2015

CS402 Theory of Automata Assignment No 01 Solution & Discussion Due Date: 23-11-2015

Write regular expressions for the following languages over the alphabet ∑ = {0, 1}:

Question 1;

1. Language of all strings which do not end with 11.
2. Language of all strings which do not contain the substring 01.

Question 2;

Draw Finite Automaton for each of the above described languages.

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

Views: 12949

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

### Replies to This Discussion

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.

OK,sir

1st qusetion ka ans

me right or not

0+ 1 + (0+ 1)*(01+ 10 + 00)

no this is also not the right regular expresoin as its not acceting the Null string

this expression is correct. but u should have to include null string in it.

can we write ^ + 0+ 1 + (0+ 1)*(01+ 10 + 00)

can we wite the null (^) in requlaer expersion?

yes you can..this is right expression.

I think iss main 1 problem hay.

it cannot create the following sets

{0001}

{00001}

and so on

AOA, Brother, in my opinion it will accept all of these strings like this

take 00 OR 000 from (0+1)*
and append 01 from (01+10+00)

you will get 0001

null string ni

this is wrong solution for assignment 1 .please read language condition carefully, should not end with 11 and do not contain 01 both fa accepting string ending with the 11. it also contain 01 sub string. therefore it is totally wrong FA

## Latest Activity

Sidra Mirza, umer, Maria shaheen and 3 more joined Virtual University of Pakistan
7 seconds ago
21 minutes ago
Alone Struggler liked иαвєєℓ αнмє∂'s discussion !!!!Be-Wafai!!!!!
24 minutes ago
24 minutes ago
24 minutes ago
32 minutes ago
41 minutes ago
44 minutes ago
46 minutes ago
Rehan joined + M.Tariq Malik's group

### CS507 Information Systems

46 minutes ago
Rehan posted a status
"CS507 Assignment No.3?????? Solution????"
46 minutes ago

1

2

3