This section contains carefully selected MCQs and Previous Year Questions with explanations to help students understand concepts and prepare effectively for examinations, interviews, and competitive tests.
Q: 1Aspect ratio is the ratio of ________ to _________.
Option A
Aspect ratio represents the proportional relationship between the width and height of an image, screen, or display. It tells how wide an image is compared to its height.
Aspect ratio is written in the form: Width : Height
Aspect ratio is important because it helps maintain the correct shape of images and videos without stretching or distortion.
Q: 2What is the resolution of 2 inch × 2 inch image which has 512 × 512 pixels?
Option B
Image Resolution represents the number of pixels present in one inch of an image. It is usually measured in Pixels Per Inch (PPI).
Given:
Resolution = Number of Pixels / Image Size in Inches
Therefore, the image resolution is 256 pixels per inch.
Q: 3In MPEG layered bitstream structure, macroblock layer consists of ________ pixels.
Option D
In the MPEG video compression standard, a macroblock is a basic processing unit used for motion estimation, motion compensation, and other compression operations.
For MPEG-1 and MPEG-2 video, a macroblock generally consists of 16*16 pixels. So, one macroblock contains, 16*16 = 256 pixels.
A macroblock is further divided into smaller 8 * 8 blocks, which are used for operations such as the Discrete Cosine Transform (DCT).
Q: 4Which of the following is not required for an XML document to be well-formed?
Option A
A well-formed XML document follows basic syntax rules, but it does not require validation against a DTD (Document Type Definition). Validation is optional and is needed only for a valid XML document, not just a well-formed one.
Rules for a well-formed XML:
Q: 5If multiple bits per pixel are used to store an image, then the frame buffer is known as __________.
Option C
In computer graphics, an image displayed on the screen is stored inside a memory area called the Frame Buffer. The frame buffer stores information about each pixel of the image.
If only 1 bit per pixel is used, the image generally contains only black and white colors. This is called a Bit Map.
If multiple bits per pixel are used, more colors and image details can be stored. This type of frame buffer is called a Pix Map (Pixel Map).
Q: 6Which of the following image type uses lossy compression?
Option C
Lossy Compression is a compression technique in which some image data is permanently removed to reduce the file size. Because some information is discarded, the image may lose a small amount of quality.
JPG (JPEG) commonly uses lossy compression, making it suitable for photographs and web images where a smaller file size is important.
| Image Format | Description | Common Compression |
|---|---|---|
| GIF | Graphics Interchange Format. It is suitable for simple graphics, icons, and animations with a limited number of colors. | Lossless compression using LZW |
| TIFF / TIF | Tagged Image File Format. It is commonly used for high-quality images, scanning, printing, and professional image processing. | Usually Lossless |
| JPEG / JPG | Joint Photographic Experts Group. It is widely used for photographs and images where a smaller file size is important. | Lossy compression |
| PNG | Portable Network Graphics. It is suitable for graphics, logos, screenshots, and images that require transparency. | Lossless compression using DEFLATE |
| BMP | Bitmap Image. It is a raster image format commonly associated with Windows. | Usually Uncompressed |
| WebP | A modern image format designed for efficient web use. It supports both lossy and lossless compression. | Lossy or Lossless |
| SVG | Scalable Vector Graphics. It is used for Vector-Based graphics that can be scaled without losing quality. | Not based on traditional Raster Image Compression |
Q: 7The process which digitized amplitude value of the image during digital conversion of an image is known as ___________.
Option B
During digital image processing, an analog image is converted into a digital image using two important steps:
Sampling is the process of dividing the image into small discrete points called pixels.
Quantization is the process of assigning or digitizing the amplitude (intensity or brightness) values of pixels into discrete digital values.
Q: 8The MPEG standard is primarily a ____________ specification?
Option C
MPEG (Moving Picture Experts Group) is a family of standards used for compressing and encoding digital audio and video.
MPEG specifications primarily define how multimedia data is represented and encoded as a bitstream, which is a sequence of bits (0s and 1s).
Q: 9Which of the following image type has an extension as .dib?
Option C
The .dib file extension stands for Device Independent Bitmap. It is a type of Bitmap Image format used in Windows.
A DIB stores bitmap image information in a way that is independent of the display device, meaning the image data is not tied to a particular graphics device.
The common bitmap file extension is .bmp, while .dib is another extension used for bitmap images.
| Image Type | Common Extension |
|---|---|
| Bitmap Image | .bmp, .dib |
| Windows Metafile | .wmf |
| Enhanced Windows Metafile | .emf |
| RLE (Run-Length Encoding) Image | .rle |
Q: 10Memory buffer which stores the image definition is known as __________.
Option B
In computer graphics, images displayed on the screen are stored temporarily in a special area of memory called the Frame Buffer. It stores the color and intensity information of every pixel of the image before the image appears on the display screen.
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.