Question: Let -(0,1). Let x denote the Boolean complement of x; that is, the string obtained from x by changing all 0's to 1's and 1's

Let -(0,1). Let x denote the Boolean complement of x; that is, the string obtained from x by changing all 0's to 1's and 1's to 0's. Let revx denote the reverse of x; that is, the string a written backwards. Consider the set For instance, the strings 011001 and 010101 are in A but 101101 is not. Justify but no proof required a) Give a CFG for this set b) Give grammars in Chomsky and Griebach normal form for A - [e)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
