Important Notice:

Course Content
Introduction to Programming (Chapter 1) M3-R5.1
About Lesson

Characteristics of an Algorithm

          इसकी विशेषताएं निम्नलिखित होती हैं:-

  • Unambiguous (स्पष्ट) – एल्गोरिथम स्पष्ट होनी चाहिए, इसका प्रत्येक स्टेप स्पष्ट होना चाहिए इसके प्रत्येक step का केवल एक meaning (अर्थ) होना चाहिए।
  • Input (इनपुट) – एल्गोरिथम के पास एक इनपुट अवश्य होना चाहिए और यह इनपुट अच्छी तरह से defined (परिभाषित) होना चाहिए।
  • Output (आउटपुट) – एल्गोरिथम द्वारा कम से कम एक आउटपुट अवश्य देना चाहिए।
  • Finiteness (परिमित) – एल्गोरिथम finite (परिमित) अवश्य होनी चाहिए, यह infinite (अपरिमित) नहीं होनी चाहिए।
  • Feasible (संभव) – एल्गोरिथम feasible होनी चाहिए अगर हम ऐसी एल्गोरिथम बनायेंगे जो संभव ही नही है तो उसका कोई फायदा नहीं है।
  • Independent (स्वतंत्र) – एल्गोरिथम स्वतंत्र होनी चाहिए, यह किसी language पर dependent (निर्भर) नही होनी चाहिए।

Characteristics of an Algorithm

          Not all procedures can be called an algorithm. An algorithm should have the following characteristics –

  • Unambiguous − Algorithm should be clear and unambiguous. Each of its steps (or phases), and their inputs/outputs should be clear and must lead to only one meaning.
  • Input − An algorithm should have 0 or more well-defined inputs.
  • Output − An algorithm should have 1 or more well-defined outputs, and should match the desired output.
  • Finiteness − Algorithms must terminate after a finite number of steps.
  • Feasibility − Should be feasible with the available resources.
  • Independent − An algorithm should have step-by-step directions, which should be independent of any programming code.
error: Content is protected !!