A color bitmap graphic of 500 bytes has a size of 20 * 25 pixels. How many colors are in the palette?

500 bytes = 500 * 8 = 4000 bits
1 point goes 4000 / (20 * 25) = 8 bits
8 bits can encode up to 2 ^ 8 = 256 colors
Answer: 256 colors



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.