Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1)Convert the following context free grammar to Chomsky Normal Form S a X | Yb X S | Y b Y | 2)Some languages distinguish

1)Convert the following context free grammar to Chomsky Normal Form S a X | Yb

X S |

Y b Y |

2)Some languages distinguish between uppercase and lowercase in identifiers. What are the pros and cons of this design decision?

3)Use the pumping lemma to prove that the following languages are not regular. (The alphabet is = {a, b}.) a) L = {an b1 ak: k >= n+ l}

b) L = {ww: w *}

c) L= {ak2} // this is k square

d) L ={uwwrv :u,v,w +, |u| >= |v|}

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

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions