VU Projects Video Lectures Handouts Past Papers Quizzes Assignments & GDB border= Members Free SMS Service FB Page
VU Projects Video Lectures Handouts Past Papers Quizzes Assignment,GDB Members SMS Service FB Page

Assignment No. 01
Semester:
Fall 2017
Theory of Automata – CS402

 

Total Marks: 15

 

Due Date: 6/11/2017

 

Objectives:

Objective of this assignment is to assess the understanding of students about the concept of languages, regular expressions and finite automata.

 

Instructions:

Please read the following instructions carefully before submitting assignment:

  1. You should consult the recommended books, PowerPoint slides and audio lectures to clarify your concepts.
  2. You are supposed to submit your assignment in .doc format. Any other formats like scan images, PDF, zip, rar and bmp etc will not be accepted.
  3. It should be clear that your assignment will not get any credit if:
  • The assignment is submitted after due date.
  • The assignment is copied from Internet or from any other student.
  • The submitted assignment does not open or file is corrupt.

 

Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).

It is recommended to upload solution file at least two days before its closing date.

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

BEST OF LUCK

 

Views: 2083

Replies to This Discussion

IS KA Solution chahy

idea solution attached 

Attachments:

thankx ;) 

Many thanks

anybody can send cs402 first assignment correct solution...

kha jaa rhaa yeh b saii ha ... :P :P 

RSS

© 2017   Created by Muhammad Anwar Tahseen.   Powered by

Badges  |  Report an Issue  |  Terms of Service