ctuek7664 ctuek7664
  • 25-09-2017
  • Computers and Technology
contestada

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

Respuesta :

tonb
tonb tonb
  • 26-09-2017
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.
Answer Link

Otras preguntas

If you were given an unknown solution and no PH paper, could you determine whether it is acidic, basic or neutral using only the three indicators? (Phenolphthal
the sum of 4 times a number and -3 added to 9 times the number
Slave state legislation had more power in what part of congress during the 1850’s A. The Supreme Court B. The Executive C. The House of Representatives D. Th
thermal energy to sound energy?
Which of the following is the best buy? a 16 oz bag of rice for $2.42 a 12 oz box of rice for $1.93 a 6 oz box of rice for 90¢ a 9 oz box of rice $1.25
A group of Congress members is asked to review an important bill that is scheduled to be debated in the near future.
Which detail from The Diary of a Young Girl supports the idea that Anne’s voice is optimistic? “At three o'clock . . . the doorbell rang. I didn't hear it, sin
What determines the temperature at which a substance melts and boils? A.atom size B. outer electrons C.bonding forces D.vaporization point
A student walks 2 km in 30 min what is the students average In km/h
Please help me with this question image attached