Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 13 - 2606_PlugGPT_C7_Flipbook
P. 13

    Some examples of colour code are:

                       Red: #FF0000                      Green: #00FF00                    Blue: #0000FF

                          Tick ( ) if you know this.

                          ▶   A hexadecimal number system is made up of sixteen symbols, 0 to 9 and A to F.
                          ▶  Number system is  a method of counting and representing numbers.

                               CONVERSION OF DECIMAL TO BINARY

                     To convert a decimal number into a binary number, follow the given steps:
                     Step  1    Divide the decimal number by 2 while keeping track of the quotient and remainder.

                     Step  2    Continue dividing the quotient by 2 until you get a quotient of less than 2.
                     Step  3    Then write the remainder in the reverse order (from bottom to top) to obtain the binary

                              equivalent.
                     Example: Convert the (126)  to binary number.
                                                 10
                                                                2  126
                                                                2   63     0

                                                                2   31      1
                                                                2   15      1

                                                                2    7      1
                                                                2    3      1
                                                                      1     1

                     The binary equivalent of 126 is 1111110 or (126)  = (1111110) 2
                                                                    10

                             uiz   Bee        Convert (26)  to a binary number and write answer.
                                                         10
                                              _________________________________________________________________

                               CONVERSION OF BINARY TO DECIMAL

                     To convert a binary number into a decimal number, follow the given steps:

                     Step  1    Multiply each digit of the binary number by 2 to the power of n, where n is the position of
                              the digit starting from 0 on the right.

                                                                                                      Number System   11

| 8 9 10 11 12 13 14 15 16 17 18 |