Show that K is not computable

Assignment Help Theory of Computation
Reference no: EM133035864

Question 1 Show that L(G1) ∩ L(G2) = Φ is co-CE but not computable (decidable). Here G1 and G2 are context-free grammars.

Question 2 For this question the alphabet is {a, b}. Suppose that the language L is CE but not computable; this means that L¯ cannot be CE. We define a new language as follows:

K= {aω|ω ∈ L} ∪ {bv|v ∈ L¯}.

1. Show that K is not computable.
2. Show that K is not CE.
3. Show that K is not co-CE.

Question 3 Suppose that M is a Turing machine and w is a word. Is the question "Does M ever use more than 330 cells on its tape while processing ω?" decidable or not. Prove your answer Hint: Rice's theorem will not help you.

Question 4

1. Here is a question on regular languages just to get you in shape for the final exam. Suppose that L is a regular language and to is any word, not necessarily in L. We define the set

L/ω = {x ∈ ∑*|xω ∈ L}.

Show that L/ω is regular.

2. Suppose that G is a context-free grammar. Show that the question "Is L(G) regular?" is undecidable. Here is a possible approach. Let N be some language that is known to be context-free but not regular (for example, {anbn|n ≥ 0}). Now consider the language L = (N#∑*) U (∑*#L(G)), where # is some symbol that is not in L(G) or N. Prove that L is always context-free but is regular if and only if L(G) = ∑*. This, by itself, does not complete the question, so you have to complete all the remaining steps as well as proving the claim. Also, you should think about why I put part (1) together with this question? You are free to ignore this hint, but if you do so, I will mark you just as rigourously as the people who used the hint.

Question 5 You are playing a video game under the following idealized conditions. The computer memory is unbounded and you have no time limit for finishing the game.

The game board is the set of points in the plane with integer coordinates and time moves in discrete integer steps. There is a hidden submarine: you do not not know its location, you do not know its speed and you do not know its direction of motion. The speed and direction of motion do not change throughout the game. The speed is a natural number and the direction of motion is either "up", "down", "left" or "right". For example, the submarine could start at (2,3) have speed 7 and move right. Then at step 0 it is at (2,3), at step 1 it is at (9,3), at step 2 it is at (16,3) and so on.

At every step you get to zap a point: you enter the coordinates and if the submarine is at that point, at that time step, you will destroy it. Of course, there is no point zapping a position before it gets there or after it leaves. Give a strategy or scheme that is guaranteed to get the submarine at some finite stage. I repeat, you do not know where it started, you do not not know its direction and you do not know its speed; you only know that the speed and direction do not change. You get zero points for this question if your strategy works probabilistically; this question has nothing to do with probability.

Hint: Ask yourself, "why is this on the homework for this class? It is a direct application of something I have discussed in class." Also, thinking geometrically will not help you.

Reference no: EM133035864

Questions Cloud

What is the required return on the company shares : If the company has a dividend yield of 4.22 per cent, what is the required return on the company's shares
Discuss linkages between risk analytics-data and technology : Analyze the ERM frame work and should address the following points- Explain if the framework can be applied to organizations in every industry
What is the expected profit on the contract : Assumer that the agreed upon price is 90,000, what is the expected profit on the contract assuming that it brings in 20 new patients
Advantages of cheap labour : Do you think it is a good idea to invest in a country to get the advantages of cheap labour?
Show that K is not computable : Show that K is not computable and Give a strategy or scheme that is guaranteed to get the submarine at some finite stage
Different conflict management styles : How can the misuse of power and inappropriate use of influence techniques negatively impact your effectiveness as a leader?
How should this be recorded or what should the journal entry : A company sustained a $96,000 storm damage loss during the current year. How should this be recorded or what should the journal entry be
Global health observatory data repository : From a Healthcare Adminstors perspective, the Global Health Observatory Data Repository addresses Health Financing and Health Workforce.
Explain the accounts payable and accounts receivable : Question 1: What is the difference between accounts payable and accounts receivable?

Reviews

len3035864

11/25/2021 11:13:11 PM

Hi, please read all of the questions and complete every part. This is the most important homework thank you.

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