1. Compare the following Simple Problem algorithm below to the correct one above:
2. Answer the following questions:
• What is the difference between the two algorithms?
• What would happen if the algorithm in this activity was used to create a
programming solution to the Simple Problem?
3. Publish your answers to your Chapter 2 assessment document.
The difference is that the first algorithm was in the correct sequence, the right order so for this reason the task would be able to be completed and the problem solved whereas in the second algorithm all of the processes were out of sequence/order so for this reason the problem would not be able to be prompted, validated, calculated and solved. For the task to be completed the algorithm must be correct.
If the algorithm in this activity was used to create a programming solution to the Simple Problem it would simply not solve any problems as the information is in the incorrect order.It would crash.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment