Page 66 - CodePilot V5.0 C6
P. 66

BRIDGE BACK
                    Use the key below to decode the message:

                    Key: A = 1, B = 2, C = 3, ..., Z = 26
                    Now, replace each number with the letter that comes before it and decode the following message:

                    4  16  14  17  22  21  6  19





                  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 first computer algorithm
                                                                                       was written by Ada Lovelace
                      The algorithm should give the same result every time if you
                     start from the same point.                                        in 1843.


                  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.




                   64
                        CodePilot (V5.0)-VI
   61   62   63   64   65   66   67   68   69   70   71