A frame buffer array is addressed in row-major order for a monitor with pixel locations starting from (0, 0) and ending with (100, 100). What is address of the pixel (6, 10) ? Assume one bit storage per pixel and starting pixel location is at 0.

A frame buffer array is addressed in row-major order for a monitor with pixel locations starting from (0, 0) and ending with (100, 100). What is address of the pixel (6, 10) ? Assume one bit storage per pixel and starting pixel location is at 0. Correct Answer 616

The correct answer is “option 4”.

CONCEPT:

A special area of memory dedicated to graphics in raster scan display is known as a frame buffer.

It is also known as a Refresh buffer.

This memory area holds a set of intensity values for all screen points.

Each screen point is known as a “pixel”.

These stored intensity values are retrieved from the frame buffer & displayed one row or scan line at a time on screen.

CALCULATION:

The frame buffer array is addressed in row-major order with pixel location from: (0, 0) to (100, 100).

Formula for Row-major order to find element is: B + w × (N × (i - start_row) + (j - start_column))

B – Base address of the array → 0

w – size of each element in arra y → 1

N –total number of columns → {0 to 100 i.e. 101 columns}

Therefore, to find :

= 0 + (1 ×  (101 × (6 - 0)) + (10-0))        {i = 6, j = 10}

= 606 + 10

= 616

Hence, the correct answer is “option 4”.

Related Questions

A teacher asked the class to subtract 5 from 75.70% of the class said: 25. Their work was shown as: \(\begin{array}{*{20}{c}} {\begin{array}{*{20}{c}} 7&5 \end{array}}\\ {\underline {\begin{array}{*{20}{c}}\ { - 5} \ \ \ &{} \end{array}} }\\ {\underline {\begin{array}{*{20}{c}} 2&5 \end{array}} } \end{array}\) Which of the following describes the most appropriate remedial action that the teacher should take to clarify this misconception?
You have just configured two Windows NT Servers, Monitor 1 and Monitor 2 with no other software installed. You have an application server that needs to be monitored for performance to figure out what it's problem is, or to get some kind of baseline. You install Network Monitor on Monitor 2. What would you do to monitor Application server?