answersLogoWhite

0


Best Answer

Algorithms do not accept user input; they are not computer programs. All input to an algorithm is specified at the start of the algorithm along with any required preconditions and postconditions. If a required precondition is not specified or is specified incorrectly, then this could result in unexpected results (or undefined behaviour in programming terminology). The type of error in the algorithm is simply that the precondition was not specified.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What type of error in an algorithm will produce unexpected results depending on the number that the user inputs?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What can cause logical error in algorithm?

It can cause abnormal program termination or invalid results.


How do you explain characteristics of algorithm?

Characteristics of algorithms are: Finiteness: terminates after a finite number of steps Definiteness: rigorously and unambiguously specified Input: valid inputs are clearly specified Output: can be proved to produce the correct output given a valid input Effectiveness: steps are sufficiently simple and basic.


What is algorithm and what are its characteristics?

An "algorithm" is simply a method to solve a certain problem. For example, when you use the standard method you learned in school to write down two numbers, one beneath the other, then add them, you are using an algorithm - a method that is known to give correct results in this particular case.


Difference between Bresenham and midpoint circle drawing algorithm?

what is difference between mid-point and bresenhams circle algorithm what is difference between mid-point and bresenhams circle algorithm bresenhams circle algorithm results in a much more smoother circle,comparred to midpoint circle algorithm..In mid point,decision parameter depends on previous decision parameter and corresponding pixels whereas in bresenham decision parameter only depends on previous decision parameter...


What are the differences between Bresenham's line algorithm and Bresenham's circle algorithm?

These two algorithms are almost completely different. The only real similarity is that they are each designed to use only integer addition/subtraction and multiplication, avoiding expensive division and floating point operations.

Related questions

What is an intractable problem in computer limitations and can give the example?

An intractable problem is one for which there is an algorithm that produces a solution - but the algorithm does not produce results in a reasonable amount of time. Intractable problems have a large time complexity. The Travelling Salesman Problem is an example of an intractable problem.


What were the unexpected results of the Treaty of Tordesillas?

The unexpected results is that the papal line cut off most of what is now Brazil. This explains why today the Brazilians speak Portuguese


What are implication of not validating data?

If data is not validated, your script/application can result in errors, produce unexpected results, or potentially provide a way for someone to hack into your web and/or database server.


What are the release dates for House of Payne - 2006 Unexpected Results 4-17?

House of Payne - 2006 Unexpected Results 4-17 was released on: USA: 23 July 2008


What type of errors produces undesired or unexpected results?

Logic Error


what is the google algorithm and specifications?

The Google algorithm is a set of rules that the search engine uses to determine which websites are ranked higher than others in its search results. The specifications for this algorithm are secret, and changes to it happen frequently. As a result, there is no way to know exactly how any given search will be ranked.


What can cause logical error in algorithm?

It can cause abnormal program termination or invalid results.


How can unexpected results be as important as expected results in a science experiment?

So scientists can learn from their mistakes and they can look back on that information in a similar test.


What comes last in the scientific method?

expected and unexpected results comes last in the scientific method.


How do the search engine results compare to the subject directory results?

Compared to subject directories, what types of results do keyword searches produce?They produce more up-to-date Web sites.They produce fewer hits.They produce fewer up-to-date Web sites.They produce more hits.


What is algorith and flow chart with example?

Flowchart is a graphically or design representation of solution. algorithm is a step by step solution of a results whose written in simple english.anyone understand it easily and make program.


What does unintended consequences mean?

That's two words, but fine. The two words mean unexpected results.