Consider the following grammar and perform required tasks; S -> aA | abS A -> BB | CAC B -> bB | Ɛ C -> aC Eliminate all ϵ-productions.  Eliminate all unit productions from the resulting grammar in part a.  Eliminate all useless symbols from the resulting grammar in b.  Put the resulting grammar in c) in Chomsky Normal Form.

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter5: Working With Multiple Worksheets And Workbooks
Section: Chapter Questions
Problem 6EYK
icon
Related questions
Question

Consider the following grammar and perform required tasks;

S -> aA | abS

A -> BB | CAC

B -> bB | Ɛ

C -> aC

  1. Eliminate all ϵ-productions. 
  2. Eliminate all unit productions from the resulting grammar in part a. 
  3. Eliminate all useless symbols from the resulting grammar in b. 
  4. Put the resulting grammar in c) in Chomsky Normal Form. 
S - aA | abs
А ВB САС
B - bB €
C > aC
Transcribed Image Text:S - aA | abs А ВB САС B - bB € C > aC
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Transitive relations
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
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole