It seems like you are using an ad blocker. To enhance your experience and support our website, please consider:

  1. Signing in to disable ads on our site. Our users don't see ads
  2. Or, Sign up if you don't have an account yet
  3. Or, disable your adblocker by doing this:
    • Click on the adblocker icon in your browser's toolbar.
    • Select "Pause on this site" or a similar option for lancecourse.com.

Wordbook

If you are new to ICT field and not familiar with all the technical jargon? No problem. Our Wordbook is here for you!

The Wordbook is a an online encyclopedia for technical terms to help you expand your knowledge in the field. The Wordbook will explain most uncommon terms to you with images where needed.

ALGORITHM

In mathematics and computer science, an algorithm is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. ~ Wikipedia

Simply put, an algorithm is the set of steps required or needed to execute a task. A typical example could be a recipe. It tells you the steps and what to do at each step, and if there is any condition (like, has  it boiled for 15 minutes?) at any step, the recipe should anticipate the various decisions to take.

So, a techy chef could say, "Give me the algorithm of your favorite food, and I will cook it for you.".

For people who are studying algorithms (mathematicians and computer scientists), it's a tool of communication. It conveys ideas and solutions. That makes it a modeling tool. There are several other modeling tools, such as flowcharts, pseudocodes, and ULM (Unified Modeling Language).

An algorithm can be represented using any of these tools. Generally, algorith diagramatic form are made usimg flowcharts which in tourn are made from UML tools.

Let's look at an example: adding two numbers. To add two numbers a and b:

In human language

We calculate(mentally of using a calculator) the sum of the two

In pseudocode

Display "Enter the first number:"
Input a;

Displlay "Enter the second number:"
Input b

Sum = a + b

Display "The sum of", a, "and", b, "is", sum

Activity Diagram