ALGORITHAM






The word algorithm derives from the name of the mathematician, Mohammed ibn-Musa al-Khwarizmi, who was part of the royal court in Baghdad and who lived from about 780 to 850.


WHAT IS ALGORITHAM?
Step by step procedure designed to perform an operation, and which (like a map or flowchart) will lead to the sought result if followed correctly. Algorithms have a definite beginning and a definite end, and a finite number of steps. An algorithm produces the same output information given the same input information, and several short algorithms can be combined to perform complex tasks such as writing a computer program.
Algorithm can be defined as outline of the essence of procedure represented in step by step instructional manner. When you implement this algorithm using any programming language, then it is said to be program. A certain problem can be solved using many different algorithms.
Informally, an algorithm is a well defined computational procedure that takes some value or set of values as input and gives or produces some value or set of values as output. That is an algorithm is a sequence of computational steps that transform the input in to output.





An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem, based on conducting a sequence of specified actions. A computer program can be viewed as an elaborate algorithm. In mathematics and computer science, an algorithm usually means a small procedure that solves a recurrent problem.
Algorithms are widely used throughout all areas of information technology. A search engine algorithm, for example, takes search strings of keywords and operators as input, searches its associated database for relevant web pages, and returns results.




Some Q & A

         1)     What is an example of an algorithm?
           -          An algorithms is a step by step procedure to solve logical and mathematical problems. A recipe is a good example of an algorithm because it tells you what you need to do step by step. It takes inputs and produces an output

    2) What is an algorithm used for?
     -  An algorithm is a step by step method of solving a problem. It is commonly used for data processing, calculation and other related computer and mathematical operations. An algorithm is also used to manipulate data in various ways, such as inserting a new data item, searching for a particular item or sorting an item.

         3)     What is algorithm and its types?
           -          Well there are many types of algorithm but the most fundamental types of algorithm are
-          Recursive algorithms.
-          Dynamic programming algorithm.
-          Backtracking algorithm.
-          Divide and conquer algorithm.
-          Greedy algorithm.
-          Brute Force algorithm.
-          Randomized algorithm.


          4)     How do you write an algorithm?
-          Keep in mind that algorithm is a step-by-step process.
-          Depending upon programming language, include syntax where necessary.
-          Begin.
-          Include variables and their usage.
-          If they are any loops, try to give sub number lists.
-          Try to give go back to step number if loop or condition fails.


          5)     What is a good algorithm?
             -          The characteristics of a good algorithm are : Precision the steps are precisely stated. Uniqueness results of each step are uniquely define and only depend on the input and the result of the preceding steps. Finiteness the algorithm stops after a finite number of instructions are executed.

          6)     Why algorithm is important in programming?
             -          The best chosen algorithm makes sure computer will do the given task at best possible manner. In cases where efficiency matter a proper algorithm is really vital to be used. An algorithm is important in optimizing a computer program according to the available resources. 

          7)     What is algorithm and its features?
             -          Algorithm and its Characteristics. ... 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.

          8)     What is the algorithm in computer?
            -          An algorithm is a well-defined procedure that allows a computer to solve a problem. Another way to describe an algorithm is a sequence of unambiguous instructions. ... A search engine uses algorithms. In fact, it is difficult to think of a task performed by your computer that does not use algorithms.

          9)     What is difference between flowchart and algorithm?
            -          An algorithm involves a combination of sequential steps to interpret the logic of the solution. In contrast, a flowchart is the pictorial illustration of the algorithm. A flow chart is more understandable as compared to the algorithm. The algorithm is written in a language that can be perceived by humans.

         10)  What is an algorithm used for?
            -        It is commonly used for data processing, calculation and other related computer and mathematical operations. An algorithm is also used to manipulate data in various ways, such as inserting a new data item, searching for a particular item or sorting an item.

Post a Comment

0 Comments