true

Take BTech Tuition from the Best Tutors

• Affordable fees
• 1-1 or Group class
• Flexible Timings
• Verified Tutors

Search in

# Description of an Algorithm

P
Parul R.
04/08/2020 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.

## 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

## 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 7 – STOP

0 Dislike

## 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...

DATA FILE STRUCTURE
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
P

### Looking for BTech Tuition ?

Learn from Best Tutors on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you

X

### Looking for BTech Tuition Classes?

The best tutors for BTech Tuition Classes are on UrbanPro

• Select the best Tutor
• Book & Attend a Free Demo
• Pay and start Learning

### Take BTech Tuition with the Best Tutors

The best Tutors for BTech Tuition Classes are on UrbanPro

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. 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