How many kilobytes of memory do you need to store a 512 × 128 pixel drawing if it uses 32 shades of gray?

1) D = 32. D = 2 ^ 5 = 32 – >> 5 bits per pixel.
TOTAL PIXELS: 512 * 128 = (2 ^ 9) * (2 ^ 7) = 2 ^ 16 – their number. 2) 5 * 2 ^ 16 / (2 ^ 13) = 2 ^ 16 * 5/2 ^ 13 = 5 * 2 ^ 3 = 40 – counting kilobytes of memory



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.