Escolar Documentos
Profissional Documentos
Cultura Documentos
Data inside the computer is represented as a series of 0 and 1 which are called bits. A bit is either a 0 or a 1 Bits can be grouped into bytes 1 byte = 8 bits 1 Kilobyte (KB) =1024 Bytes Binary System The binary numeral system, or base-2 number system, represents numeric values using two symbols, 0 and 1. e.g 0111 Decimal System The decimal numeral system (also called base ten or occasionally denary) has ten as its base. It is the numerical base most widely used by modern civilizations It consists of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 e.g 124 Hexadecimal System Hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 09 to represent values zero to nine, and A, B, C, D, E, F. It consists of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F e.g 14A
128 64
1. Divide the decimal number by 16. Treat the division as an integer division. 2 .Write down the remainder (in hexadecimal if remainder is greater than 9, ie. the remainder is 12, write down "C"). 3.Divide the result again by 16. Treat the division as an integer division. 4.Repeat step 2 and 3 until result is less than 1. 5.The hexadecimal value is the digit sequence of the remainders from the last to first. e.g 2500
16)2500 16)156 R 4 9 R 12 Ans: 9 12 4 = 9C4
B
11
6
6
1
1
F
15
163 162 161 160 Ans:(163 * 11 )+ (162 * 6)+ (16 * 1)+( 1*15)=46623
How to Binary ?
Convert
From
Hexadecimal
To
Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Hex 0 1 2 3 4 5 6 7 8 9 A B C D E F e.g B61F B 11 2)11 2)5 2)2 2)1 1 1 0 1 6 6 2)6 0 2)3 1 2)1 1 1 1 2)1 1 2)15 2)7 2)3 2)1 F 15 1 1 1 1