Find the amount of text written in a language whose alphabet contains 256 characters 20 characters in a message.

We have an alphabet that uses 256 characters. Let’s find out, first, how many bits are required to encode one such character.
Since binary bits are used to encode the characters of this alphabet, we have: 2 ^ x = 256. x = 8.
Thus, it takes 8 bits to encode one character.
Now let’s calculate how many bits the whole message will take: 20 * 8 = 160 bits.
It is known that 1 byte = 8 bits. It follows that 160 bits / 8 = 20 bytes.
Answer: 20 bytes is occupied by a message of 20 characters in a 256-character alphabet.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.