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

# CS402 Assignment No 02 Solution & Discussion Due Date: 06-11-2017

CS402 Assignment No 02 Solution & Discussion Due Date: 06-11-2017

Question No 1:                                                                                                                 Marks:5+5=10

Construct a regular expression defining each of the following languages over the alphabet ∑={a      b}:

a)      All words without the pattern ‘bb’ in them.

b)      All words that ends with a or bbbb

Question No 2:                                                                                                                           Marks=5

Build an FA that accepts the language of all words over the alphabet ∑= {a    b} that have exactly two a’s.

..How to Join Subject Study Groups & Get Helping Material?..

Views: 9142

.

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

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

Attachments:

### Replies to This Discussion

I already say I still have a doubt. I only did solution of given examples given in handouts, I read the examples carefully and point out the requirements when I solve that examples I got some ideas and after that I solve the assignment question carefully and think about it after thinking I mention these question concepts are similar to the handouts examples. So I request you first solve the handouts first, carefully read the examples requirements then solve the assignment question. Thank you and best of luck.

this FA diagram is wrong...

ye image keh raha hai starting with a.

jb k question main starting with a nhi hia,

starting point pr b ka loop hona cheay jaisy point 2 pr hai.

point threee sy jo b return ho raha hai wo b ghlt hai, q k language ka word a ya b pr khtm ho skta hai.

Complete solution of this assignment

Tariq bhaee i dont think this is correct.

starting point pr b ka loop missing hai or ending point sy return hony wala b to point 2 is also wrongl.

CS402 Check this

Attachments:

assssalm oaulikum bro kon sa solution theak hai

solution

Attachments:

+Bushra ap ne M tariq malik wala solution post ker diya hai jab k dubara iski zarurat nai thi.

bushra ghtl hai ye. shaeed question 1 part a correct lg raha hai mjy.

friends kindly check the answer of question no 2. is it correct?

Attachments:

## Latest Activity

ٹمبکٹو updated their profile
25 minutes ago
ٹمبکٹو posted discussions
41 minutes ago
2.O posted discussions
1 hour ago
3 hours ago
+ ! ! ! ! ! ∂ixie ∂us† replied to Student's discussion Estaghfar
3 hours ago
3 hours ago
+ ! ! ! ! ! ∂ixie ∂us† replied to + "AS"'s discussion Dard ..
3 hours ago
+ ! ! ! ! ! ∂ixie ∂us† liked 2.O's discussion اے خاصہ خاصان رسل وقت دعا ہے
3 hours ago

1

2

3