The size of the file is 2Kbytes. Determine the number of lines if the pages are 30 by 16 characters.

For the convenience of calculations, let’s translate the message volume into bits. Based on the fact that there are 1024 bytes in one kilobyte, and 8 bits in one byte:

2 * 1024 * 8 = 16384 bits

Let’s calculate the total number of characters in the document. To do this, multiply the number of pages by the number of characters on one page:

30 * 16 = 480 characters

Let’s calculate how much memory one character takes. To do this, we divide the message size by the number of characters in it:

16384/480 – at least 35 bits

To find the size of the alphabet, you need to calculate the equation x = 2 ^ n, where n is the amount of memory that one character takes. 2 ^ 35 is approximately 3.43 ^ 10 characters.



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.