• Tutorials Logic, IN
  • +91 8092939553
  • info@tutorialslogic.com

Introduction

Algorithm

An algorithm is a step by step procedure for solving a problem. It is widely used throughout all areas of information technology for data processing, and mathematical operations.

Characteristics of An Algorithm

an algorithm should have the following characteristics:-

Input

An algorithm must contain a zero (0) or more well-defined input.

Output

Whenever any input is given to an algorithm, then it should produce at least one output.

Finiteness

An algorithm must complete after finite number of steps and it should give result in finite time.

Definiteness

Each steps of an algorithm must be clear and unambiguous.

Effectiveness

Every instruction of an algorithm must be feasible.