Question: CSCI-445 Homework-1 Due: 1/27/22 Q1. Construct a regular expression defining each of the following languages over the alphabet = {a,b} i) All words that contain

CSCI-445 Homework-1 Due: 1/27/22 Q1. Construct a regular expression defining each of the following languages over the alphabet = {a,b} i) All words that contain exactly two b's or exactly three b's, not more. ii) All words that do not have substring ab iii) All words that have an even number of a's and odd number of b's Q2. Describe the languages associated with the following regular expression. i) (aaa)'b(bb)) (a + b)*ab(a + b) iii) (b(bb)*)*(a(aa)"b(bb)*)*(a(aa)*)*
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
