Prove using the pumping lemma and closure properties

Assignment Help Theory of Computation
Reference no: EM13843974

Problem 1: Prove using the pumping lemma and closure properties that the languages below are not regular. You can use the game argument provided in class.

Prove using the pumping lemma and closure properties that the languages below are not regular.

1. L1 = {0n10n | n ≥ 0}. The alphabet is Σ = {0,1}.

2. L2 = {0m10n | m ≥ n}. The alphabet is Σ = {0,1}.

3. Let Σ be {0,1}. Show that L3 = {ω) ∈ Σ* |ω is a palindrome} is not regular. A palindrome is a string that reads the same forward as backwards.

4. L4 = {0n | n is a prime number}. The alphabet is Σ = {0}.

5. L5 = {0m10n | m ≥ n} (Hint: Relate -L5 to L2 and argue using a closure property). The alphabet is Σ = {0,1}.

6. L6 : {0m10n | m - n = 5, n ≥ 0}. The alphabet is Σ = {0,1}.

Problem 2 Provide a context free grammar for the languages L1, L2, L3 and L6 in problem 1 above.

Problem 3 Show that the following language is context free:

L6 : {x ∈ Σ* | x cannot be written as ww for any ω ∈ Σ*}

Reference no: EM13843974

Questions Cloud

Project management software tools available via links : Review two of the project management software tools available via links in the course syllabus. Provide an overview of each software and decide if you will use either of the software for projects throughout the course and why. If you decide to use th..
What volume of nitrogen monoxide is produced at same temp : what volume of nitrogen monoxide is produced at the same temperature
Is carbonated soft drink industry structurally attractive : Is the carbonated soft drink industry structurally attractive? In applying Porter’s model of industry analysis to provide the above assessment, should we treat the concentrate producers and bottlers as two separate industries OR as one industry? Disc..
Has west moved to cooperation with east embraces conflict : Describe the current European Union, its expanded membership and its problem and prospects for year 2015 what keeps so many disparate countries together"? is there a European identity? Will they continue to expand? What issues will dominate the comin..
Prove using the pumping lemma and closure properties : Prove using the pumping lemma and closure properties that the languages below are not regular. You can use the game argument provided in class.
Disadvantages of incremental versus one-step expansion : Describe three strategies for expanding capacity. What are the advantages and disadvantages of incremental versus one-step expansion? How easy would it be to imitate this strategy? Is the strategy sustainable? Should South west become an internationa..
Affect your selection of data and measurement strategies : Deming (1987) states that one of the seven deadly diseases is using only visible figures as an input to management. How do you think this concept could affect your selection of data and measurement strategies? When historical data are not available a..
Explain the method use to find the amount of air : Explain the method use to find the amount of air

Reviews

Write a Review

Theory of Computation Questions & Answers

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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