Skip to main content

Concept of Algorithm in Computers

Concept of Algorithm in Computers


Definition:
The step by step procedure which is designed to accomplish an operation/ task, if followed correctly leaves a definite results which are known earlier by us. We Check at each step the conditions which are followed or not. If followed then accomplish task 1 and not followed it accomplish task 2. So there is definite results which we knows earlier. The Concept of Algorithm in Computers is expressed here in simple methods and methodology.


Who Invented the First Algorithm?


The person who invented the first algorithm was "Abdullah Muhammad bin Musa al-Khwarizmi" – a Persian scientist, astronomer and mathematician. He was also known as "The father of Algebra".


Algorithms have a definite beginning and a definite end, and a finite number of steps. An algorithm produces the same output information given the same input information, and several short algorithms can be combined to perform complex tasks such as writing a complex computer program, Chocolate cake recipe a diagnosis, a flow chart for calculating GCD of two numbers, etc. An algorithm is an effective method that can be expressed within a finite amount of space and time and in a well-defined formal language for solving a task completely. Alternately - An algorithm is a set of instructions designed to perform a specific task. This can be a simple process, such as multiplying two numbers, or a complex operation, such as playing a compressed video file. Our google Search engines use Scheduled algorithms to display the unique relevant results from their search index for specific queries related to user.


Some Major Characteristics of Algorithms


The algorithms is a very precise and valuable methods by which a user can process its information by exact manner. Some of the major properties or characteristics contained in algorithms are:



  1. It should be precise and unambiguous i.e. each and every instruction should be clear and should have only one meaning.

  2. Characteristics of Finiteness – the algorithm stops after a finite number of executions.

  3. The algorithm receives Input, produces Output after execution.

  4. The result of each step are uniquely defined and only depends on the input and result the defined output.



Classification of Algorithms


There are numerous ways to classify algorithms which are designed according to use and flexibility of users in algorithms. These are used as per demand at the time of processing.



  1. Recursion

  2. Logical

  3. Serial, Parallel or distributed

  4. Deterministic or non-deterministic

  5. Exact or approximate

  6. Divide and simplify



Some Examples of Algorithm Processing


  1. How to Print 1 to 10



The algorithm to print numbers from 1 to 10 is shown below.


Step 1 – Initiate Y as 0


Step 2 – Increment Y by 1


Step 3 – Print Y


Step 4 – If Y is less than 10 then go to step no 2


2.How to convert Fahrenheit (F) to Celsius (C) of Temperature Parameter


Step 1 – Read Temperature Parameter in Fahrenheit


Step 2 – Calculate with formula; Celsius (C) = 5/9*(F-32)


Step 3 – Display the Value of C


This is a short topic related to Concept of Algorithm in Computers. We will discuss the next topic related to algorithms implementation and contribution in Computers.


Popular posts from this blog

Fix Windows could not find a driver for your network adapter error

Fix Windows could not find a driver for your network adapter error


A Computer run smoothly with the coordination of Software & Hardware. In the absence of any one it will not run at all. Software being the Master utilizes each hardware attached to the System. And each hardware is operated with the help of Device Drivers installed in it. Operating System (OS) uses these device drivers to control & utilize each hardware when needed. Each hardware connected to the system must have their own Device Driver installed. A device driver is a program to initiate a hardware when required by Operating System.




Suppose, you want your PC to connect to the Network, it can only be possible when your PC has network related Device Driver. These Device Drivers are easily downloaded from Manufacturer Websites. In this article we focus on Network related problem. Suppose, your PC not obtaining Network connectivity. And each time you are getting an error message saying "Windows could not find a d…

Fix This Site Can’t Be Loaded from The Cache Chrome Error

Fix This Site Can't Be Loaded from The Cache Chrome Error


This Site Can’t Be Loaded from The Cache - Today, there are several browsers available with extensive features on it. Each browser has its own importance and working principle. Some of the popular browsers available online are Google Chrome, Mozilla Firefox, Opera Mini, Internet Explorer, UC Browser, Safari, Microsoft Edge, Swift fox etc. The popularity of these browsers depends upon the features available in it.

Among them Google Chrome is the newest and mostly used browser around the world. Holding lots of feature make it more complex and hence more prone to errors. The types of error come up with the level of complexity of the program. If you are Chrome user and facing one of such error then read the full article. In this article, we focus on an error saying "This site can't be loaded from the cache". The explanation included with this error will be "The saved (cached) copy of this site was unreadable&qu…

Change Facebook Profile Picture Leaving All Unknown

Change Facebook Profile Picture Leaving All Unknown


Change Facebook Profile Picture Leaving All Unknown - Today, we spend lots of time in Social media platforms such as WhatsApp, Facebook, Instagram, Skype, YouTube, Twitter etc. We love to share Images & Videos with our friends via these platforms. These applications are largely used on Smartphones. We need to download concerned apps from inbuilt software, Play Store in Android Platform.


After downloading the App, we create an ideal account with a profile picture. We join the network by sending friend request. When request is accepted, we are added to such a community. In this article we take a close look on Facebook. Facebook is vastly used all around the world. Two person residing miles away can also share their views easily.

Change Facebook Profile Picture Leaving All Unknown

Whenever we open Facebook, lots of Images & Videos are seen with gentle scroll. In this article we focus on an interesting thing say Profile Picture. In F…