Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Explain why the following is not a description of a legitimate Turing machine. Mbad= “On input (p), a polynomial over variablesx1,...,xk:

1. Try all possible settings of x1,...,xk:to integer values.

2. Evaluate p on all of these settings.

3. If any of these settings evaluates to 0, accept; otherwise, reject.”

Short Answer

Expert verified

The machine requires all possible numbers as input. This is not a legitimate Turing machine because they have not been provided.

Step by step solution

01

Explain Turing machine

A Turing machine is a computer programme that, in theory, uses a table of rules to manipulate symbols on a tape strip. The Turing machine is a simple machine, it is made to mimic the logic of any computer algorithm. It is also very helpful for explaining how a computer's CPU works.

02

Define Legitimate Turing machine

Turing machines decides and recognize the decidable/recognizable languages. Turing machines compute the changes in the current state and the content of the current tape. The Turing machine computes the current head location also. The computation of the language continues until the state becomes an acceptorrejectstate.

The description does not provide an upper bound for integer values the Turing Machine must check, so it is possible that it is never stop checking values. Therefore, there is no point whereMbad rejects.

To complete the calculation, the aforementioned machine requires all possible numbers as input. This is not a legitimate Turing machine because they have not been provided.

Hence, the given Turing Machine does not have a legitimate description.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Let a k - PDA be a pushdown automaton that has k stacks. Thus a 0 - PDA is an NFA and a 1 - PDA is a conventional PDA. You already know that 1 - PDAs are more powerful (recognize a larger class of languages) than 0 - PDAs.

a. Show that 2 - PDAs are more powerful than 1 - PDAs.

b. Show that 3 - PDAs are not more powerful than2 - PDAs. (Hint: Simulate a Turing machine tape with two stacks.

This exercise concerns TM M2, whose description and state diagram appear in Example 3.7. In each of the parts, give the sequence of configurations that M2 enters when started on the indicated input string.

a. 0.

b. 00.

c. 000.

d. 000000.

Examine the formal definition of a Turing machine to answer the following questions, and explain your reasoning.

a. Can a Turing machine ever write the blank symbol on its tape?

b. Can the tape alphabetΓbe the same as the input alphabet?

c. Can a Turing machine’s head ever be in the same location in two successive steps?

d. Can a Turing machine contain just a single state?

Question:LetB={M1),(M2.......} be a Turing-recognizable language consisting of TM descriptions. Show that there is a decidable language C consisting of TM descriptions such that every machine described in B has an equivalent machine in C and vice versa.

In Theorem 3.21 we showed that a language is Turing-recognizable iff some enumerator enumerates it. Why didn’t we use the following simpler algorithm for the forward direction of the proof? As before, s1,s2,... is a list of all strings in *

E = “Ignore the input.

1. Repeat the following for i=1,2,3,...

2. Run M on si.

3. If it accepts, print out si.”

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free