in Theory of Computation
369 views
1 vote
1 vote

Consider the set of all words over the alphabet $\{x, y, z\}$ where the number of $y$’s is not divisible by 2 or 7 and no $x$ appears after a $z$. This language is:

  1. regular
  2. not known to be regular
  3. context-free but not regular
  4. recursively enumerable but not context-free
in Theory of Computation
369 views

2 Answers

0 votes
0 votes
It will be regular

It consists of 14 states where 1st state consists of x or z
0 votes
0 votes

Answer:

Related questions