Question: BASED ON DISCRETE MATHS AND COMPUTER SCIENCE PROBLEM 1 (8 marks) Write regular expressions describing the following languages over the alphabet {0,1}. 1. The words

BASED ON DISCRETE MATHS AND COMPUTER SCIENCE

BASED ON DISCRETE MATHS AND COMPUTER SCIENCE PROBLEM 1 (8 marks) Write

PROBLEM 1 (8 marks) Write regular expressions describing the following languages over the alphabet {0,1}. 1. The words containing 00 and ending with 10. 2. The words containing 00 and ending with 01. 3. The words containing exactly one occurrence of 11. Hint: ((0/10)*) = all words in which any 1 is followed by 0. = 4. Who invented regular expressions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!