Question
Pumping lemma

s. (7+5 points) Pumping lemma for regular languages. In all cases, -a,b) a) Consider the following regular language A. ping length p 2 1. For each string s e pumping lemma, we can write s -xy, with lyl S p, and s can be pumped. Since A is regular, A satisfies the pumping lemma with pum A, where Is] 2 p, by the a) Is p 3 a pumping length for language 4? (Yes/No) b) Show that w vhen the pumping length p -4, how the following strings can be pumped by dividing each string into three pieces, s- xyz, satisfying the three conditions. i)s -aaabb ii) s-aababb
0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) aa (bua acept shim aa, aab, aaab, Heme A can accpt smm babb 11)S= да

Add a comment
Know the answer?
Add Answer to:
Pumping lemma s. (7+5 points) Pumping lemma for regular languages. In all cases, -a,b) a) Consider...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 6.[15 points] Recall the pumping lemma for regular languages: Theorem: For every regular language L, there...

    6.[15 points] Recall the pumping lemma for regular languages: Theorem: For every regular language L, there exists a pumping length p such that, if s€Lwith s 2 p, then we can write s xyz with (i) xy'z E L for each i 2 0, (ii) ly > 0, and (iii) kyl Sp. Prove that A ={a3"b"c?" | n 2 0 } is not a regular language. S= 6.[15 points] Recall the pumping lemma for regular languages: Theorem: For every regular...

  • The pumping lemma for regular languages is Theorem 1.70 on page 78 of the required text....

    The pumping lemma for regular languages is Theorem 1.70 on page 78 of the required text. Definition: w is a string if and only if there exists an alphabet such that w is a string over that alphabet. Note: For every alphabet, the empty string is a string over that alphabet. Notation: For any symbol o, gº denotes the empty string, and for every positive integer k, ok denotes the string of length k over the alphabet {o}. 1) (20%]...

  • Prove that the following are not regular languages. Just B and F please Prove that the...

    Prove that the following are not regular languages. Just B and F please Prove that the following are not regular languages. {0^n1^n | n Greaterthanorequalto 1}. This language, consisting of a string of 0's followed by an equal-length string of l's, is the language L_01 we considered informally at the beginning of the section. Here, you should apply the pumping lemma in the proof. The set of strings of balanced parentheses. These are the strings of char­acters "(" and ")"...

  • Exercise 4.1.1: Prove that the following are not regular languages a) (0"1n|n 2 1). This language,...

    Exercise 4.1.1: Prove that the following are not regular languages a) (0"1n|n 2 1). This language, consisting of a string of 0's followed by an cqual-length string of 1's, is the language Loi we considered informally at the beginning of the scction. Here, you should apply the pumping lemma in the proof. b) The set of strings of balanced parentheses. These are the strings of char- acters "(" and " that can appear in a well-formed arithmetic expression *c) O"IO"...

  • please tell me how to do (p), (s), (t). 85 Exercises EXERCISE 1 on for each...

    please tell me how to do (p), (s), (t). 85 Exercises EXERCISE 1 on for each of the following languages. Give a regular expression for each of the follow ke the machine from 0 back, a. label rip from 0 back co state 0 on an input b. {abc, xyz] c. a, b, d. {ax | x € {a,b]"} e axb | x € {a,b}} [ {(ab)"} assing through 0. bo a piece we already have a input string. So...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT