GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 17(b)

Size a monochrome graphics buffer

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

GATE 1995, Q17(b) Descriptive
Report issue

Memory Organization & Address Translation

Question 17(b), GATE 1995: A CRT has 80×25 character cells, each 9×12 pixels. Find video-buffer RAM for monochrome graphics at one bit per pixel.
Tap to enlarge
Answer & solution

Answer: 27,000 bytes (216,000 bits), about 26.367 KiB. (no official key was published)

Convert the character grid into pixel dimensions first. There are 80×9=720 horizontal pixels and 25×12=300 vertical pixels. The bitmap therefore contains 720×300=216,000 pixels. At one bit per pixel it requires 216,000 bits, which is 216,000/8=27,000 bytes.

The same result follows by counting 80×25=2000 cells, each covering 9×12=108 pixels: 2000×108=216,000. This cross-check shows that the cell dimensions are not merely font metadata; they determine the graphics resolution. The result is 27 decimal kB or 27,000/1024≈26.367 KiB.

This is a tightly packed one-bit framebuffer. A 720-pixel row occupies exactly 90 bytes, so no padding is needed to reach a whole-byte row boundary. A device might allocate a larger power-of-two RAM bank or impose extra row alignment, but neither is specified. Text-mode character/attribute storage is not the requested buffer: the problem explicitly asks for monochrome graphics mode.

Original paper, page 7