All virtual University Subjects Groups (Click & Join Your Subject Group)
- ACC - Fundamentals of auditing and business
ACC311 ACC501
- ACF - (Accounting And Finance Related)
ACF619 ACFI619
- BNK - (Banking Related)
BNK601BNK603BNK604BNK619BNKI619
- COM - (Commerce Related)
COM619COMI619
CS - (Computer Sciences)
CS001 CS101 CS201 CS301 CS302 CS304 CS401 CS402 CS403 CS408 CS410 CS501 CS502 CS504 CS506 CS507 CS508 CS601 CS602 CS604 CS605 CS606 CS607 CS609 CS610 CS614 CS615 CS619 CS701 CS702 CS703 CS704 CS708 CS709 CS712 CS716 CS718 CS720 CS723
ECO - (Economics Related)
ECO401 ECO402 ECO403 ECO404
ENG - (English Related)
ENG001 ENG101 ENG201 ENG301 ENG401
ETH201 - Ethics (for Non-Muslims)
ETH201
- FIN - (Finance Related)
FIN611 FIN621 FIN622 FIN623 FIN624 FIN625 FIN630 FIN619
FINI619
HRM - (Human Resources Related)
HRM611 HRM619 HRMI619 HRM623 HRM624 HRM625 HRM627 HRM628
HRM619 HRMI619
ISL201 - Islamic Studies
ISL201
- IT - (Info Tech Related)
IT430
- MCM - (Mass Media Related)
MCM101 MCM301 MCM304 MCM310 MCM311 MCM401 MCM404 MCM411 MCM431 MCM501 MCM511 MCM514 MCM515 MCM516 MCM517 MCM520MCM531 MCM532 MCM601 MCM604 MCM610 MCM619 MCMI619
- MGMT - (Management Related)
MGMT510 MGMT611 MGMT623 MGMT625 MGMT627 MGMT628 MGMT629 MGMT630
- MGT - (Finance And Management Related)
MGT101 MGT111 MGT201 MGT211 MGT301 MGT401 MGT402 MGT411 MGT501 MGT502 MGT503 MGT504 MGT510 MGT520 MGT601 MGT602 MGT603 MGT604 MGT610 MGT611 MGT613 MGT619 MGTI619
MIS - (Project And Internship Report)
MIS619 MISI619
MKT - (Marketing Related)
MKT501 MKT610 MKT611 MKT621 MKT624 MKT625 MKT630 MKT619
MKTI619
MTH - (Maths Related)
MTH001 MTH101 MTH202 MTH301 MTH302 MTH401 MTH501 MTH601
MTH603
PAD - (Public Administration Related)
PAD619 PADI619
PAK301 - Pakistan Studies
PAK301
PHY - (Physics Related)
PHY101 PHY301
- PSC201 - International Relations
PSC201
- PSY - (Psychology Related)
PSY101 PSY401 PSY402 PSY403 PSY404 PSY405 PSY406 PSY407 PSY408 PSY409 PSY502 PSY504 PSY505 PSY510 PSY511 PSY512 PSY513 PSY514 PSY515 PSY610 PSY619 PSY631 PSY632 PSYI619
SOC - (Socialogy Related)
SOC101 SOC401
- STA - (Statistics and Research)
STA301 STA630

Question  No.1

Draw  the Transition graph (TG) for language of words in which the “b” occur only in even clumps and that end in four or more a’s.
Draw the Transition graph (TG) for language of words starting with three a’s or three b’s and ending with bb or aa
Draw the Transition graph (TG) for language of words having aab or bba anywhere in it
Draw the Transition Graph (TG) for language of words EVEN-EVEN,
Draw the Generalized Transition graph (GTG) for below given regular expression:

a*+ (ab+a)*(b+ Λ)+a*
Question No.2

Review the below given TG and check if the below given words can be read through this TG.

a
bba
bbab
abbaaabba


Question No.3
Consider the FA1 and FA2 given below,

FA1



FA2







Give RE’s corresponding to FA1 and FA2
Find FA and RE corresponding to the Union of FAs (FA1 + FA2)
Find FA and RE corresponding to Concatenation of FA’s (FA1.FA2)



Hint: First find FA and then find RE considering that FA as TG


Question No.4
Consider the FA1given below and find its closure (FA1*) also give RE before and after finding closure.

FA1




Question No.5

Give Non Deterministic Finite Automata (NFA) for each of the following language defined over alphabet Σ = {a, b}

Language having all strings with alternating a’s and b’s , some example strings are ababab… or bababa…
Language having all strings NOT containing aa at any place

 


Tags: 2, assignment, cs402, solution

Views: 205

Attachments:

Replies to This Discussion

Advertise Here

its not complete solution

 

 if u completed the assignment of cs402 pls send me 

                                       thanks

solution by

 
muhammad asad razzaq

Attachments:

help exercise for cs 402 assignment 2

 

Attachments:

RSS


=======================

Virtual University Services

=======================

|*| VU TV
|*| VU SITES

|*| VU EMAIL

|*| VU RADIO

|*| VU ALUMNI

|*| VU LIBRARY

|*| HEC Recognised Universities
Created By
: Ismail Shah

Senior Admin : Saba Gul

Managment : Moderators

Powered bY eZiLine Developers

© 2012   Created by ¤iSmAiL sHaH¤.

Badges  |  Report an Issue  |  Terms of Service