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

  Discuss the pros and cons of executive compensation is

discuss the pros and cons of executive compensation. is executive compensation to u.s. ceos too excessive or

  1centred on the significance and relevance of ramps to

1centred on the significance and relevance of ramps to canadian organizations why is ramps important? and why is it

  - write a short guidance note explaining 3 purposes of

- write a short guidance note explaining 3 purposes of induction and how these can benefit individuals and

  Decrypt the message without computing bobs private key

Decrypt the message without computing Bobs private key. Just look at the cipher text and use the fact that there are only very few masking keys and a bit of guesswork.

  Subset-sum problem

Calculate some number x= Sum - 2K. Create new set A by add x to the set B {b1, b2,....., bn} U {x}, where the summation now is B+x. it is possible to split the numbers in A into some subsets iff they can summing up to K:

  Problem related to lcg

Consider the LCG defined by m = 16, a = 5, c = 3, and Z0 = 7. Compute until Z19 and verify that when i = 16, the exact the same order will show up. Show all results in a table.

  Write down an illustration of a hypothetical situation when

question 1 explain why t1s values above 0 versus c will not matter for comparing algorithms.question 2 give an example

  Write a research paper - utilize the lirn library

Utilize the LIRN Library to help you search for resources. You can visit the Academic Resource Center for a guide on how to utilize the LIRN Library successfully.

  Productions of nonterminals as right regular grammars

Rewrite the productions for each of the following nonterminals as right regular grammars: Identifier, Float. Show the moves made using the DFSA for identifiers in accepting.

  Create a recursive java method maximum

Create a recursive java method maximum that calculate the maximum element of a linked list of integers.The solution must be simplified and should not use class Node or head

  Create and implement a lexical analyzer for c

Create and implement a lexical analyzer for C-- as follows: Write the set of token types to be returned by lexical analyzer. Explain regular expressions for this set of token types.

  Create mealy type state machine with input and output

Create the Mealy type state machine with input X and output Y. Y must be 1 whenever sequence 110 or 101 has been detected on X on last 3 consecutive rising clock edges.

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