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

  Assignment on business impact analysis

In order for an organization to develop an effective business continuity plan or disaster recovery plan, it must know what information assets it has, their impact on business operations, and the criticality and priorities associated with the infor..

  Explain the concept of arrays with reference to assembly

Explain the concept of arrays with reference to assembly, C or any other programming languages. How do pointers help in manipulating arrays?

  What personal and organizational solutions

Create a 8 - 12 slide power point that discusses whether cognitive overload is a problem in work or education. What personal and organizational solutions can you recommend for this problem?

  Organizational assets and information

Protecting organizational assets and information within the company has become a top priority for many organizational leaders. Review the article titled "Missed Alarms and 40 Million Stolen Credit Card Numbers: How Target Blew It", located here.

  Performs risk assessment and risk mitigation plan

Performs a Risk Assessment and Risk Mitigation plan for CarVend Sales Inc. Also create a BIA and BCP for the company.

  Represent the characters of english alphabet

1a. What is the minimum number of bits that are required to uniquely represent the characters of English alphabet? (Consider upper case characters alone)

  When does the system have to pay its bills

Suppose one of the suppliers to Seattle Health System offers terms of 3/20, net 60.

  Search for web video editing software used

Use your favorite web engine to search for web video editing software used for digital authoring. Once you find the software, please answer the following

  Define the use of the static variable

Can you use a static variable in the definition of a static method of the same class? Can you use a static variable in the definition of a nonstatic.

  Much has been made of the new web 2.0 phenomenon

Much has been made of the new Web 2.0 phenomenon, including social networking sites and user-created mash-ups.

  Write a c function that takes an array of integers

If the sum of even numbers is larger, the function returns 1. If the sum of odd numbers is larger, the function returns -1. If both sums are equal, the function returns 0.

  Identify a matching firm in firm industry

Compare your firm's long term debt/total assets and Long term debt/Equity ratio with your matching firm.

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