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

When Task Scheduler gets Infected by Malware

When Task Scheduler gets Infected by Malware

When Task Scheduler gets Infected by Malware - We are familiar with malware attacks on Computer. The hackers infect one or more files and thereby attaining full control on the System. There are millions of victims who had loosen either data or dollars in this respect. In this article we see a System file which is infected by these hackers at first stage. The System file infected by malware at first stage is Task Scheduler Engine (Taskeng.exe). The Task Scheduler Engine is a system file located in C:\Windows\System32 folder. This location is the default location for Taskeng.exe.



The Task Scheduler Engine is responsible for keeping track of tasks set to run at a time predefined by the user of the PC. As said earlier, the original location of this scheduler is C:\Windows\System32 folder. But it is suspicious if the location of scheduler gets change. If it is found in some other folder then it must be infectious. As a result, you constantly get a…

How to Project Android Phone Screen on Windows PC

How to Project Android Phone Screen on Windows PC


Project Android Phone Screen on Windows PC - Four out of Five of us have Smartphones in our Pocket. We spend lots of time on Smartphone utilities like Facebook, Twitter, WhatsApp, YouTube and other interesting Apps. These Smartphones are tremendously used due to Android Operating System installed in it. Android OS is one the successful mobile based OS running in the market.

On the Other side, Microsoft is emphasizing on features to ease Android user's connectivity with it. Microsoft has done lots of improvement for mobile utilities to the Windows 10 version 1809. With this upgradation, we can easily project Android phone screen on Windows PC. The extensive use of such features is seen on Digital Smart TVs Today. The introduction of Wi-Fi feature makes more reliable and user friendly.

So, if you are boredom with 5-6-inch Android Screen and want to mirror it on Computer screen, then read the full article to know the process, how to proj…

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…