the halting problem, given a description of a computer program decide weather the program finishes running or continues to run forever
ok?
well what is the program description
before i proceed, what credentials do you have? if you dont mind me asking
im a computer sciene student
so proceed to answer
???
ok if input and output produce a definite result and answer does not continue in a infinite loop or an infinite recursion process then it will have a output
if after the program outputs a result and stop it has terminated
Interesting answer, but consider the sketch of proof, The proof shows there is no total computable function that decides whether an arbitrary program i halts on arbitrary input x; that is, the following function h is not computable.
procedure compute_g(i): if f(i,i) == 0 then return 0 else loop forever
tht was on wikipedia
it basically proves what i was saying
right
its is in java if u dont understand tell me
come again?
all possible pairs cannot exist
for this question to be solved
hmmmm....
ok next question
Join our real-time social learning platform and learn together with your friends!