首页 > > 详细

代写CSC173: Homework 3.2 Turing Machines and Decidability调试R语言程序

项目预算:   开发周期:  发布时间:   要求地区:

CSC173: Homework 3.2

Turing Machines and Decidability

1. Answer the following questions about Turing machines. Explain your answers very briefly.

(a)  Can a Turing machine ever write the blank symbol on its tape?

(b)  Can the tape alphabet Γ be the same as the input alphabet Σ ?

(c)  Can a Turing machine’s head ever be in the same location on two successive steps?

(d)  Can a Turing machine contain just a single state?

2. We proved that a language is recognized by a Turing machine if and only if some enumerator enumerates it (Sipser Theorem 3.21). Does the following simpler sim- ulation algorithm work for the proof? Why or why not?

(a)  Repeat for i = 1, 2, . . . :

(b)  Run M on the ith possible input string

(c)  If it accepts, print out that string

3.  Prove that the language L = {an bn cn |n 0} is recursive (decidable).

4.  Prove that if a language L is decidable (recursive), then it is also recognizable (recursively enumerable).

5.  Prove that if L is a decidable (recursive) language, then its complement, L, is also decidable (recursive).

6.  Prove that any finite language is decidable (recursive).

7.  Let A be the language containing only the single string s where

Assume that the question of whether life will be found on Mars has an unambigu- ous yes” or no” answer. Is A decidable (recursive)? Why or why not?



软件开发、广告设计客服
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 9951568
© 2021 www.rj363.com
软件定制开发网!