GATE / CS ARCHIVE

GATE CSE 2000 / QUESTION 2.13

Frame-buffer capacity and color depth

Computer Organization & Architecture · Memory Organization & Address Translation · Full GATE CSE 2000 paper

GATE 2000, Q2.13 2 marks · MCQ
Report issue

Memory Organization & Address Translation

Question 2.13, GATE 2000: A graphics card has 1 MB on-board memory. Which mode cannot fit:1600×400 at 256 colors;1600×400 at 16 million colors;800×400 at 16 million colors;800×800 at 256 colors? Monitor physical size is also listed.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Step 1: A palette of 256 colors needs 8 bits=1 byte per pixel. About 16 million colors requires 24 bits=3 bytes per pixel in the conventional packed framebuffer.

Step 2: The four memory needs are 640,000;1,920,000;960,000;640,000 bytes respectively. Only the second exceeds either 1,000,000 or 1,048,576 bytes.

Thus B. Screen size in inches does not affect the number of stored pixels. The calculation assumes one packed buffer without extra padding, double buffering or 32-bit-per-pixel storage.

Original paper, page 5