DATA REPRESENTATION AND NUMBER SYSTEMS
ASCII AND UNICODE CHARACTER ENCODING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
The word “Hello” is made up of 5 characters. How many bits is this (hint:how many 1’s and 0’s are needed to write it)
|
40
|
|
60
|
|
80
|
|
48
|
Explanation:
Detailed explanation-1: -Therefore, each character can be 8 bits (1 byte), 16 bits (2 bytes), 24 bits (3 bytes), or 32 bits (4 bytes). Likewise, UTF-16 is based on 16-bit code units. Therefore, each character can be 16 bits (2 bytes) or 32 bits (4 bytes). All UTFs include the full Unicode character repertoire, or set of characters.
Detailed explanation-2: -So we have to specify that directly. Our Hello World will only be in 32 bits.
There is 1 question to complete.