Computers and Logic
Logic is the study of various principles or tools of correct reasoning and of the application of those tools in solving problems.
To complete a computer task, all of the reasoning required to perform that task must be done by the programmer and entered into the computer in the form of a computer program.
a good understanding of logic is valuable in helping the programmer to avoid programming errors and to produce programs that run as intended.
The tools of logic are very helpful in analyzing, or breaking down, such problems into simple steps and simple instructions.
This analysis is important because computers can understand only very simple instructions.