a. Given a grammar G =(V.T.E.P) over set of alphabets = (0....9, +. . (. ) with productions . E ->I E ->E + E E ->E E E -> (E) | -> E|0|11... 19 and derive String (9+8) (6+4) b. Languages are given as, L1 = (ab" In>=0}. L2%= L(ab"), L3=D{a,ab,abb,abbb....}, L4= (X IX is over (a,b}.begins with a, followed by any number of b. Prove that L1=L2=L3=L4

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section12.5: Virtual Functions
Problem 5E
icon
Related questions
Question
a. Given a grammar G =(V.T,E.P) over set of alphabets = {0,...,9, +. . (. } with productions.
E ->I
E ->E +E
E ->E* E
E -> (E)
|-> E|0|11... 19
and derive String (9+8)*(6+4)
b. Languages are given as , L1 = {ab"" In>=0}, L2= L(ab"). L3=(a,ab,abb,abbb....}. L4= {(X |X is over {a,b},begins with a, followed by
any number of b.
Prove that L1=L2=L3=L4
Transcribed Image Text:a. Given a grammar G =(V.T,E.P) over set of alphabets = {0,...,9, +. . (. } with productions. E ->I E ->E +E E ->E* E E -> (E) |-> E|0|11... 19 and derive String (9+8)*(6+4) b. Languages are given as , L1 = {ab"" In>=0}, L2= L(ab"). L3=(a,ab,abb,abbb....}. L4= {(X |X is over {a,b},begins with a, followed by any number of b. Prove that L1=L2=L3=L4
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Sorting
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr