The properties of algorithm ?
1. Finiteness(有限性)
terminates after a finite number of steps
2. Definiteness(明確性)
rigorously and unambiguously specified
3. Input
valid inputs are clearly specified
4. Output
can be proved to produce the correct
output given a valid input
5. Effectiveness(有效性,可用紙筆計算)
basic steps are sufficiently simple and basic
沒有留言:
張貼留言