Page 58 - Touchcode_C5_Flipbook
P. 58

4.1                                                                  ALGORITHM










                  Algorithm is a set of rules that we need to follow in order to complete a task. If these
                  rules are not followed then we might not get the desired result.





                         CRACK THE CODE                                                             ADVENTURE


                  A.   Write an algorithm to search for a book in a library.                                   Time Taken
                                                                                                         Min.
                       Step 1      Enter a library.


                       Step 2      Go to the __________________________________.


                       Step 3        Check if the library has book you are looking for.


                       Step 4      If the book is available then go to step 5 else go to step 12.


                       Step 5        __________________________________ as per the catalogue and search for
                                   your book.


                       Step 6      If you have found your book then go to step 6 else go back to step 5.


                       Step 7      Take the book to the __________________________________.


                       Step 8      Present your membership __________________________________.


                       Step 9        Scan your card and __________________________________.


                       Step 10   Verify the return date and __________________________________ on the
                                   register.


                       Step 11   Place the book __________________________________.


                       Step 12   Leave the library.









                   56      Touchcode–V
   53   54   55   56   57   58   59   60   61   62   63