Let the video memory of the computer have 512 KB. The size of the graphics grid is 640-480.
Let the video memory of the computer have 512 KB. The size of the graphics grid is 640-480. How many pages of the screen can be simultaneously accommodated in the video memory with a palette of 16 colors; 256 Colors?
First, let’s determine how many points the screen of this computer will contain, because from the condition of our problem we know that the grid size is 640 by 480:
640 * 480 = 307200.
Let’s determine how many bits are needed to encode one point with 16 colors:
16 = 2 ^ 4;
i = 4.
Let’s determine the possible number of pages:
512 * 1024 * 8: (307200 * 4) ≈ 3.
Answer: 3 p.
Let’s determine how many bits are needed to encode one point with 256 colors:
256 = 2 ^ 8;
i = 8.
Let’s determine the possible number of pages:
512 * 1024 * 8: (307200 * 8) ≈ 1.7. That is 1.
Answer: 1.