Back to Course

JSS2: COMPUTER STUDIES - 1ST TERM

0% Complete
0/0 Steps
  1. Computer Software | Week 1
    3 Topics
    |
    1 Quiz
  2. Operating System | Week 2
    9 Topics
    |
    1 Quiz
  3. Computer Memory: Primary And Secondary Memory | Week 3
    5 Topics
    |
    1 Quiz
  4. Computer Memory II: Secondary / Auxiliary / External Memory | Week 4
    3 Topics
    |
    1 Quiz
  5. Number System I | Week 5
    4 Topics
    |
    1 Quiz
  6. Number System II | Week 6
    2 Topics
    |
    1 Quiz
  7. Units of Storage In Computer | Week 7
    3 Topics
    |
    1 Quiz
  8. Problem Solving Skills With Computer | Week 8
    7 Topics
    |
    1 Quiz
  9. Computer Programming Languages | Week 9
    3 Topics
    |
    1 Quiz



  • Do you like this content?

  • Follow us

Lesson Progress
0% Complete

The conversion of hexadecimal numbers to decimal numbers will involve the following.

(a) Get the last digit of the hex number

(b) Make a variable and call power

(c) Multiply the current digit with (16^power), store the result.

(d) Increment power by 1

(e) Set the current digit to the previous digit of the hex number

(f) Repeat from step 3 until all digits have been multiplies

(g) Sum the results of step 3 to get the answer.

Convert the number 1214 hexadecimal to decimal ie 121416 to base 10.

Start from the last digit of the number to convert 1214. Note that the power of zero of any number is always 1.

Place value163 162161160
Binary Number1214

13                22                11                40

1 x (163) = 16 x 16 x 16 = 4096

 2 x (162) =2 x 16 x 16 = 512      

1x (161) = 1 x 16 =16

4 x (16o) = 4 x 1 = 4

The answer is (4 + 16 + 512 + 4096) = 462810

Convert 60116 to base 10

Place value162161160
Binary Number601

6 x (162) + 0 x (161) + 1 x (16o)

6 x (256) + 0 x (16) + 0 x (16)

1536 + 0 + 1 = 153710

Memorize the powers to help you speed up:

164 163 162 161 160

164 –          16 x 16 x 16 x 16 = 65536

163 –          16 x 16 x 16       = 4096

162 –          16 x 16              =  256

161 –          16                     =    16

160 –          1                       =    1

More Examples:

Convert 4AD16 TO Base 10

              4         A            D

              4         10           13

=     (4 x 162)       +                  (10 x 161)       +                (13X160)

=      (4 x 256)        +                  (10 x 16)           +                (13 x 1)

=        1024          +                    160               +                13       =      1197

4AD16 = 119710

Responses

Your email address will not be published. Required fields are marked *

back-to-top
error: