CS402 Assignment Objectives:
- Objective of this assignment is to assess the understanding of student’s about the concept of languages, regular expressions and finite automata.
CS402 Assignment Instructions:
Please read the following instructions carefully before submitting assignment:
- You should consult the recommended books, PowerPoint slides and audio lectures to clarify your concepts.
- 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.
- 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.
Please 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
CS402 Assignment Question No 1:
Construct a regular expression (RE) defining each of the following languages over the alphabet ∑={ab}:
All words ends in 3 consecutive b.
All words having at least one ‘a’
CS402 Assignment Question No 2:
Construct an FA which recognizes the set of all strings defined over S = {x, y} starting with the prefix ‘xy’.
Download Assignment Solution File:
Download CS402 Assignment Solution by Clicking the Download Button Below in just single Click