Given That As Code Point In ASCII Is 65 And As Code Point Is 97 What

Computer Science

Given that A's code point in ASCII is 65, and a's code point is 97. What is the binary representation of 'A' in ASCII ? (and what's its hexadecimal representation). What is the binary representation of 'a' in ASCII ?

Number System

31 Likes

Answer

Binary representation of 'A' in ASCII will be binary representation of its code point 65.

Converting 65 to binary:

2QuotientRemainder
2651 (LSB)
2320
2160
280
240
220
211 (MSB)
 0 

Therefore, binary representation of 'A' in ASCII is 1000001.

Converting 65 to Hexadecimal:

16QuotientRemainder
16651
1644
 0 

Therefore, hexadecimal representation of 'A' in ASCII is (41)16.

Similarly, converting 97 to binary:

2QuotientRemainder
2971 (LSB)
2480
2240
2120
260
231
211 (MSB)
 0 

Therefore, binary representation of 'a' in ASCII is 1100001.

Answered By

13 Likes

Related Questions

  • Convert the following binary numbers to octal

    (a) 111010

    (b) 110110101

    (c) 1101100001

    View AnswerBookmark Now
  • Convert the following binary numbers to octal

    (a) 11001

    (b) 10101100

    (c) 111010111

    View AnswerBookmark Now
  • Add the following binary numbers:

    (i) 10110111 and 1100101

    (ii) 110101 and 101111

    (iii) 110111.110 and 11011101.010

    (iv) 1110.110 and 11010.011

    View AnswerBookmark Now
  • Convert the following binary numbers to decimal, octal and hexadecimal numbers.

    (i) 100101.101

    (ii) 10101100.01011

    (iii) 1010

    (iv) 10101100.010111

    View AnswerBookmark Now

Tag » Code Ascii 65