Explanation of turing machine

Assignment Help Theory of Computation
Reference no: EM1380779

Question: Devise a Turing machine with input given in unary notation (i.e., a string of n 1's denotes the integer n, and numbers are delimited by 0's) such that the machine produces the following output:

0 if x is divisible by 4

1 if x is congruent to 1 modulo 4

2 if x is congruent to 2 modulo 4

3 if x is congruent to 3 modulo 4

Demonstrate the state table for the machine.

 

Reference no: EM1380779

Questions Cloud

Explain what is main basis for optimum mix of debt : Main basis for optimum mix of debt also equity in a company is generation of cash flow from investing activities of firm or company. Explain
Explain how has technology fostered new cost effective : Explain how has technology fostered new cost effective virtual methods of training. Discusses explain how shift from labour intensive manufacturing to automation has affected product costing.
A company that sells an online course aimed at helping : A company that sells an online course aimed at helping high-school students improve their SAT scores has claimed that SAT scores will improve by more than 90 points on average if students successfully complete the course
Find out what is troublesome and frustrating : A manager is intrigued why some people seem to derive joy from work and get energized by it, while others find it troublesome and frustrating.
Explanation of turing machine : Devise a Turing machine with input given in unary notation such that the equipments produces the following output, 0 if x is divisible by 4,
Findings is that average annual household spending : The U.S. Bureau of Labor Statistics released its Consumer Expenditures report in October 2008. Among its findings is that average annual household spending on food at home was $3,624.
Illustrate risks also benefits of purchasing a home : Illustrate what is your recommendation as to risks also benefits of purchasing a home based on se considerations.
Is it ethical to use design elements also special effects : Is it ethical to use design elements also special effects to persuade an audience. Explain why or explain why not. Please feel free to use an example.
Determine if benefits of free trade outweigh drawbacks : Is it discrimination for a Chinese restaurant to only hire Chinese servers. Explain why or explain why not. Determine if benefits of free trade outweigh drawbacks also illustrate what could be done to address drawbacks.

Reviews

Write a Review

Theory of Computation Questions & Answers

  Question about perfect programming language

I have noticed that there are several languages, is this because no one language has all the main elements needed to be a perfect programming Language?

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Determine if system in a safe state-share nine tape drives

There are four processes that are going to share nine tape drives. Their current and maximum number of allocation numbers. Is system in a safe state? Explain why or why not?

  Why every nonempty propositional clause itself satisfiable

Describe why every nonempty propositional clause, by itself, is satisfiable. Prove rigorously that every set of five 3-SAT clause is satisfiable, given that each clause mentions exactly three distinct variables.

  Create a mealy machine which produces the output

Create a Mealy Machine which produces the output of 1 whenever discrepancy in above pattern is detected, and produces the output of 0 otherwise. Write states meaningful names.

  Deterministic finite and non-deterministic finite automata

Describe the difference between a Deterministic Finite Automata and Non-Deterministic Finite Automata. In general, which one is expected to have less number of states ?

  If l recognized by dfa then language left half is regular

We showed to prove that if L can be identified by DFA then the language left half(L) = {x ∈ ∑*|∃y xy ∈ L and |x| = |y|} is also regular; here |x| means length of x.

  What ambiguity exists in the statement

Suppose f is a function that returns the result of reversing the string of symbols given as its input, and g. What ambiguity exists in the statement x?

  Proving language to be pumping lemma

Show that the language F = {a^i b^j c^k | i, j, k greater than or equal to 0 and if i = 1 then j = k} is not regular. Show, however, that it satisfies the statement of the pumping lemma

  Write grammar for language consisting of strings

Write a grammar for the language consisting of strings that have n copies of the letter a followed by same number of copies of the letter b, where n>0

  Create standard 1-tape turing machine to calculate function

Create a standard 1-tape Turing machine M to calculate the function sub3. Specifically, calculate sub3 of a natural number represented in binary.

  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