Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

URGENTTT!!! Consider the grammar, G: S aAa | bBb A aAa | b B bBb | a Mark the correct Chomsky Normal Form Grammar(s) that

URGENTTT!!!

Consider the grammar, G:

S aAa | bBb

A aAa | b

B bBb | a

Mark the correct Chomsky Normal Form Grammar(s) that will derive L(G). Incorrect marks will reduce your grade.

a)

S PQ | RT,

A PQ | b,

B RT | a,

P QA,

R TB,

Q a,

T b

b)

S PQ | RT | a | b,

P AP | b,

Q QA | b,

R BR | a,

T TB | a

c)

S aA | bB,

A Aa | b,

B Bb | a

d)

S PQ | RT,

A PQ | b,

B RT | a,

Q AP,

T BR,

P a,

R b

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2017 For Windows Web And Database Applications

Authors: Corinne Hoisington

1st Edition

1337102113, 978-1337102117

More Books

Students also viewed these Databases questions

Question

=+16.1. 13.91 Suppose that (12) Answered: 1 week ago

Answered: 1 week ago