Important Notice:

Algorithm

Algorithm

3 views 1 min read

 Algorithm (एल्गोरिद्म ):-

Algorithm (एल्गोरिद्म) किसी समस्या (Problem) को हल करने के लिए दिए गए क्रमबद्ध (Step-by-Step), स्पष्ट (Well-defined) और सीमित (Finite) निर्देशों (Instructions) का समूह होता है।

एल्गोरिद्म Program लिखने से पहले बनाया जाता है। यह बताता है कि समस्या का समाधान किस क्रम (Sequence) में किया जाएगा।

सरल परिभाषा Algorithm किसी समस्या को हल करने के लिए चरणबद्ध (Step-by-Step) निर्देशों का समूह है।

note:- 

  • Algorithm शब्द का नाम प्रसिद्ध फ़ारसी गणितज्ञ Muhammad ibn Musa al-Khwarizmi के नाम Al-Khwarizmi से लिया गया है।
  • उन्होंने गणित (Mathematics) और गणना (Computation) के क्षेत्र में महत्वपूर्ण योगदान दिया।

English

An Algorithm is a finite, well-defined, and step-by-step sequence of instructions used to solve a specific problem.

It is prepared before writing the actual program and describes the logical steps required to obtain the desired output.

Simple Definition:-

An Algorithm is a step-by-step procedure used to solve a problem.

Note:-

The word Algorithm is derived from the name of the Persian mathematician Muhammad ibn Musa al-Khwarizmi.

Example of Algorithm (एल्गोरिद्म का उदाहरण):-

Example 1: Addition of Two Numbers (दो संख्याओं का योग)

Algorithm:-

  • Step 1: Start
  • Step 2: Read A and B 
  • Step 3: Sum = A + B 
  • Step 4: Display Sum
  • Step 5: Stop

Advantages of Algorithm (एल्गोरिद्म के लाभ)

  • समस्या को समझना आसान हो जाता है।
  • Program लिखना सरल हो जाता है।
  • Debugging आसान होती है।
  • Program की गलतियाँ कम होती हैं।
  • Logic स्पष्ट रहता है।
  • किसी भी Programming Language में आसानी से बदला जा सकता है।
  • Documentation में सहायता मिलती है।
  • Maintenance आसान हो जाती है।
English
  • Makes the problem easier to understand.
  • Simplifies program development.
  • Helps in debugging.
  • Reduces programming errors.
  • Provides clear program logic.
  • Can be implemented in any programming language.
  • Useful for documentation.
  • Makes maintenance easier.
 

Related Notes