Computer Science  >  SOLUTIONS MANUAL  >  SUNY Buffalo State College_CSE 396_CSE396ps10key-REVIEWED AND EDITED BY EXPERTS (All)

SUNY Buffalo State College_CSE 396_CSE396ps10key-REVIEWED AND EDITED BY EXPERTS

Document Content and Description Below

CSE396 Problem Set 10 Answer Key Spring 2018 (1) Answers revealed on TopHat. Please read and study the paragraph-length explanations for each question. (2) The Turing Kit shows Turing machine tapes ... that are infinite in both directions but other sources stipulate a sharp left edge at cell 0. Some of those sources say that an attempted left move in cell 0 becomes a stay move, but let us say instead that the TM then hangs. There is a simple way to simulate a virtual two-way infinite tape by a one-way infinite tape that is guaranteed not to hang: implement cell +m on Turing Kit as cell 2m and cell −m as cell 2m − 1. Every time the Turing Kit machine moves a head R move your head R twice and similarly translate L to L twice, unless the move crosses cell 0, in which case you give-ortake an extra step to shift between the \odd track" and the \even track." There is only a roughly-factor-of-2 time slowdown. Nevertheless, a Turing machine with one-sided tapes that isn’t doing this emulation can still hang. It’s a reasonable metaphor for real-world \hangs"|where unlike an infinite loop, you know immediately that something has gone wrong. We’d like to make both our Turing machines and our device drivers hang-free, but. . . So we have this decision problem: • Instance: A Turing machine M coded for a single one-way-infinite tape. • Question: Does there exist an input x such that M(x) hangs? Prove by reduction from any of ATM, KTM, or NETM (your choice) that this problem is undecidable. Show also that its language is computably enumerable. (Hints: A technical detail which you should reference in your proof: there is a guaranteed no-hang universal Turing machine U that the machine M0 you create in your reduction can call for the \Simulate M on. . . " body of your code. Your M0 will have other code that could be accompanied by the Kingston Trio recording of \Tom Dooley" [you can Google that]. 18 + 6 = 24 pts.) [Show More]

Last updated: 2 years ago

Preview 1 out of 4 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of SUNY Buffalo State College_CSE 396_CSE396ps10key-REVIEWED AND EDITED BY EXPERTS document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Reviews( 0 )

$7.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

166
0

Document information


Connected school, study & course


About the document


Uploaded On

May 07, 2021

Number of pages

4

Written in

All

Seller


Profile illustration for d.occ
d.occ

Member since 4 years

232 Documents Sold

Reviews Received
30
8
4
1
7
Additional information

This document has been written for:

Uploaded

May 07, 2021

Downloads

 0

Views

 166

Document Keyword Tags


$7.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·