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

  Businesses can have ethical standards

Businesses can have ethical standards, but Businesses are not moral agents. Do you agree or disagree?

  Explain the importance of histories and their relationship

Explain at least two ways in which ethnocentrism, stereotyping, prejudice, and discrimination act as barriers to effective intercultural communication.

  Provide a summary for article

You must provide a summary for each source. Summaries are to be 120---150 words; therefore the source must be at least 400 words in length.

  After reviewing the tips for revision editing and

75- 100 wordsrevision planafter reviewing the tips for revision editing and proofreading from the reading this week

  Describing the important attributes of the company

Describing the important attributes of the company that should be considered when analyzing its consideration of social responsibility

  Informative writing-persuasive writing-descriptive writing

For the three components of nonfiction literature (Informative writing, Persuasive writing, Descriptive writing), what do you think the author's intentions.

  Variety of interesting somatoform

In this chapter the textbook covers a variety of interesting somatoform and dissociative disorders. For our discussion this week I would like to pay close attention to the diagnosis of Dissociative Identity Disorder (DID). Many of us have seen movies..

  Describe the definition of nursing-metaparadigm theories

Describe the definition of nursing as put forward by the American Nurses Association. How does it address the metaparadigm theories of nursing?

  What would the participants in the control group do

What would the participants in the control group do

  Explain how different individual ethical perspectives

explain how different individual ethical perspectives can be reconciled to account for the ethical expectations of most businesses

  How do you see these poets fitting into american literary

As you read their work from the Poetry Foundation's website, read a little bit about their biographies as well. How do you see these poets fitting into the American literary tradition as we have experienced it so far?

  Famous ancient roman structures

Select one (1) of the following famous ancient Roman structures that you find most fascinating: Colosseum, Circus Maximus, Pantheon, insulae, or bath complexes.

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