CSC262 Theory of Computation

Theory of ComputationTU Board 2080

Write regular expression over a,b that represents a) Strings having exactly two a's and atleast two b's. b) Strings having an even number of a's and each a followed by at least one b.

5

Write regular expression over {a,b} that represents

  • a) Strings having exactly two a's and atleast two b's.

  • b) Strings having an even number of a's and each a followed by at least one b.

A worked answer is on its wayMeanwhile, read the Theory of Computation notes for this topic.

Discussion

Loading…

More Theory of Computation questions

All Theory of Computation old questions