Machine-translated by Google. Questions are authored in English.
Top

Discussion

An amount of memory required to store a 256 gray shade monochrome image with 512 × 512 resolution will be :

  • A.256 K bytes
  • B.512 K bytes
  • C.1 M bytes
  • D.64 K bytes

Answer: A

The memory needed is 256 K bytes.

256 grey shades need 8 bits per pixel, since \(2^{8} = 256\), which is one byte per pixel.

\[ \begin{aligned} 512 \times 512 &= 262144 \text{ pixels} \\ &= 262144 \text{ bytes} \\ &= 256 \times 1024 = 256\ \text{K bytes} \end{aligned} \]

512 K bytes would mean 16 bits per pixel, 1 M byte 32 bits, and 64 K bytes only 2 bits per pixel (4 grey levels).

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.