Sunday 7 October 2012

Chapter 2 Number System Base

Number System Base

- A base for a number system is the maximum number that can be represented in the single digit or number.
- A number system is a set of rules and symbols used to represent a number.
- There are several types of number system but we are here only focus on:
a) Binary (base 2)
b) Decimal (base 10)
c) Hexadecimal (base 16)

- Below is a table of values that you need to memorize.

A) Binary Number System
- The prefix "bi-" stands for 2
- The binary number system is a Base 2 number system.
- There are 2 symbols that represent quantities: 0, 1
- Each place value in a binary number is a power of 2.

1110 10112 = (1x27)+(1x26)+(1x25)+(0x24)+(1x23)+(0x22)+(1x21)+(1x20)
                 = 128+64+32+8+2+1
                 = 23510
                 = E B16

1 0111(1x24)+(0x23)+(1x22)+(1x21)+(1x20)
             = 16+4+2+1
             = 2310
             = 1716

B) Decimal Number System
- The prefix "deci-" stands for 10.
- The decimal number system is a Base 10 number system.
- There are 10 symbols that represent quantities : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.

- Each place value in a decimal number is a power of 10.
8810 = 64 + 0 + 16 + 8 + 0 + 0 + 0
       = (1x26)+(0x25)+(1x24)+(1x23)+(0x22)+(0x21)+(0x20)
       = 10110002
       = 5816 

C) Hexadecimal Number System
- The prefix "hexa-" stand for 16
- The decimal number system is a Base 16 number system.
- There are 16 symbols that represent quantities : 
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.
- Each place value in a hexadecimal number is a power of 16.


B916 = 101110012
        =  (1x27)+(0x26)+(1x25)+(1x24)+(1x23)+(0x22)+(0x21)+(1x20)
        = 128+0+32+16+8+0+0+1
        = 18510

No comments:

Post a Comment