Question: Consider the following regular languages over binary alphabet { 0 , 1 } and decimal alphabet { 0 , . . . , 9 }

Consider the following regular languages over binary alphabet {0,1} and
decimal alphabet {0,...,9}
L1={binary number w is a multiple of 5},
L2={decimal number w is a multiple of 5}.
a) Using the general method seen in class, design a DFA M5,2 recognizing L1.
Provide M5,2 according to the formal definition.
b) Using the general method seen in class, design a DFA M5,10 recognizing L2.
Provide M5,10 as a state diagram.
c) Simplify your automaton of part b) to reflect the simple rule that a decimal
number is a multiple of 5 iff it ends with a 0 or a 5. Provide the simplified version of M5,10 as a state diagram.

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 Databases Questions!