If the frame buffer has 8 bits per pixel and 8 bits are allocated for each of…

2013

If the frame buffer has 8 bits per pixel and 8 bits are allocated for each of the R, G, B components, what would be the size of the lookup table?

  1. A.

    24 bytes

  2. B.

    1024 bytes

  3. C.

    768 bytes

  4. D.

    256 bytes

Attempted by 34 students.

Show answer & explanation

Correct answer: C

The frame buffer uses 8 bits per pixel, creating an index space of 2^8 = 256 entries in the lookup table.

Each entry stores 8 bits for Red, Green, and Blue components (24 bits total), equaling 3 bytes per entry.

Multiplying the number of entries by the size per entry gives 256 * 3 = 768 bytes.

Explore the full course: Isro