Determine the required amount of video memory for an image of 1024 by 748 pixels, if there are 16 colors in the palette.
November 19, 2020 | education
| To store one point of the image, log2 (16) = 4 bits will be used, since the problem statement says that there are 16 colors in the palette.
Now let’s find the required amount of video memory.
I = 1024 * 748 * 4 bits = 2 ^ 10 * 2 ^ 2 * 748 bits = 2 ^ (10 + 2) * 748 bits = 2 ^ 12 * 748 bits = (2 ^ 12 * 748) / (8 * 1024 ) kbytes = (2 ^ 12 * 748) / (2 ^ 3 * 2 ^ 10) kbytes = (2 ^ 12 * 748) / 2 ^ 13 kbytes = 748/2 kbytes = 374 kbytes.
Answer: I = 374 KB.
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.