Question & Answer: Give the state diagrams of DFAs for the following languages. In all parts sigma = {0, 1}. 1. {omega|omega conta…..

Problem 1 (50 pts) Give the state diagrams of DFAs for the following languages. In all parts Σ={0,1} 1. {w | w contains the substring 0101 2. {w | w does not contains the substring 110) 3. {w | every odd position of w is 1) 4. w has an even number of 0s or exactly two 1s) 5. {w | w has an even length and an odd number of 1ls) Problem 2 (20 pts) Give the state diagrams of NFA with specified number of states for the following languages 1. The language of Problem 1.1 with five states. 2. The language of Problem 1.4 with six states

Give the state diagrams of DFAs for the following languages. In all parts sigma = {0, 1}. 1. {omega|omega contains the substring 0101} 2. {omega|omega does not contains the substring 110} 3. {omega|every odd position of omega is 1} 4. {omega|omega has an even number of 0s or exactly two 1s} 5. {omega|omega has an even length and an odd number of 1s} Give the state diagrams of NFA with specified number of states for the following languages. 1. The language of Problem 1.1 with five states. 2. The language of Problem 1.4 with six states.

Expert Answer

 

Still stressed from student homework?
Get quality assistance from academic writers!