Models Of Computation-Design Turing machine

Assignment Help Basic Computer Science
Reference no: EM132445159

1. Design a Turing machine that implements a queue. The input will be a string of the form {+x|-}, where x is a symbol in the input alphabet (other than + or -), e.g., "+a + b + c - +a + e - - + b". "+a" means add a to the tail of the queue, and - means remove the head of the queue. The output should be the contents of the queue after executing all the operations indicated by the input. In this example, the output would be "aeb". The TM should have three tapes, one for input, one for output, and a scratch tape. The scratch tape should have two tracks. You don't need to use Deus Ex Machina for this problem.

2. Design and test a multi-tape Turing machine, M, that recognizes the language {ww|w ∈ Σ ∗} where Σ = {a, b}. Use Deus Ex Machina to create the TM.

3. Complexity class P was defined with respect to single-tape Turing machines only (cf. Definition 1.11.) Suppose that language L is accepted in polynomially bounded time by some multi-tape Turing machine. Show that L is in P.

4. Show that the language {wcwR|w ∈ Σ ∗} where Σ = {a, b} is in LOGSPACE by designing a multi-tape, off-line Turing machine that accepts it using only logarithmic space. (Hint: Your machine might use two worktapes to hold binary counters.)

5. Use Deus Ex Machina to design a non-deterministic TM that accepts the language {a n|n is a composite number}. Recall that a number is composite if it is the product of two natural numbers other than 1. Use the Multiplication Machine as a submachine.

Reference no: EM132445159

Questions Cloud

Employer to develop incident response plan : Assume that you have been tasked by your employer to develop an incident response plan. Create a list of stakeholders for the IR planning committee.
Discuss business processes and technology tools : Discuss business processes-technology tools that can be used to help manage them effectively. How your organization may evaluate, approach IT operations process
Database security-compromised data integrity breaches : Discuss the risk and costs of compromised data integrity breaches. Focus on integrity not confidentiality.
Dissertation idea : The first step in doing any research (including your dissertation) is coming up with an idea or topic to research.
Models Of Computation-Design Turing machine : Design a Turing machine that implements a queue. The scratch tape should have two tracks. You don't need to use Deus Ex Machina for this problem.
What is weakest link in security of IT infrastructure : What is weakest link in security of IT infrastructure? What are some of the strategies for reducing the risks? Describe in your own words what a rootkit is.
Create list of stakeholders for the IR planning committee : Assume that you have been tasked by your employer to develop an incident response plan. Create a list of stakeholders for the IR planning committee.
Identifying physical properties and meaning : Data examination-Identifying physical properties and meaning. Enhancing your data through modification and consolidation.
Adopt new software tool for personnel management : Describing how you would advise a CEO of a foreign country(not India and not the US) to adopt a new software tool for personnel management.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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