Find the best tutors and institutes for BTech Tuition

Find Best BTech Tuition

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

Description of an Algorithm

Parul R.
04 Aug 0 0

What is an Algorithm?

An Algorithm is a step-by-step procedure, which defines a set of rules to be executed in a specific order to get the desired output.

Characteristics of Algorithm:

  • Language independent
  • Feasible
  • Unambiguous
  • Finiteness
  • Well-define input
  • Output (should match the desired output)

Analysis of Algorithm

Analysis of the algorithm is the process of analyzing the problem-solving capability of the algorithm in terms of the time and size required. There are two different stages to perform efficiency of an algorithm, before and after implementation.

Complexity of Algorithm

The complexity of an algorithm is a measure of the amount of time and/or space required by an algorithm 

 Time Complexity:   An amount of time that needs to execute an algorithm.

 Space Complexity: A storage of memory that requires to execute an algorithm

 How to design an Algorithm.

Design an algorithm to add two numbers.

Step 1 − START

Step 2 − declare three integers a, b & add

Step 3 − define values of a & b

Step 4 − add values of a & b

Step 5 − store output of step 4 to add

Step 6 − print add

Step 7 – STOP

0 Dislike
Follow 2

Please Enter a comment


Other Lessons for You

Why Data Structures and Algorithms are important in Curriculum
Data Structures:- Data organized in a particular way that can be utilized effectively. Algorithms:- A finite sequence of well-defined, instructions typically to solve a class of problems or to perform...

Nasreen Khan | 27/11/2019

0 0

Binary Search Tree A tree is a connected, acyclic, unidirectional graph. It emulates a tree structure with a set of linked nodes. The topmost node in a tree is called the root node, node of a tree...

C program for Beginners
A Program to print 2 integer value. #include<stdio.h> #include<conio.h> main() int a,b,add; a=5; b=3; add=a+b; printf(“ Addition=%d”,&add); getch(); Brief description...

Parul R. | 02 Aug

0 0

Looking for BTech Tuition Classes?

Find best tutors for BTech Tuition Classes by posting a requirement.

  • Post a learning requirement
  • Get customized responses
  • Compare and select the best

Looking for BTech Tuition Classes?

Find best BTech Tuition Classes in your locality on UrbanPro

Post your learning requirement is India's largest network of most trusted tutors and institutes. Over 25 lakh students rely on, to fulfill their learning requirements across 1,000+ categories. Using, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 6.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more