Review and Discussion Question #1:
What is the relationship between a program and an algorithm?
1- An algorithm is a set of step-by-step procedures for accomplishing a task. A program starts out as an algorithm.
In what way is writing instructions for acomputer more difficult than writing instructions for a person? In what way is it easier?
1-Writing instructions for a computer is more difficult than writing instructions for a person, because for the computer, one has to be extremely specific and detailed with the instructions. Everything has to be clarified to ensure that no mistakes are made. No vague or ambiguous language can be used. It is easier because with this level of clarity, it is unlikely that mistakes will be made, and misunderstandings will be decreased.
Wednesday, March 24, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment