Thursday
June 20, 2013

Homework Help: Computer Science

Posted by Elizabeth on Sunday, November 22, 2009 at 1:54pm.

What is the halting problem? What does it have to do with self referential paradoxes?
How do I make sense of this?
"So suppose I have a black box which can decide the halting problem, that is I can give it a program P and the box tells me if P will ever stop.

Using this I can make a program P' that works as follows:
Given a program P ask the box if P will stop.
If P will halt run forever.
If P will run forever, halt.
Last step, give P' as input to itself, if P' will run forever it must halt. "

I don't understand why there is a P' here? And why we have regular P and P'. I'm so confused.

No one has answered this question yet.

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

URGENT Needs Physics Help - Ok, so I am doing this paper on the physics mistakes...
Urgent Needs Physics Help - Ok, so I am doing this paper on the physics mistakes...
Physics - Specifically, which of the following best expresses your view: i. Many...
Physics - Specifically, which of the following best expresses your view: i. Many...
Physics - Specifically, which of the following best expresses your view: i. Many...
probability - out of 250 students interviewed at a community college, 90 were ...
English - Let's write down what you can do with the computer. 1. I use the ...
computer science - ineed help with c++. i am using code blocks and i have a ...
Computer Harware - You have a single hard drive on your computer that contains ...
Socials - Napoleon told the Africans of Haiti that he understood their plight. ...

For Further Reading

Search
Members
Community