{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

MidTerm1SamplesFromNotes

# Evenx 1 if x is even evenx 0 if x is odd you may

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview:   ~A: can be non- re. If ~A is always re, then all re are recursive as any set that is re and whose complement is re is decidable. However, A = K is a non- rec, re set and so ~A is not re. 2/23/14 © UCF EECS 2 Sample Ques+on#3 3.  Present a demonstra+on that the even func+on is primi+ve recursive. even(x) = 1 if x is even even(x) = 0 if x is odd You may assume only that the base func+ons are prf and that prf’s are closed under a ﬁnite number of applica+ons of composi+on and primi+ve recursion. DONE in class. 2/23/14 © UCF EECS 3 Sample Ques+on#4 4.  Given that the predicate STP and the func+on VALUE are prf’s, show that we can semi- decide { f | ϕf evaluates to 0 for some input} This can be shown re by the predicate...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern