This is an expanded and updated version of Chapter III (Algorithms & Programming Languages) from the technical book “Fundamentals of Modern Information Technology” (“Fondamenti di Informatica Moderna” - Italian Edition – Publisher ARACNE).
This book has been written primarily for students, but also for the professional, and it can serve as a starting point for anyone who is beginning the study of computer science and information systems for the first time. In the following text, algorithms and flowcharts are analyzed accurately, with clear examples, and with the implementation in C code, both elementary and complex algorithms are studied. Data types (simple and structured) are initially introduced, and algorithms and flowcharts are defined and illustrated with graphical and textual explanations.
In the next sections, simple and complex standard algorithms with their flowcharts are studied: everything is integrated with explanations and tables to have a step by step evolution of the algorithms. The book is full of screenshots, and illustrations showing the meaning of the code and the use of subheadings and other textual elements provides excellent scannability. The book uses a free IDE. The main analyzed algorithms are: the sum of three or n numbers in a loop, the decimal to binary conversion, the maximum and minimum search, the linear/sequential search, the binary search, the bubble sort, the selection sort, the merging of two sorted arrays, and the reading chars from file algorithm, stack management, recursive algorithm (Factorial and Fibonacci sequence). The last section of the text is devoted to the introduction of the C language and the implementation of the code, which is connected to the studied algorithms.
Almost 1,000 people have already chosen the first edition of the book! I thank all those who have sent me feedback!
This book has been written primarily for students, but also for the professional, and it can serve as a starting point for anyone who is beginning the study of computer science and information systems for the first time. In the following text, algorithms and flowcharts are analyzed accurately, with clear examples, and with the implementation in C code, both elementary and complex algorithms are studied. Data types (simple and structured) are initially introduced, and algorithms and flowcharts are defined and illustrated with graphical and textual explanations.
In the next sections, simple and complex standard algorithms with their flowcharts are studied: everything is integrated with explanations and tables to have a step by step evolution of the algorithms. The book is full of screenshots, and illustrations showing the meaning of the code and the use of subheadings and other textual elements provides excellent scannability. The book uses a free IDE. The main analyzed algorithms are: the sum of three or n numbers in a loop, the decimal to binary conversion, the maximum and minimum search, the linear/sequential search, the binary search, the bubble sort, the selection sort, the merging of two sorted arrays, and the reading chars from file algorithm, stack management, recursive algorithm (Factorial and Fibonacci sequence). The last section of the text is devoted to the introduction of the C language and the implementation of the code, which is connected to the studied algorithms.
Almost 1,000 people have already chosen the first edition of the book! I thank all those who have sent me feedback!