COMPUTER NETWORKING

MULTIMEDIA AND QUALITY OF SERVICE

COMPRESSION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Upper and lower case letters have a different ASCII code?
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -The difference between upper-and lowercase characters is always 32 (0x20 in hexadecimal), so converting from upper-to lowercase and back is a matter of adding or subtracting 32 from the ASCII character code.

Detailed explanation-2: -For example, we have the capital letter ‘A’ and want to convert it into lowercase letter ‘a’, we need to add 32 to the ASCII value of A (65) that returns character ‘a’ whose ASCII value is 97 (65 + 32). Similarly, we can convert the uppercase string ‘HELLO’ into the lowercase string ‘hello’.

Detailed explanation-3: -What are uppercase letters? Uppercase letters are capital letters-the bigger, taller versions of letters (like W), as opposed to the smaller versions, which are called lowercase letters (like w). Uppercase means the same thing as capital. Uppercase letters can also be called capitals.

There is 1 question to complete.