Skip to main content

What Is An Algorithm? Who Invented It? And Why Do We Need To Write An Algorithm First Before Real Coding?


What Is An Algorithm?

AN Algorithm is a self-contained step-by-step set of operations to be performed.
Algorithms exist that perform calculation, data processing, and automated reasoning.
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 calculating a function. Starting from an initial state and initial input.

Who Invented Algorithm?

Algorithm can be traced to Muhammad ibn Musa al-Khwarizmi , but computer algorithm was founded by Euclid.

Writing a problem or a program, why do I need to first write my program in an Algorithm?

We need to first write an algorithm before the codes because algorithm is the center of the design, determining a lot of data structures and relationships in the surrounding code.And if you find out too late that your algorithm is not scaling well it is very hard, error prone and time consuming to replace it in production code.


Comments

Popular posts from this blog

How to change to your desired font on Tecno wx3p

The other time I did something on "How to locate your whatsapp statuses on your phone's file manager" and a friend drew my attention to an app that automatically reads from this file and shows your status files on launching the app, I think it was called "Status Saver". So you can install the app and save yourself the seeming stress of locating it from the file manager, though I don't see that as a stress actually. Today I've come up with something pretty new. Yea, late last year I bought this phone Tecno wx3p, and though it has issues with storage, SD card Ejecting and stuffs, I've just found a way to walk around those faults as we wait for Tecno to release a new update to fix them. I also discovered that on this phone's setting there's no feature as changing font to style your phone. Now we are going to talk about this today. You can actually change your fonts on tecno wx3 pro as long as you are using the default hiOs launcher...

CSC211: Classification Of Computers

Written by by Dinesh Thakur Computers differ based on their data processing abilities. They are classified according to purpose, data handling and functionality. According to purpose Computers are either general purpose or specific purpose. General purpose computers are designed to perform a range of tasks. They have the ability to store numerous programs, but lack in speed and efficiency. Specific purpose computers are designed to handle a specific problem or to perform a specific task. A set of instructions is built into the machine. According to data handling, Computers are analog, digital or hybrid. Analog computers work on the principle of measuring, in which the measurements obtained are translated into data. Modern analog computers usually employ electrical parameters, such as voltages, resistances or currents, to represent the quantities being manipulated. Such computers do not deal directly with the numbers. They measure continuous physical magnitudes. Dig...

Beautiful Photos Of Anchor University Lagos

The Anchor University, Lagos is a private university owned by the Deeper Christian Life Ministry. The university is located at Ayobo, Ipaja, Lagos State, southwestern Nigeria. The University was approved by the Federal Government of Nigeria on Wednesday, 2nd of November, 2016. Below are some beautiful images from the school.