Spring 2025 - CS402 - 1
Spring 2025 - CS402 - 1
Total marks = 20
Assignment # 01 Deadline Date
Spring 2025 12th May, 2025
Please carefully read the following instructions before attempting the assignment.
You should consult the recommended books to clarify your concepts as handouts are not sufficient.
You are supposed to submit your assignment in Doc or Docx format.
Any other formats like scan images, PDF, ZIP, RAR, PPT, BMP, etc. will not be accepted.
Topic Covered:
The objective of this assignment is to assess the understanding of students about:
Regular Expression (RE)
Finite Automata (FA)
Transition Graph (TG)
Generalized Transition Graph (GTG)
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.
For any query, feel free to email at:
[email protected]
Question Marks (5+15=20)
Write the regular expression for language of all words starting with “a” and ending with “b” must having
“ab” as a substring over the set of alphabets Σ={a,b}.