How much video memory in kbytes is needed to store a 640×480 pixel image that uses a 32-color palette.

An image with a resolution of 640×480 contains 307200 pixels.

From the equation x = 2 ^ n (where x is the number of colors, n is the size of one point) it follows that one 32-color point takes up 5 bits of memory.

To calculate the required amount of video memory, you need to multiply the total number of points by the amount of memory occupied by one point:

307200 * 5 = 1536000 bits = 192000 bytes = 187.5 kilobytes.



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.