Question: Could you please explain clearly also? (2/5 points) Classify each of the following languages as either (1) regular, (2) context-free but not regular, or (3)
Could you please explain clearly also? (2/5 points) Classify each of the following languages as either (1) regular, (2) context-free but not regular, or (3) not context free. All languages are over the alphabet 10, 1,2 (a) The set of strings that, when treated as a base-3 number, is evenly divisible by 7 (b) The set of strings that, when treated as a base-3 number, is a prime. c) The set of strings with an equal number of o's, 1's, and 2's (d) The set of strings with more O's than 1's (and any number of 2's) (e) The set of strings in which every 0 and every 1 is immediately followed by a 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
