Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

History and Philosophy of Computing The Halting Problem and Uncomputability

Exercise 1 Construct the list of values for some initial segment of some list Si which is a subset of N.

Exercise 2 Cantor's Theorem states that there are more characteristic functions of sets than there are computable ones. Because we know that each computable function corresponds to the program of a Turing Machine, the theorem says something of programs as well. Explain what informally.

Exercise 3 You have written some algorithm, you launch it and it starts running, eventually for days. How do you know if it will ever stop? Should you wait? If you are looking to assess the syntax of the program for possible reasons, what would you look for?

Exercise 4 Who proved that the halting problem was impossible to solve, and when?

Exercise 5 Can you tell if the following program halts or not? Why?

def f ( int n)
if (n == 0 )
return 1
else return n * (f ( n -1))
end

end

Exercise 6 Can you tell if the following program halts or not? Why?

def f ( int n)
if (n < 0 )
do f( n + 2 )

elsif ( n > 0 )

do f( n - 2)

end

end

Exercise 7 Can you tell if the following program halts or not on any input? Try with some large input, e.g. 156:

void f( int x) {
while (x > 1 ) {
if (x % 2 == 1 )
do x = 3*x + 1;

else

do x = x / 2 ;
}
}

When do you think it is safe to stop a computation to say it will not halt?

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M92750815
  • Price:- $50

Guranteed 36 Hours Delivery, In Price:- $50

Have any Question?


Related Questions in Homework Help/Study Tips

Question threat modeling and security testing are similar

Question: Threat modeling and security testing are similar in regard to both serve the purpose of addressing risk, however, both have their own respective specific purpose. For this assignment identify and explain the ke ...

Question create a hypothetical business scenarionbsp in

Question: Create a hypothetical business scenario   in which there is a clear ethics violation. Suggest a plan of action to resolve this situation. Complete your scenario in a total of no more than 225 words. The respons ...

Course-level student learning outcomes slofor all

Course-Level Student Learning Outcomes (SLO) For all Assessments, the following general requirements hold: (1) Assignments should be 2-3 double-spaced pages, with reasonable (12 pt.) font and reasonable (1 inch) margins. ...

Discussion to receive full credit for week one of the

Discussion: To receive full credit for Week One of the discussion board, you must post the following: At least one answer from any chapter assigned (Chapters 1-3) At least two replies to the posts of other students For f ...

Question in order to evaluate an evidence-based practice

Question: In order to evaluate an evidence-based practice project, it is important to be able to determine the effectiveness of your change. Discuss one way you will be able to evaluate whether your project made a differ ...

Question bullcontrast the primary differences between

Question: • Contrast the primary differences between independent contractors, temporary employees and volunteers. Then, examine two (2) way2 in which each role differs from that of an employee. Justify your response. • F ...

Write a 2- to 3-page paper excluding title page and

Write a 2- to 3-page paper (excluding title page and reference list) that includes the following components: Introduction Discuss the assumptions of the symbolic perspective. Describe some of the rituals or ceremonies in ...

Question before you begin this assignment read through the

Question: Before you begin this assignment, read through the Home page and the required readings. Specifically, view the E-learning course - Introduction to epidemiology video. As a health officer, you have been asked to ...

Discussion forumhow can a market analysis provide the

Discussion Forum How can a market analysis provide the concrete data required to steer planning and development into a new venture? If you were the CEO of a healthcare facility of your choice, what aspects of a recent ma ...

What are the characteristics of the ideal parents how does

What are the characteristics of the ideal parents? How does parenting style change as a child develops?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As