Page 52 - CT_AI_Class-5
P. 52

4.  Choose the action that an ATM performs before allowing you to withdraw money.

                               a)  Plays a game                             b)  Changes PIN

                               c)  Sends messages                           d)  Verify your identity

                     5.  Select the first step in writing a simple algorithm.

                               a)  Check your steps

                               b)  Break the task into small steps


                               c)  Understand the problem

                               d)  Write the final answer


                  B.  Fill in the blanks using the given hints:
                     1.                  is the simplest type of flow.                                      Hints

                     2.  The flow of                  in an algorithm can happen in different             Algorithm
                         ways, depending on the problem and the steps involved.                           Repetition

                     3.  After finding the mistake, correct it and test the                              Instructions
                         again.                                                                          Traffic lights
                                                                                                          Sequence
                     4.                  helps us avoid writing the same steps many times.
                     5.                  systematically change from red to yellow to green in a fixed order and
                         stay on for a certain time.


                  C.  Write ‘T’ for true and ‘F’ for false.

                     1.  After fixing a bug, no need to test the algorithm again.

                     2.  There is no need to break the task into small steps.


                     3.  A good algorithm produces the correct result every time it is followed.

                     4.   Giving a friend step-by-step directions to your house is an example of
                         algorithmic thinking.


                     5.  Sorting algorithms are one of the most important tools in computer science.

                  D.  Answer in one word.

                     1.  The books are arranged alphabetically in this place using a
                         sorting algorithm.

                     2.  The process of finding and correcting mistakes in the algorithm.
                     3.  A type of flow in which steps happen one by one in a fixed order

                         with no choices or repeats.




                  50         Artificial Intelligence (CT & AI)-V
   47   48   49   50   51   52   53   54   55   56   57