

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Algorithm Algorithms are frequently expressed as functions in computer programming. These functions act as mini-programs that may be called from a bigger program. In many circumstances, inside a software program, there are several ways to do a particular task. A set of instructions designed to complete a given job is referred to as an algorithm. Algorithms operate based on input and output. They take the information as input and apply each step of the algorithm to it to get an output. Characteristics of a good algorithm are, Input and output must be precisely specified. Each step in the process should be distinct and easy to understand. Among the numerous various approaches to address an issue, algorithms should be the most effective. Computer code should not be included in an algorithm. Rather, the method should be designed in a way that allows it to be utilized in a variety of programming languages.