Chapter 1 Introduction to Python

1.4 AlgorithmsΒΆ

If problem solving is a central part of computer science, then the solutions that you create through the problem solving process are also important. In computer science, these solutions are called algorithms. An algorithm is a step by step list of instructions that if followed exactly will solve the problem under consideration.

The goal in computer science is to take a problem and develop an algorithm that can serve as a general solution. Once there is such a solution, computer can then be used to automate the execution. As noted above, programming is a skill that allows a computer scientist to take an algorithm and represent it in a notation (a program) that can be followed by a computer. These programs are written in programming languages.

Check your understanding

© Copyright 2024 GS Ng.

Next Section - 1.5 More About Programs