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

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. 

+ Click Here To Join also Our facebook study Group.

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

See Your Saved Posts Timeline

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)


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 


assssalm oaulikum bro kon sa solution theak hai



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



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

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