Ask Question
31 October, 05:30

What bit position in an ascii code must be complemented to change the ascii letter represented from uppercase to lowercase and vice versa?

+4
Answers (1)
  1. 31 October, 09:10
    0
    Flip bit position 5 to accomplish this. This maps to hex value 0x20, where the least significant bit is assumed to be at position 0.

    Example: ascii "A" = 0x41, "a" = 0x61. 0x41 xor 0x61 = 0x20.

    You would implement a flip function by XOR'ing the character value with 0x20.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What bit position in an ascii code must be complemented to change the ascii letter represented from uppercase to lowercase and vice versa? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers