Construct a turing machine

Assignment Help Computer Engineering
Reference no: EM133143072

Question:

(a) Construct a Turing Machine that on input 0n, i.e. n zeros, outputs the number n in binary.

There is no need to give the precise transition function - you should explain how the machine works in plain English. You may use multiple tapes in your machine.

(b) Consider the problem of determining whether two Turing Machines A and B decide different languages. Prove that this problem is ni-complete.

(c) Fix the tape language of a Turing Machine to be {0, 1, U} Let f (n) be the maximum number of steps that any Turing Machine with n states makes before it terminates when ran on the empty input. Are there computable functions g (n) and h (n) such that g (n) ≤ f (n) ≤ h(n) for every n? Justify your answers. If h or g exists, provide a good lower or upper bound, respectively. The better bounds you give, the higher mark you will get.

(b) The weight of a cycle in an undirected graph with positive edge weights is defined as the sum of the weights of the edges in the cycle.

SMALL WEIGHT CYCLE

Instance: an undirected graph G = (V, E) with positive weights on its edges, a path P in C, and a positive integer k. Question: does C contain a cycle that includes all the edges of the path P and has weight at most k?

LARGE WEIGHT CYCLE
Instance: an undirected graph C = (V. E) with positive weights on its edges, a path P in C, and a positive integer k. Question: does C contain a cycle that includes all the edges of the path P and has weight at least k?

i. Provide a polynomial algorithm (without writing any pseudocode) and prove its correctness for Low WEIGHT CYCLE.

ii. Describe a polynomial-time reduction from HAMIUMNIAN CYCLE to LARGE WEIGHT CYCLE and prove its correctness.

Reference no: EM133143072

Questions Cloud

Addresses the care of the entire person-body : Dr. Ramsden is a general practitioner who addresses the care of the entire person-body, mind, and spirit. What kind of health care does Dr. Ramsden most likely
Importance of validity and research design : Discuss the importance of validity and research design.
Record the admission of Mona : KD and Lexa of the KL PARTNERSHIP have capital balances of Php180,000 and Php360,000, respectively. Record the admission of Mona
Recommendations for a plan of action : A problem has come up with the working conditions at the call center in Bangalore, which leads to an uncomfortable conversation with CEO Jacob Zielinski.
Construct a turing machine : Construct a Turing Machine - Provide a polynomial algorithm (without writing any pseudocode) and prove its correctness for Low WEIGHT CYCLE
Improve team member engagement : If you are a team leader or manager, how can/will you improve your team member's engagement including knowledge, skills, and abilities?
The evolution of the family : Families have changed over the years. Discuss how and the various household types we find today as compared to past generations.
Article on violence in the workplace : Then find 1 article on Violence in the workplace. Summarize both articles(separately), in your own words, and then answer the following question.
What is the carrying value of the note receivable : Interest effective on January 1, 2022 is 5%. What is the carrying value of the note receivable as of December 31, 2022

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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