subject

Using Pumping Lemma (slides 30-35 of the notes ‘Regular Languages & Finite Automata-IV’) one can show the language L= {a^n b^n | n ϵ N } is not regular (We need this property in the notes ‘Context-free Languages and Pushdown Automata I). This is done by way of contradiction. We assume L is regular. Since L is infinite, Pumping Lemma applies. We then consider the string s=a^m b^m where m is the number of states in the DFA that recognizes L. Since the length of s is bigger than m, by Pumping Lemma, there exists strings x, y and z such that s=xyz, y≠Λ, |xy|≤2m and xy^k z∈L for all k∈N. If |xy|<2m then the first repeated state on the acceptance path cannot be a final state. Is this statement true, why or why not?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:30
Jessie has received a contract to build a real-time application for a baker. however, the baker doesn't want to invest too much money. his only requirement is that he wants the customers to know which cupcakes are available at what time and in what quantity. so his core requirement is that the details of product should be in real time. what platform can jessie use to develop this application?
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
What do character formats do for your document's message? a.set the tone b.provide organization c.provide clarity d.set how texts align with documents
Answers: 2
question
Computers and Technology, 22.06.2019 20:40
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
You know the right answer?
Using Pumping Lemma (slides 30-35 of the notes ‘Regular Languages & Finite Automata-IV’) one can...
Questions
question
Computers and Technology, 26.08.2021 18:50
question
Social Studies, 26.08.2021 18:50
question
Mathematics, 26.08.2021 18:50
Questions on the website: 13722361