Learn to design algorithms
Autor: | Chaves Torres, Anívar Néstor |
Colaborador: | Smart Translators (Traductor) |
This is a book conceived and elaborated by a programming professor, who at the same time recognizes himself as a permanent student of the subject; and therefore, he knows very well the difficulties that students experience in learning programming fundamentals and algorithm design, as well as the needs of teachers to have reference material that includes concepts, examples, and exercises. Although the topics that are developed are common in programming fundamentals books, here they are presented with a didactic approach, with a simple language and with a level of detail that anyone can understand them, since this is not intended to be only a reference document, but a didactic material for autonomous learning. As a strategy to facilitate learning the design of algorithms, it is proposed to proceed inductively, since an algorithm is a general solution for problems of the same type and its steps are identified to the extent that several special cases of the problem are solved. In the examples presented in the chapters this methodology will be applied, first hypothetical values are proposed for the data of the problem and the calculations are made to arrive at a solution, then the next step is to define variables and establish expressions that solve the problem for any set of values.