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

Integration, ((1/x^1/2-(x-1)^1/2)+(1/(5-3(x-1)^2)^1/2)

((1/x^1/2-(x-1)^1/2)+(1/(5-3(x-1)^2)^1/2)

Find the sum of all natural no. between 101 and 304, Find the sum of all na...

Find the sum of all natural no. between 101 & 304 which are divisible by 3 or 5. Find their sum. Ans:    No let 101 and 304, which are divisible by 3. 102, 105..........

Which of the following could not be the translation, If the expression 9y -...

If the expression 9y - 5 represents a certain number, which of the following could NOT be the translation? a. five less than nine times y b. five less than the sum of 9 and y c

Geometry, how can you tell qhich trangle is sss,asa, sas, and aas s

how can you tell qhich trangle is sss,asa, sas, and aas s

Assumptions of interpolation and extrapolation, Assumptions The f...

Assumptions The figures known are assumed to be a normal series, that is a series without any violent, unexplained fluctuations in the values. The

Fractions, A recipe calls for 2 1/4 teaspoons of salt for every 1 1/8 teasp...

A recipe calls for 2 1/4 teaspoons of salt for every 1 1/8 teaspoons of black pepper used. How many teaspoons of salt are needed for each teaspoon of pepper used ?

Shares and dividend, A man invests rs.10400 in 6%shares at rs.104 and rs.11...

A man invests rs.10400 in 6%shares at rs.104 and rs.11440 in 10.4% shares at rs.143.How much income would he get in all??

Find the sum of all 3 digit numbers which leave remainder 3, Find the sum o...

Find the sum of all 3 digit numbers which leave remainder 3 when divided by 5. Ans:    103, 108..........998   a + (n-1)d = 998

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