Back to the 2022 paper

Module 1: Introduction, Regular languages and finite automata

20227m

Construct the regular grammar accepting the following language:
L={w{a,b}/w is a string over {a,b} such that the number of b’s is 3(mod4)}L = \{ w \in \{a, b\}^* / w \text{ is a string over } \{a, b\} \text{ such that the number of b's is } 3 \pmod 4 \}

Similar questions