All mock tests are FREE till 31 December — register to save your progress

If the frame buffer has 10-bits per pixel and 8- bits are allocated for each of the R, G, and B components, then what would be the size of the color lookup table (LUT) ?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. (2¹⁰ + 2¹¹) bytes

Explanation

10 bits per pixel index 2¹⁰ entries, each holding 24 bits = 3 bytes. Size = 3 × 2¹⁰ = 2¹⁰ + 2¹¹ bytes.

More Programming Languages and Computer Graphics questions