Pumping lemma for context free languages, Mathematics

Assignment Help:

1. Construct a grammar G such that L(G) = L(M) where M is the PDA in the previous question. Then show that the word aaaabb is generated by G.

2. Prove, using the Pumping Lemma for Context-Free Languages, that the language L = {ak | k is a perfect square} is not context-free.

2. Consider the language L = {ak bk | k > 0}. Explain whether this language is context-free, context-sensitive, recursive, recursively, enumerable, and/or regular. While formal proofs are not required, justify your assertions.


Related Discussions:- Pumping lemma for context free languages

Roof-finding using steffensen''s method, write a computer program that will...

write a computer program that will implement Steffensen''s method.

Explain the dependent events, Explain the Dependent Events? Events are ...

Explain the Dependent Events? Events are called dependent events when the outcome of one event influences the outcome of the second event. P(A and B) = P(A) P(B following A

Linear equation, The ratio between the length and breadth of a rectangular ...

The ratio between the length and breadth of a rectangular field is 11:7. The cost of fencing it is Rs. 75,000. Find the dimensions of the field

The value of m+n, Every point (x,y) on the curve y=log2 3x is transferred t...

Every point (x,y) on the curve y=log2 3x is transferred to a new point by the following translation (x',y')=(x+m,y+n), where m and n are integers. The set of (x',y') form the curve

What are whole numbers, Q. What are Whole numbers? The set of whole num...

Q. What are Whole numbers? The set of whole numbers is the set of natural numbers with the zero thrown in: 0,1,2,3,4,... Hint: Some people remember that the whole numbers

Multiplyig, why is multiplying inportent in our lifes

why is multiplying inportent in our lifes

Prove that 2b3-3abc+a2d=0, If  the  ratios  of  the  polynomial ax 3 +3bx...

If  the  ratios  of  the  polynomial ax 3 +3bx 2 +3cx+d  are  in  AP,  Prove  that  2b 3 -3abc+a 2 d=0 Ans: Let p(x) = ax 3 + 3bx 2 + 3cx + d and α , β , r are their three Z

Functions, find the derived functions

find the derived functions

One-sided limits, One-sided limits: We do this along with one-sided limits...

One-sided limits: We do this along with one-sided limits.  As the name implies, with one-sided limits we will just looking at one side of the point in question.  Following are the

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd