CGGO Q3

0. A frame buffer array is addressed in row-major order for a monitor with co-ordinate locations varying from (0, 0) to (100, 100). Assuming that one bit of storage is required per pixel and address of(0, 0) is 0000, the address of the co-ordinate position (5,10) is given by

  • Option : A
  • Explanation :
    ADDRESS (x,y) = ADDRESS(0,0) + y((x-max) + 1) + x
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *