Appendix B
Algorithms and Flowcharts
B.1 Algorithm
The study of algorithms, sometimes called algorithmics, is one the fundamental areas of Computer Science. Algorithmics is concerned with discovering efficient algorithms and representing them so that they can be understood by the computers. In this brief introduction to algorithms, I will tell you about what defines an algorithm and how to represent algorithms.
Algorithm is a fundamental notion in Computer Science. Therefore, it deserves a precise description. An algorithm can be described as ‘A finite set of instructions, which if followed, accomplishes a particular task’. In addition, every algorithm must satisfy the following criteria:
1. Input: |
An algorithm may have zero or more quantities ... |
Get Programming in C: A Practical Approach, First Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.