Eight binary black-and-white images each contain 1 megapixel, and one image with exactly 8 possible colours contains 8 megapixels. Using the minimum fixed number of bits per pixel, what total space is needed for the uncompressed pixel data? Ignore headers and palettes; use 1 megapixel = 1,000,000 pixels and 1 MB = 1,000,000 bytes.
4 MB
Step 1: Binary images need 1 bit per pixel, so all eight need \(8\times10^6\text{ bits}=1\text{ MB}\).
Step 2: Eight colours need \(\log_2 8=3\) bits per pixel. The colour image needs \(8\times10^6\times3\text{ bits}=3\text{ MB}\).
Total storage is 4 MB.
| List I | List II |
| A. Clustered Page Table | I. Generally considered inappropriate for 64 bit architectures. |
| B. Hierarchical Page Table | II. Has only entry for each real page (or frame) of memory. |
| C. Segmentation | III. Useful for Sparse address spaces. |
| D. Inverted Page Table | IV. Supports a user view of the system. |
Which of the following is a type of memory and is similar to RAM?