Assignment No2 CS402
Assignment No2 CS402
Assignment # 02
Fall 2020 Deadline
W S STUDIO 16th Dec, 2020
MUHAMMAD WAJID
Please carefully read the following instructions before attempting the assignment.
You should concern the recommended books to clarify your concepts as handouts are not
sufficient.
Topic Covered:
The objective of this assignment is to assess the understanding of students about:
The concept of languages
Regular Expressions
Transition Graphs
Generalized Transition Graph
Finite automata.
NOTE
No assignment will be accepted after the due date via email in any case (whether it is the
case of load shedding or internet malfunctioning etc.). Hence refrain from uploading
assignments in the last hour of the deadline. It is recommended to upload the solution file
at least two days before its closing date.
If you people find any mistake or confusion in the assignment (Question statement),
please consult with your instructor before the deadline. After the deadline, no queries
will be entertained in this regard.
All words starting with an odd length of zeros followed by an even length of ones at the end.
Question No 2:
Marks:5+5=10
Construct a regular expression and Generalized Transition Graph (GTG) defining the following
language over ∑={0,1}
SOLUTION
R.E=(0+1)*(000)+(1010)
FA