0 votes 0 votes what is the langauge generated by this grammar ? S-->aS | aSbS | ε what is the language Theory of Computation theory-of-computation context-free-language context-free-grammar + – moe12leb asked Jan 21, 2023 • edited Jan 21, 2023 by makhdoom ghaya moe12leb 303 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes The language generated will be ε UNION { All strings that start with “ a “ and # a’s greater than or equal to # b’s and no consecutive b’s are allowed } where # is a short hand notation for “ number of “ [ Jiren ] answered Mar 2, 2023 [ Jiren ] comment Share Follow See all 2 Comments See all 2 2 Comments reply KG commented Mar 2, 2023 reply Follow Share The grammer can derive two consecutive b’s. 0 votes 0 votes [ Jiren ] commented Mar 2, 2023 reply Follow Share @KG yeah u r right i will update it thnx 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes for each ‘b’, the #a’s > #b’s (sub-string before ‘b’). KG answered Mar 2, 2023 KG comment Share Follow See all 0 reply Please log in or register to add a comment.