Construct the list of values for some initial segment

Assignment Help Other Subject
Reference no: EM131912149

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?

Reference no: EM131912149

Questions Cloud

Access management services : Today, several security services are increasingly provided as common security services. These include audit and monitoring services, authentication services
Comparing keys and operating : Let T be the decision tree of a sorting algorithm based on comparing keys and operating on a list containing n different keys. Show that the height
Was the original source of information reputable : Was the original source of information reputable? Why/Why not? Please provide evidence from reputable sources to support your response for each article/item.
Algorithm for sorting an array segment : Consider the following algorithm for sorting an array segment A[0..n-1]. In the first step the algorithm performs the bubble-up operation on the range
Construct the list of values for some initial segment : CSD3203 – History and Philosophy of Computing The Halting Problem and Uncomputability - Who proved that the halting problem was impossible to solve, and when
Describe an algorithm that makes use of the sorted : A sorted list of n strings is given. Describe an algorithm that makes use of the sorted order and determines whether a given string x is a member of this list.
Digital devices from paul douglas peters : Assume a warrant was granted to search and seize digital devices from Paul Douglas Peters' residence.
Find a formula expressing the sum of degrees : Find a formula expressing the sum of degrees of all nodes of a tree in terms of the number of its nodes. Prove your formula by structural induction.
Describe how the article illustrates the concept : Analyze the article and make specific and direct connections to two (2) concepts that we have covered in class.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd