Question: B1:Write a regular expression for all course codes . The code starts with three upper case letters, followed by 4 digits, the second of which

B1:Write a regular expression for all course codes . The code starts with three upper case letters, followed by 4 digits, the second of which is a 1 or a 5. Some course codes (but not all) end with a letter A through E, or Z.

B2: Convert the regular expression into a Non-Deterministic Finite Automata (NFA) below.

(a|b|c)*(bc)*

B3: Convert the Non-Deterministic Finite Automata (NFA) below into a Deterministic Finite Automata (DFA) on the {a, b} alphabet.

B1:Write a regular expression for all course codes . The code starts

8 ( 2 6

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!