Question: Question1: write a Prolog regular grammar for the following language: . L-strings from * with an odd number of 0's and an even number of

Question1: write a Prolog regular grammar for the following language: . L-strings from * with an odd number of 0's and an even number of 1's assume 0 is an even number Hint: start with a FSA How many grammar rules do you have? submit your program and sample runs . Examples: (empty string) *1*10 *01 *11 011 101 110
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
