answersLogoWhite

0


Best Answer

ASCII symbol 'K' has the binary code 01001011.

Reading right-to-left, each bit has the following value:

bit 0 = 1 = 2^0 * 1 = 1 * 1 = 1

bit 1 = 1 = 2^1 * 1 = 2 * 1 = 2

bit 2 = 0 = 2^2 * 0 = 4 * 0 = 0

bit 3 = 1 = 2^4 * 1 = 8 * 1 = 8

bit 4 = 0 = 2^8 * 0 = 16 * 0 = 0

bit 5 = 0 = 2^16 * 0 = 32 * 0 = 0

bit 6 = 1 = 2^32 * 1 = 64 * 1 = 64

bit 7 = 0 = 2^64 * 0 = 128 * 0 = 0

1 + 2 + 0 + 8 + 0 + 0 + 64 + 0 = 75

Therefore 01001011 is the binary encoding for the decimal value 75.

Thus ASCII symbol 'K' has the decimal value 75

Working the other way, we divide the decimal value by 2. The remainder can only be 0 or 1 and we write this remainder down. We continue dividing by 2, writing a 0 or a 1, until the decimal value is 0. We then pad any remaining bits with 0s. Like so:

75 / 2 = 37 r 1

37 / 2 = 18 r 1

18 / 2 = 9 r 0

9 / 2 = 4 r 1

4 / 2 = 2 r 0

2 / 2 = 1 r 0

1 / 2 = 0 r 1

Reading from the bottom up, the remainders are 1001011, which we pad with a leading zero to create the binary value 01001011. Note that we typically use leading zeroes when the number of bits is not an exact multiple of 8, thus creating a binary value of one or more 8-bit bytes.

Another way to do the conversion is to use hexadecimal notation. Hexadecimal makes it much easier for humans to interpret binary values because there are 16 digits (0-9 then A-F) and each digit represents a unique 4-bit binary pattern:

0x0 = 0000

0x1 = 0001

0x2 = 0010 0x3 = 0011

0x4 = 0100

0x5 = 0101

0x6 = 0110

0x7 = 0111

0x8 = 1000

0x9 = 1001

0xA = 1010

0xB = 1011

0xC = 1100

0xD = 1101

0xE = 1110

0xF = 1111

From this we can see that 01001011 is formed from 4-bit patterns 0100 and 1011, which from the table above equates to 0x4 and 0xB respectively. Thus binary 01001011 is equivalent to 0x4B in hexadecimal.

0xB has the decimal value 11 while 0x4 has the decimal value 4. However, as with decimal, the position of the digit is significant. Instead of increasing powers of 10 we are dealing with increasing powers of 16, thus 0x4B really means 11 x 16^0 + 4 x 16^1, which reduces to 11 x 1 + 4 x 16 or simply 11 + 64 = 75.

Working the other way, we divide the decimal value by 16 and use the remainder to determine the hex digit:

75 / 16 = 4 r 11

4 / 16 = 0 r 4

11 in hexadecimal is B, thus 75 in hexadecimal is 0x4B.

From the table above, we see that 0x4 is 0100 and 0xB is 1011, thus 75 = 0x4B = 01001011.

From this we can see that converting decimal to any base is simply a matter of repeatedly dividing by the base and taking the remainder. If the base is greater than 10, we convert that remainder to its corresponding digit.

Converting the other way (to decimal) we need to know the positional value of each significant digit and that is always an increasing power of the base, starting from 0 in the least-significant position.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

Decimal: 75Binary: 1001011

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the binary and decimal values of the ASCII letter K?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you spell Quinn in binary code?

In binary: 10100010 11101010 11010010 11011100 11011100 00000000 In hexadecimal: 0x5175696E6E00 10100010 = 0x51 = 'Q' (ASCII character code 81 decimal) 11101010 = 0x75 = 'u' (ASCII character code 117 decimal) 11010010 = 0x69 = 'i' (ASCII character code 105 decimal) 11011100 = 0x6E = 'n' (ASCII character code 110 decimal) 11011100 = 0x6E = 'n' (ASCII character code 110 decimal) 11011100 = 0x00 = 0 (ASCII character code 0 decimal - null-terminator)


What is the ASCII code in binary and in decimal for a lowercase z?

Lowercase z is 122 decimal, 7a hex and 1111010 binary.


What is the binary equivalent of the word Network using ASCII encoding?

