BLOGGER TEMPLATES AND TWITTER BACKGROUNDS »

Wednesday, March 24, 2010

Review Q and Discussion Q #1 p.134

What is the relationship between a program and an algorithm?
A program is written in a language that a computer can understand it is a set of computer instructions designed to solve problems. An Algorithm is a set of step-by-step procedures for accomplishing a task.


In what way is writing instructions for a computer more difficult than writing instructions for a person? In what way is it easier?

A computer already has a set language and with algorithms, can fix any ambiguities or problems. It may be more difficult because you would have to use "machine language" which is numeric codes that initiate computer operations.

0 comments: