Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 66 - logicode 2609 C6
P. 66

    Algorithmic intelligence refers to the ability of a computer or machine to follow a set of predefined
                      instructions, known as an algorithm, to solve problems or perform tasks.

                                ALGORITHM

                      An algorithm is a set of step-by-step instructions or rules designed to perform a specific task or

                      solve a problem. It provides a clear and structured approach to find a solution. Algorithms can be
                      used in various fields, such as computing, mathematics and daily activities.

                      GUIDELINES FOR WRITING ALGORITHMS
                      When writing an algorithm, it’s important to break down the problem into clear and simple steps
                      that are easy to follow. Some guidelines to follow when writing algorithms are:

                         Begin with the required information (Input).

                         Explain each action clearly so anyone can follow it.
                         End after a certain number of steps.

                         The algorithm should give the same result every time if you start from the same point.

                                                                                                          PURE
                               The first computer algorithm was written by Ada Lovelace in 1843.          FACT

                      SOLVING PROBLEMS USING ALGORITHMS

                      Let’s look at a few examples to understand how algorithms can be applied to everyday activities.
                      Example 1: Making a sandwich

                      Step  1    Start
                      Step  2    Gather materials: bread, butter, cheese and chopped vegetables.

                      Step  3    Take two slices of bread.

                      Step  4    Spread butter on one side of each slice.
                      Step  5    Place cheese and chopped vegetables on one slice.

                      Step  6    Put the other slice of bread on top.
                      Step  7    Make sure the sandwich is properly put together.

                      Step  8    If needed, press the sandwich down or cut it in half.
                      Step  9    Enjoy your sandwich.

                      Step 10   End

                       64   Premium Edition-VI

| 61 62 63 64 65 66 67 68 69 70 71 |