ASCII character array (including null-terminator): {'N','e','t','w','o','r','k','\0'} ASCII character codes (decimal): {78,101,116,119,111,114,107,0} ASCII character codes (octal): {4,7,1,4,5,3,5,0,7,3,5,5,7,3,4,4,6,5,4,0,0} ASCII character codes (hexadecimal): {4E,65,74,77,6F,72,6B,00} ASCII character codes (binary): {01001110,01100101,01110100,01110111,01101111,01110010,01101011,00000000} When treated as a 64-bit value, the ASCII-encoded word "Network" has the decimal value 5,649,049,363,925,854,976.


What is the binary code for B?

That depends what you mean by "B", and what you mean by "binary code" assuming that by "binary code", you actually mean a binary representation of it's ascii value, then the answer is 1000010. The ascii value of the character "B" is 66 in decimal, which is 1000010 is that value in binary. If on the other hand, you mean "what is the binary value of the hexidecimal number B?", then the answer is 1011.


How do you you write know in binary code?

k n o w ? First convert it to ASCII code ... 107 110 111 119 (all decimal numbers) Then convert to binary : 1101011 1101110 1101111 1110111

Related questions

What are the binary and decimal values of the ASCII letter g?

Binary- 01100111 Decimal Value- 103


What are the binary and decimal values for ASCII ltter K?

ASCII for K is 0x4b = 75 = 0100 1011


What is the ASCII code in binary and in decimal for the letter b?

SymbolDecimalBinaryA6501000001B6601000010C6701000011D6801000100E6901000101F7001000110G7101000111H7201001000I7301001001J7401001010K7501001011L7601001100M7701001101N7801001110O7901001111P8001010000Q8101010001R8201010010S8301010011T8401010100U8501010101V8601010110W8701010111X8801011000Y8901011001Z9001011010SymbolDecimalBinarya9701100001b9801100010c9901100011d10001100100e10101100101f10201100110g10301100111h10401101000i10501101001j10601101010k10701101011l10801101100m10901101101n11001101110o11101101111p11201110000q11301110001r11401110010s11501110011t11601110100u11701110101v11801110110w11901110111x12001111000y12101111001z12201111010These is all the alphabet turned into ASCII first decimal then ASCII. Hope you find it useful.


What is the ASCII code in binary and decimal for lower case x?

Lower case 'x' is 120 (decimal) or 1111000 (binary) in the ASCII character table.


What is the ascii code in binary and decimal for a period?

In hexadecimal, that would be 0x2E, which is equivalent to 46 in decimal, which in binary is 101110.


What system translates the decimal numbers 0 255 into binary data representing a letter of character on the keyboard?

ASCII


What is the binary code 10101010?

In decimal it is 170. It is the ASCII code for the ¬ character.


What is the ASCII code of H?

Capital H has an ASCII Code of 72 in Decimal. In Binary that is 1001000. In Hexadecimal it is 48. In Octal it is 110. For a small h it is Decimal 104, Binary 1101000, Hexadecimal 68 and Octal 150.


How do you spell Quinn in binary code?

In binary: 10100010 11101010 11010010 11011100 11011100 00000000 In hexadecimal: 0x5175696E6E00 10100010 = 0x51 = 'Q' (ASCII character code 81 decimal) 11101010 = 0x75 = 'u' (ASCII character code 117 decimal) 11010010 = 0x69 = 'i' (ASCII character code 105 decimal) 11011100 = 0x6E = 'n' (ASCII character code 110 decimal) 11011100 = 0x6E = 'n' (ASCII character code 110 decimal) 11011100 = 0x00 = 0 (ASCII character code 0 decimal - null-terminator)


What is the ASCII code in binary and in decimal for a lowercase z?

Lowercase z is 122 decimal, 7a hex and 1111010 binary.


What is the binary equivalent of the word Network using ASCII encoding?

ASCII character array (including null-terminator): {'N','e','t','w','o','r','k','\0'} ASCII character codes (decimal): {78,101,116,119,111,114,107,0} ASCII character codes (octal): {4,7,1,4,5,3,5,0,7,3,5,5,7,3,4,4,6,5,4,0,0} ASCII character codes (hexadecimal): {4E,65,74,77,6F,72,6B,00} ASCII character codes (binary): {01001110,01100101,01110100,01110111,01101111,01110010,01101011,00000000} When treated as a 64-bit value, the ASCII-encoded word "Network" has the decimal value 5,649,049,363,925,854,976.


In the bionary numbering system what does 10101110 represent in the decimal numbering system?

10101110 = 174 = AE = ® binary = decimal = HEX = ASCII