0 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 689 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 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 2 2 Comments reply KG commented Mar 2, 2023 reply Follow flag The grammer can derive two consecutive b’s. 0 0 replyShare [ Jiren ] commented Mar 2, 2023 reply Follow flag @KG yeah u r right i will update it thnx 0 0 replyShare Please log in or register to add a comment.
0 0 votes for each ‘b’, the #a’s > #b’s (sub-string before ‘b’). KG answered Mar 2, 2023 KG comment Share Follow 0 reply Please log in or register to add a comment.