Question: Task 1 : Design a Regular Expression over for the following languages: D 1 accepts symbols ( days ) from 1 to 2 8 (

Task 1: Design a Regular Expression over for the following languages:
D1 accepts symbols (days) from 1 to 28(no leading zero)
D2 accepts symbols (days) from 1 to 30(no leading zero)
D3 accepts symbols (days) from 1 to 31(no leading zero)
M1 accepts months that have only 28 days (2) excluding leap years
M2 accepts months that have only 30 days (4,6,9,11)
M3 accepts months that have 31 days (1,3,5,7,8,10,12)
Task 2: Using Thompson's construction convert this regular expression (by constructing the previous languages) to a Non-deterministic Finite
Automata:
Date =(D1@@M1)+(D2@@M2)+(D3@@M3)
Task 3: Using Subset construction convert the previous Non-deterministic Finite Automata to a Deterministic Finite Automata.
Task 4: Using Hopcroft's Algorithm minimize the previous Deterministic Finite Automata if possible.
Task 1 : Design a Regular Expression over for the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!