{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cot6410F10Midterm2Key - COT 6410 Fall 2010 Exam#2 Name KEY...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COT 6410 Fall 2010 Exam#2 Name: KEY 12 1 . Choosing from among (REC) recursive , (RE) re non-recursive, (coRE) co-re non-recursive , (NRNC) non-re/non-co-re , categorize each of the sets in a) through d). Justify your answer by showing some minimal quantification of some known recursive predicate. a) A = { f | f(f) } 5 t STP(f,f,t) RE b.) B = { f | range(f) is a proper subset of } 5 x 2200 <y,t> [STP(f,x,t) Value(f,y,t) ≠ x] NRNC c.) C = { f | f(0) take at least 100 steps to converge, if at all } ~STP(f,0,99) REC d.) D = { f | f diverges everywhere } 2200 <x,t> ~STP(f,x,t) coRE 6 2 . Define, compare and contrast the notions of Countable and Recursively Enumerable for some set S . Question 7 actually gives one of these definitions. A set S is countable iff it can be placed in a 1-1 correspondence with a subset of the Natural numbers. That is, S is countable iff there is an injective mapping (not necessarily computable) that associates each element of S with a unique element of . Alternatively, S is countable iff S is empty or there is a surjective mapping (not necessarily computable) that associates each element of with a unique element of S. A set S is recursively enumerable (re) iff it is either empty or there exists a total computable function that effectively maps the Natural numbers onto the set. That is, S is re, non-empty iff there is an algorithm (a total computable function), f, whose domain is and whose range is S. Every re set is countable, but not every countable set is re. The issue is that re requires a mapping that is computable, whereas countable just requires the existence of a mapping; whether or not that mapping is computable is not relevant. Thus, all subsets of
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern