Page 78 - Computer - 2
P. 78

Example: Observe the given figure and count the number of triangles in

            it.















            Solution: There are 9 triangles in the figure - 4 small triangles marked
            1 - 4, 4 medium triangles, and 1 large triangle marked in blue outline.




                                                               5

                                                             2  1  3

                                                          6    4     7



            Coding-Decoding

            Coding-Decoding is the process of substituting the letters of a word with

            some other letters according to a certain rule. To get back the original
            word, you have to apply the rule to the coded word in reverse order.


            Example:  The  word  PRINTER  is  coded  as  QSJOUFS  in  a  certain  code

            language. Write the code for the word MONITOR using the same code

            language.

            Solution: If you match the letters of the word PRINTER with QSJOUFS,

            we find that each letter of PRINTER is replaced with its next letter in the
            alphabet. Thus, A is replaced with B, B with C, C with D, and so on. Thus,

            the code for MONITOR will be NPOJUPS.
















               76
   73   74   75   76   77   78   79   80