Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (anonymous):

the Haulting question: say there was a computer program, decide whether the program finishes running or runs forever!?!?!

OpenStudy (owlfred):

1234, mind if I ask you a couple questions. I see you're a new user and want to get your thoughts on some things about OpenStudy.

OpenStudy (anonymous):

sure why not?

OpenStudy (anonymous):

i have a concern

OpenStudy (anonymous):

no program runs forever, is this about the philosopher's paradox?

OpenStudy (anonymous):

for you owlfred

OpenStudy (anonymous):

no faiona

OpenStudy (owlfred):

Are you a student now?

OpenStudy (anonymous):

i want to see you postulate possible value for a total computable function fiona!

OpenStudy (anonymous):

what is your approach?

OpenStudy (anonymous):

to not misspell people's nicknames is a good one

OpenStudy (anonymous):

http://en.wikipedia.org/wiki/Halting_problem

OpenStudy (anonymous):

pardon

OpenStudy (anonymous):

oh!!!

OpenStudy (anonymous):

i see wikipedia has answer?

OpenStudy (anonymous):

yup.maybe çause it's hAlting not hAUlting :)

OpenStudy (anonymous):

can i see how you would approach this problem?

OpenStudy (anonymous):

faiona

OpenStudy (anonymous):

i want to asses your aptitude

OpenStudy (anonymous):

I specialize in databases, so likely by turning it over to a developer

OpenStudy (anonymous):

are you a student?

OpenStudy (anonymous):

??

OpenStudy (anonymous):

The thing to realize is that the Halting Problem, technically undecidable, is basically theoretical not practical. It doesn't really connect well to the "real world" of computing. In reality, if a program seems to just keep running forever thats generally because it contains an infinite loop or has hung on some bad input. A recursive routine that does not contain a stopping condition will execute for quite a long time but will eventually eat up all the computer's stack space and crash, terminating the program. An infinite loop can technically run forever, provided it makes no changes to data stored in the computer's memory.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!