Step 1: Number the alphabets in binary digits of 5 bits. i.e. A = 0001; B = 0010; .......; Z = 11010.
Step 2: If you want Upper-case letters, use the binary digit 010 after the binary code for the letters and binary digit for Lower-case letter, use 011 after the binaru code for the letters. i.e. A = 010 00001; a = 011 00001.
Step 3: Add them together.
Hope this helps you,
Hatim,
Kind Regards,
Example Binary 00111000 Convert to Decimal 56 Convert to BCD by using groups of four binary numbers for each digit 5 6 0101 0110
i want mathmethecaly
You can use the Windows calculator to do the conversions. If you want to learn how to do it yourself:To convert binary to decimal, multiply the right-most digit with 1, the second digit (from the right) with 2, the third with 4, etc.To convert to octal, group the bits from the right to the left, in groups of 3. Convert each group to a decimal digit.
Convert every octal digit into three binary digit: 0->000 1->001 2->010 3->011 4->100 5->101 6->110 7->111
You will need to look up the ASCII numbers for each letter, then convert those number to binary. The word "Denny" in binary is: 0100010001100001011011100110111001111001
Convert each hex digit to four binary digits. If you get less than three (for example, 7 --> 111), fill it out with zeroes to the left (in this case, 0111).
bit = binary digit
Because - Hex is an exact multiple of binary - whereas decimal numbers need to be converted from base 10 to base 2.
It is simplest to convert each hexadecimal digit into its 4-digit binary equivalent. So: 5 = 0101 A = 1010 3 = 0011 4 = 0100 F = 1111 6 = 0101 So, the binary equivalent is 10110100011010011110101.
Binary Digit Binary Digit
Each binary digit represents 2 times that of the digit to its right. So for example: 10b = 2d 100b = 4d 1010b = 8d + 2d = 10d
Each octal digit is equivalent to three binary digits; each hexadecimal digit is equal to four binary digits. I think the best way to do this conversion is to convert each octal digit into the binary equivalent (3 digits in each case - don't omit the zeros on the left), then convert the binary to hexadecimal by grouping four binary digits at a time (starting from the right). Note that nowadays, most scientific calculators - including the calculator that comes included in Windows - have the ability to do this sort of conversion. If you want to practice doing it yourself, you can still use the Windows calculator to check your calculations.