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

Mathematic Modeling, Ask question I have 2 problems I need them after 7 hou...

Ask question I have 2 problems I need them after 7 hours

Demerits and merit-the mode, The mode Merits i.  This can be dete...

The mode Merits i.  This can be determined from incomplete data given the observations along with the highest frequency are already known ii.  The mode has some applic

Design an automaton that accepts only even numbers, Design an automaton tha...

Design an automaton that accepts just only even numbers of 0s and even number of 1's. Ans: The needed automata that accepts even number of 0's and even number of 1's is specifi

Probability, Question: There are 6 letters and 6 self addressed envelopes.W...

Question: There are 6 letters and 6 self addressed envelopes.What is the probability that atleast 1 is placed correctly?? Ans: If we let A be the event that letter A is in the cor

Find the maximum and minimum brightness values, Variable stars are ones who...

Variable stars are ones whose brightness varies periodically. One of the most visible is R Leonis; its brightness is modelled by the function where t is measured in days.

Trigonometric Identities, How to sovle or prove whether an equation is a id...

How to sovle or prove whether an equation is a identity?

What fraction of water flows out, A conical vessel of radius 6cm and height...

A conical vessel of radius 6cm and height 8cm is completely filled with water. A sphere is lowered into the water and its size is such that when it touches the sides, it is just im

Give an example of divisibility, Give an example of Divisibility? If yo...

Give an example of Divisibility? If you can divide one number by another without getting a remainder, we say that the first number is divisible by the second. For instance, the

Solving trig equations, Solving Trig Equations : Here we will discuss on s...

Solving Trig Equations : Here we will discuss on solving trig equations. It is something which you will be asked to do on a fairly regular basis in my class. Let's just see 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