What is Algorithm

In this blog we are going to learn about the Algorithm, we will know basic introduction, history, advantages and disadvantages of algorithm but it's not a tutorial, it is brief information about the Algorithm in Computer System.
what is upi

What is Algorithm:-
An algorithm is a finite sequential steps to solve any problem or task. In simple words, it is steps taken to solve any problem. It can be understood by taking an example of cooking food, if you want to make pizza then you need its recipe. Following the steps mentioned in the recipe you will be able to make pizza. In Computer System algorithm is very useful in making better programs and software. They can manipulate and process data and perform calculation or action in various ways like making automation software.
History of Algorithm:-
The Algorithm originates in 9th from Persia. At this time the Persian scientist, astronomer and mathematician Abdullah Muhammad bin Musa al-Khwarizmi, often called as "The Father of Algebra", was indirect responsible for the creation of the term "Algorithm". According to him a complex problems can be solved by breaking them into small pieces but this was not the beginning of Algorithm.
The very first recognizable algorithm may well have been created by the Babylonians around 1600 BC. Recorded in clay tablets in a form of cuneiform, these algorithms were used for factorization and finding square roots, etc, and were very simple by today's standards. The Euclid introduce his famous "Euclidean algorithm" in around 300 BC after this over the following centuries new methods were discovered in the various countries also.
The real progress of the modern algorithm occurred during the mid-to-late-industrial revolution. At this time, George Boole notably invented binary algebra, the basis for modern computer. Ada Lovelace introduce the very first "computer programs" in the 1840s and she is considered as the inventor of the Computer Algorithm.
Characteristics of Algorithm:-
Some of the characteristics of Algorithm are:-
  1. Input Specified:- An algorithm have 0 or more well-defined inputs. Input precision requires that you know what kind of data, how much and what form of data should be.
  2. Output Specified:- An algorithm should have 1 or more well-defined outputs, and should match the desired output. Output precision also requires that you know what kind of data, how much and what form of output should be.
  3. Definiteness:- Definiteness means specifying the sequence of operations for turning input into output. Algorithm should be clear and unambiguous.
  4. Effectiveness:- Algorithm should not contain unnecessary and redundant steps which could make an algorithm ineffective.
  5. Finiteness:- Algorithm must stop at the particular point
  6. Independent:- An Algorithm should have step-by-step direction, which should be independent of any programming code. It should be such that it could be run on any of the programming language.
Advantages of Algorithm:-
  • It is a step-wise representation of a solution to a given problem, which makes it easy to understand.
  • An algorithm uses a definite procedure
  • It is not dependent on any programming language, so it is easy to understand for anyone even without programming knowledge.
  • Every step in an algorithm has its own logical sequence so it is easy to debug
  • By using algorithm, the problem is broken down into smaller pieces or steps hence it is easier for programmer to convert it into an actual program.
  • Disadvantages of Algorithm:-
  • Algorithms is Time consuming
  • Difficult to show Branching and Looping in Algorithms.
  • Big tasks are difficult to put in Algorithms.
  • Also Read:-
    How Emergency Calls Work
    How emergency calls works? SOS are already alloted in your mobile phone, when you dail number from your phone the signal is send to the nearest tower...
    UPI: Unified Payments Interface
    UPI stands for Unified Payments Interface, it is introduce by National Payments Corporation of India (NPCI) to encourage people to go cashless using mobile.
    5 surprising Smartphone facts
    5 surprising Smartphone facts, you do ever think why emergency number is dialed by phone kept in the bag? Know why and other more cool facts about smart...
    How to increase typing speed in 5 steps
    Increase your typing speed in just 5 simple steps with typing softwares. I have achieved the speed of 75-80 words per minutes through these simple 5 steps...
    Introduction to Quantum Computer
    Quantum Computer is a computer that uses the rules and principles of Quantum Physics to perform computation djla eoruw adnd owuer andf weor djad jdf.....