Problem Solving
Solving problems is the core of computer science. Programmers must first understand how a human solves a problem, then understand how to translate this "algorithm" into something a computer can do, and finally how to "write" the specific syntax (required by a computer) to get the job done. It is sometimes the case that a machine will solve a problem in a completely different way than a human.
Problem Solving
Computer programmers are problem solvers. In order to solve a problem on a computer, you must:
Know how to represent the information (data) describing the problem.
Determine the steps to transform the information from one representation into another.
Information Representation
A computer, at heart, is really dumb. It can only really know about a few things: numbers, characters, booleans, and lists (called arrays) of these items. (See Data Types). Everything else must be "approximated" by combinations of these data types.
A good programmer will "encode" all the "facts" necessary to represent a problem in variables (see Variables). Further, there are "good ways" and…