in , , ,

Introduction to Algorithms – Day 2

How are you all? I hope you are doing well 😃! and congratulations on completing your day 1. So, let’s dive one step further. ➥ Today we will learn about Algorithms.

Algorithm? But what is algorithm Nishant?

Wait! I am explaining…

An algorithm should be represented by our mental thoughts into a form that others can understand.

OR in simple words-

“The algorithms are the instructions which say what must be done, step by step procedure to solve logical and mathematical problems.”

You may also read this:- Introduction to programming

There are primarily two ways of representing an algorithm:

  • Flow chart: It is the diagrammatic way of representing the algorithm.
  • Pseudo-code: It is the representation of the algorithm in a way that is in between a program and normal English.

I still not understood Nishant.

Don’t worry I’m still here to help.

Then, Please explain.

More simply, the Algorithm is just a blueprint for making programs. Or Algorithm is a simple procedure for solving a problem.

Thank you! It’s helpful.

Welcome! After completing this python series when you become a programmer, then you will need to write an Algorithm for the problem that your client assigns you before implementing it in programming.

I got it!

Okey! let’s learn about the pseudo-code.

I’m curious to know about the pseudo-code.

Algorithms are not understandable by a computer because they are for human use only! 🙂


Simply Pseudocode is a text-based Algorithm, which does not require any programming syntax.


Let’s take an example of flights on airport like before.


Definition: Pseudocode is an informal way of programming description that does not require any strict programming language syntax or underlying technology considerations.

It is used for creating an outline or a rough draft of a program.

Pseudo-code summarizes a program’s flow but excludes underlying details.

System designers write pseudocode to ensure that programmers understand a software project’s requirements and align code accordingly. —- Indiatimes

Pseudocode is an informal high-level description of the operating principle of a computer program or other algorithm.

It uses the structural conventions of a normal programming language but is intended for human reading rather than machine reading. — Wikipedia

You may also read this:- Five best programming language.

Algorithm Flow chart

In the flow chart, the procedures of the algorithm are arranged in a chart in a very understandable format.

Flow charts are very easy to understand even for a non-technical person.

flow chart of procedures of an algorithm

flowchart is a type of diagram that represents a workflow or process.

A flowchart can also be defined as a diagrammatic representation of an algorithm, a step-by-step approach to solving a task. — Wikipedia

Watch a short video on the Algorithm.

Video on Algorithms.

I think that is all about the Algorithm for Now. We will learn more about the Algorithm in upcoming Lessons.


What is an Algorithm?

An algorithm is a step by step procedure for solving a problem.

Why do we need an Algorithm?

Writing Algorithm before implementing code is a good practice. because it reduces the chances of mistakes and makes code easier to write.

What is Pseudocode?

Writing algorithm in simple English and some code format which is understandable by others is Pseudo.

What are the Characteristics of the Algorithm?

1. input
2. Output
4. Correctness
5. Finiteness

What is the difference between pseudocode and flowchart?

Pseudocode is a high-level description of code in text format while the flow chart is a pictorial representation of the Algorithm.

What is sorting Algorithms?

sorting algorithms are used for sorting
1. Selection sort
2. bubble sort
3. merge sort
4. heap sort

Final Words

Thank you for reading the article. If you find anything difficult then please let us know.

I put a lot of effort to make the article, please share it with your friends if you find it useful.

We designed our articles small for convenience of beginners.

Therefore, it is recommended to read day-wise, But you can read multiple articles in a day if you want to learn faster.

What do you think?

Written by Nishant Tyagi


Leave a Reply

Your email address will not be published. Required fields are marked *



How to clean C Drive on windows and speed up your PC

Python operators and variables – 3rd Day of Python Series