Write programs for turing machines

Assignment Help Mechanical Engineering
Reference no: EM132246995

Assignment -

1. Turing machine - state level.

Write programs for Turing machines that solve the following computing problems:

a. L(x) = 1 if the input data x is a string of symbols in which symbols a are exactly twice as many as the symbol b (L(x) = 0 if the input data is not in this form);

b. L(x) = 1 if the input data is a string of symbols in the form aibk, where i ≥ 0 and k = 2i (L(x) = 0 if the input data is not in this form).

The standard model of this course for Turing machines should be used (one ribbon on which the input x is written and the remaining cells initially have a blank symbol). Descriptor Level: Turing Machine Program (either in the form of a drawing or as a list of commands).

2. Turing Machines - Text Level.

Describe a Turing Machine that solves the following computing problem:

L(x) = 1 if the input x is in the form aibk where i ≥ 0 and k = i3 (L(x) = 0 if the input data is not in this form).

The standard model of this course for Turing machines should be used (one ribbon on which the input x is written at the beginning and the other cells have a blank symbol initially). Descriptor Level: A textual description of how the Turing Machine works (for example, "moves right to the first symbol that is b").

3. Multi-Turing Turing Machine.

Write a program for a multipurpose Turing machine that solves computing problem:

L(x) = 1 if input data x is a string of symbols in the form 0^i1 # 0^i2 # ... # 0^ik to some k ≥ 2 and to some i1, i2, ...,ik and at least one from i2, ...,ik is equal to i1.

Descriptor Level: Turing Machine Program (either in the form of a drawing or as a list of commands).

Note - Need to solve tasks of Turing machine.

Verified Expert

This assignment is based on Turing machine and we have completed the programs for Turing machines at state level and text level.In the problem 3 we have written program for a multipurpose Turing machine.This is all about complete assignment

Reference no: EM132246995

Questions Cloud

Prepare the journal entries to record the issuance of bonds : Blossom Company issued $2,700,000 of 10%, Prepare the journal entries to record the following - The issuance of the bonds
Determine lionel breakeven point in sales dollars : Determine Lionel's breakeven point (operating profit = 0) in sales dollars for the fiscal year ending June 30, 2019
What is the minimum number of switches : For each machine, what is the minimum number of switches that Vista must make annually for total costs to equal outside purchase cost
What is harold margin of safety in dollars : Harold McWilliams owns and manages a general merchandise store in a rural area of Virginia. What is Harold's margin of safety (MOS) in dollars
Write programs for turing machines : Write programs for Turing machines that solve the following computing problems: L(x) = 1 if the input data is a string of symbols in the form aibk
List the alternants for the prefix : Assignment - Indonesian Verb prefixes - List the Alternants for the prefix. What is the underlying form for the prefix? Justify your choice
Determine the mean of the sampling distribution : MAT-240 Applied Statistics Assignment - Determine the mean of the sampling distribution of p^. Determine the standard deviation of the sampling distribution
What are the basic requirements for obtaining search warrant : Tommy was subsequently charged with attempted burglary and possession of burglary tools. What are the basic requirements for obtaining a search warrant?
Identify methods of recording the crime scene : Describe the procedures for securing and searching the crime scene to include crime scene safety.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Explain reasonable values for a the air velocity

a company owns a refrigeration system whose refrigeration capacity is 200 tons 1 ton of refrigeration 211 kjmin and you

  A pilot tube mounted on a aicraft flying at 2700 m

a pilot tube mounted on a aicraft flying at 2700 m measures a differential pressure of 30mmhg. assuming a standard

  Prepare and discuss a plot of the ring velocity

Write a program that computes the self-induced velocity of a circular vortex ring of radius a based on the regularized Biot-Savart integral.

  What is the expected drag force of the model

What is the expected drag force of the model?

  Determine the x-direction component of anchoring force

Water from a garden hose is sprayed against your car to rinse dirt from it. Estimate the force that the water exerts on the car. List all assumptions and show calculations.

  What is the velocity of water at the nozzle outlet assume

a fire hose has a length of 100 feet is 4 inches in diameter and has a roughness of 14inch. the fire hose leads into a

  Estimate the doubling time of the human population

The Earth is approximately two-thirds water and can be approximated as a sphere of 8000 mi in diameter. Then, discuss the implications for these estimates.

  The third law entropy for gas at stp is 270 jkmole

one mole of ideal monoatomic gas undergoes an irreversible adiabatic process in which gas ends up at stp and for which

  Effect of the insulation thickness on the temperature

Explore the effect of the insulation thickness on the temperature of the aluminum and the heat loss per unit tube length

  Find the derivative

Find the general solution x(t) for the following differential equation x'(t)=t^3/3. Find the particular solution x(t) for the following differential equation x'(t)=t^3/3 with initial condition x(t=1)=2.

  What is the safetyfactor against brittle fracture

A beam with a rectangular cross section has dimensions, as defined in Fig. 8.13, of b = 40and t = 10 mm. The beam is made of 7475-T7351 aluminum and is subjected to a bendingmoment of M = 900 N·m.

  Determine the force on each of the four bolts

Four bolts in the holes shown in the Figure hold the window in place. If the windows are to be installed with their centers at a depth of 3 ft below the surface of the water, determine the force on each of the four bolts.

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