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

Houses having the floor , Suppose you are in the market for a new home and ...

Suppose you are in the market for a new home and are interested in a new housing community under construction in a another city. a) The sales representative informs you that the

Lpp, A paper mill produces two grades of paper viz., X and Y. Because of ra...

A paper mill produces two grades of paper viz., X and Y. Because of raw material restrictions, it cannot produce more than 400 tons of grade X paper and 300 tons of grade Y paper i

Find the rate at which its tip is moving, If the minute hand of a big clock...

If the minute hand of a big clock is 1.05 m long, find the rate at which its tip is moving in cm per minute.

Show that the ratio of the volume of the sphere, A sphere and a cube have e...

A sphere and a cube have equal surface areas. Show that the ratio of the volume of the sphere to that of the cube is √6 : √π. Ans:    S.A. of sphere = S.A of cube    4π r 2

Solve the linear equation, Solve the linear equation: The equation rel...

Solve the linear equation: The equation relating the pressure that is denoted by P, to the force, F & the area, A, over which the force is applied is P =F/A.  Solve this equat

Example of graphical technique of linear equations, Explain the Graphical T...

Explain the Graphical Technique of Linear Equations by using this figure.

Calculate magnitude and direction of maximum principle, At a point in a loa...

At a point in a loaded member, the stresses relative to an x, y, z coordinate system are given by Calculate the magnitude and direction of the maximum principal stress.

Applications of series - differential equations, Series Solutions to Differ...

Series Solutions to Differential Equations Here now that we know how to illustrate function as power series we can now talk about at least some applications of series. There ar

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