We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Assignment No. 01
SEMESTER Spring 2017
CS402- Theory of Automata

 

Total Marks: 20

 

Due Date: 03/05/2017

Instructions

Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit  if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file corrupt.
  • The assignment is full or partially copied from (other student or ditto copy from handouts or internet).
  • Student ID is not mentioned in the assignment File or name of file is other than student ID.
  • The assignment is not submitted in .doc or .docx format.

Uploading instructions

Your submission must include:

 

  • Assignment should be in .doc or .docx format.
  • Save your assignment with your ID (e.g. bx020200786.doc).

Assignment submission through email is NOT acceptable

Objective

The objective of this assignment is

  • To give knowledge and understanding of Regular Expression.
  • To be able to understand and draw the Finite Automata (FA).

 

Note:

Your answer must follow the below given specifications.

  •  Font style: “Times New Roman”
  •  Font color: “Black”
  •  Font size: “12”
  •  Bold for heading only.
  •  Font in Italic is not allowed at all.
  •  No formatting or bullets are allowed to use.
  • Your answer should be precise and to the point, avoid irrelevant detail.

 

Lectures Covered: This assignment covers Lecture # 01 - 08

Deadline

Your assignment must be uploaded/submitted at or before 03/05/2017.

 

 

 

 

 

Question No: 01 (Marks:  10)

 

Consider; Draw transition table from following transitions.

 

 At state x reading zero, go to state y

At state x reading 1, go to state z

At state y reading 1, go to state z

At state y reading 0, stay at y

At state z reading (0,1) stay at z

 

Note: x, y, z are the states where x is initial state and z is final state.

 

Question No. 02 (Marks:  10)

 

Draw an FA for the following finite language defined over alphabet set {0, 1} accepting the given words.

 

{^, 01,10,010,101}

 

Note: Do not draw the null state.

 

 

 

 

=====================================Ended=======================================

 

For any query about the assignment, contact at CS402@vu.edu.pk

 

GOOD LUCK

 

 

 


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


Views: 2299

Replies to This Discussion

In initial state (+-) means null string accepted here


(initial state "+-")---0----(non-final state "2")---1---(final state "4+")

we get 01 here 0,1 is transition as shown in diagram with arrow.


(initial state "+-")---1----(non-final state "3")---0---(final state "5+")

we get 10 here 1,0 is transition as show in diagram with arrow.

(initial state "+-")---0----(non-final state "2")---1---(final state "4+")---0---(final state "5+")

we get 010 here 0,1,0 is transition as shown in diagram with arrow


(initial state "+-")---1----(non-final state "3")---0---(final state "5+")---1---("4+")

now we get 101 here 1,0,1 is transition as shown in diagram with arrow

except these all string are not accepted


Read more at http://vustudents.ning.com/group/cs402theoryofautomata/forum/topics...

check this!!

Attachments:

Saroo Butt thanks for sharing 

bhai ap ka question no. 2 mein mistake ha ap ne null string kahan accept karwai ha??????????????????

or bqi ki non accept transition kahan draw ki ha .????????????

Bhai ya to True solution submit kro ya chup rahoo yaaar

RSS

Latest Activity

+ ! ! JS ! ! + liked Hafiza Tehreem Fatima's discussion BIRTHDAY CELEBRATION OUR BELOVED <MEMBER SARAH ABDUL
54 minutes ago
Hafiza Tehreem Fatima posted a discussion
1 hour ago
+M.Tariq Malik replied to Fragrance of Islam's discussion ENG301 Business Communication GDB No 01 Fall 2020 Solution / Discussion in the group ENG301 Business Communication
1 hour ago
+M.Tariq Malik replied to Fragrance of Islam's discussion ENG301 Business Communication GDB No 01 Fall 2020 Solution / Discussion in the group ENG301 Business Communication
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MTH633 Group Theory Assignment 01 Fall 2020 Solution / Discussion in the group MTH633 Group Theory
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC401 Cultural Anthropology Assignment 01 Fall 2020 Solution / Discussion in the group SOC401 Cultural Anthropology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC401 Cultural Anthropology Assignment 01 Fall 2020 Solution / Discussion in the group SOC401 Cultural Anthropology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC401 Cultural Anthropology Assignment 01 Fall 2020 Solution / Discussion in the group SOC401 Cultural Anthropology
1 hour ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ECO406 Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group ECO406 Mathematical Economics
1 hour ago
+M.Tariq Malik liked +M.Tariq Malik's discussion MCM520 Contemporary Mass Media Assignment 01 Fall 2020 Solution / Discussion
2 hours ago
+M.Tariq Malik added a discussion to the group MCM520 Contemporary Mass Media
2 hours ago
Profile IconMalik Ali Raza, Zohaib Anjum, Arooj Shahid and 12 more joined Virtual University of Pakistan
2 hours ago
+M.Tariq Malik replied to Fragrance of Islam's discussion ENG301 Business Communication GDB No 01 Fall 2020 Solution / Discussion in the group ENG301 Business Communication
2 hours ago
+M.Tariq Malik replied to Muhammad Azeem's discussion BNK603 Consumer Banking Assignment No 01 Solution & Discussion FALL 2020 in the group BNK603 Consumer Banking
2 hours ago
+M.Tariq Malik liked Muhammad Azeem's discussion BNK603 Consumer Banking Assignment No 01 Solution & Discussion FALL 2020
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS302 Assignment 01 Fall 2020 Solution / Discussion in the group CS302 Digital Logic Design
2 hours ago

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

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

.