Information Technology Introduction to Number System Adnan Khalid
Computer and Numbers To a computer everything is a number. Numbers are numbers. Alphabets are numbers. Pictures are numbers.
The Binary Number System In digital computers only two values are displayed i.e. either On or Off. These values can also be represented by 0’s and 1’s. George Boole invented Boolean Algebra which stated that every equation can either be true or false.
The Unconventional System The common man uses a base10 or decimal system. The binary system is hence a bit complicated to comprehend. The decimal system contains digits 0-9 and then repetition of these digits while binary has only 0 and 1 and then repetition of these two.
Bits and Bytes A byte consists of 8 bits. A kilobyte consists of 1024 bytes. The presence of a bit represents the presence of data.
Decimal Vs Binary 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111 8 1000 9 1001 10 1010 11 1011 12 1100 13 1101 14 1110 15 1111 16 10000
Binary Conversion to Decimal Binary To Decimal Conversion Binary Conversion to Decimal
Decimal Conversion to Binary To convert a decimal number to binary, first subtract the largest possible power of two, and keep subtracting the next largest possible power form the remainder, marking 1s in each column where this is possible and 0s where it is not. Example 1 - (Convert Decimal 44 to Binary)
Binary Addition Example 1 Example 2
Binary Multiplication