The book contains text and illustrations to it. The volume of the text is 360 pages. Each page contains 48 lines

The book contains text and illustrations to it. The volume of the text is 360 pages. Each page contains 48 lines of 64 characters per line. The illustrations are color drawings with a size of 480 × 160 pixels. Number of illustrations – 10. The total size of the book is 2580 kilobytes. A palette of _____ shades was used for the drawings.

Each page contains 48 x 64 = 3072 characters.

There are 360 ​​pages in the book, which is 360 x 3072 = 1105920 characters.

Each illustration is a drawing consisting of 480 x 160 = 76,800 pixels. There are 10 pictures in total, the total number of pixels of all images is 76800 x 10 = 768000.

The entire book is 2580 kilobytes, which corresponds to 2580 x 1024 = 2641920 bytes.

Let each character occupy 1 byte of information, then the amount of memory occupied by illustrations is 2641920 – 1105929 = 153359 bytes.

153359: 76800 = 2 bytes.

Therefore, each pixel of the picture is encoded with 2 code bits, with which you can encode 2 ^ 16 = 65536 codes.

Answer: A palette of 65536 shades was used for the drawings.



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.