CFA-001 practice question 13 of 25
BMP (Bitmap) is a standard file format for computers running the Windows operating system. BMP images can range from black and white (1 bit per pixel) up to 24 bit color (16.7 million colors). Each bitmap file contains header, the RGBQUAD array, information header, and image data. Which of the following element specifies the dimensions, compression type, and color format for the bitmap?
Full set: 180 questionsDomain Understanding Hard Disks and File Systems
The BMP file format contains a metadata structure called the Information Header (specifically, the BITMAPINFOHEADER structure). This header provides detailed information about the image itself. It includes essential attributes such as the bitmap's width and height (dimensions), the number of bits per pixel (which defines the color format), and the type of compression being used (e.g., BIRGB for uncompressed). The application reading the file uses this information to correctly interpret and display the subsequent image data.
A. Header: The file header (BITMAPFILEHEADER) identifies the file as a BMP and contains the total file size and the offset to the image data, not the image's specific format details.
B. The RGBQUAD array: This is the color table or palette. It defines the specific colors used in indexed-color bitmaps (e.g., 8-bit) but does not specify dimensions or compression.
D. Image data: This section contains the actual pixel values for the image. It is the raw data itself, not the metadata that describes its structure or format.
1. Microsoft Corporation. (2021). BITMAPINFOHEADER structure (wingdi.h). Microsoft Docs. Retrieved from Microsoft Learn. This official documentation specifies the members of the structure, including biWidth and biHeight (dimensions), biBitCount (color format), and biCompression (compression type).
2. Pravetz, J. (n.d.). Windows BMP File Format Specification. Cornell University, Department of Computer Science. In the "DIB Header (Bitmap Information Header)" section, it is detailed that this header contains the image width, height, bits per pixel, and compression method.
3. Foley, J. D., van Dam, A., Feiner, S. K., & Hughes, J. F. (1996). Computer Graphics: Principles and Practice (2nd ed.). Addison-Wesley. Chapter 18, "Image File Formats," describes the structure of various formats, including BMP, and clarifies that the information header block contains image-specific attributes like dimensions and color depth. (Specific reference to the BITMAPINFOHEADER block's role).
Keep practicing
Take the free CFA-001 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CFA-001 practice questions
- Question 1Which of the following commands shows you the names of all open shared files on a server …
- Question 2Billy, a computer forensics expert, has recovered a large number of DBX files during fore…
- Question 3Hash injection attack allows attackers to inject a compromised hash into a local session …
- Question 4The Apache server saves diagnostic information and error messages that it encounters whil…
- Question 5First response to an incident may involve three different groups of people, and each will…
- Question 6The Recycle Bin exists as a metaphor for throwing files away, but it also allows user to …
