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: 3Which 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: 4If 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: 5The 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: 6Memory 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.
Q: 7The small unit of Raster Graphics is called:
Option C
Raster Graphics are made up of tiny small units called Pixels. A pixel is the smallest individual point or dot in a digital image.
Each pixel stores color and brightness information. When many pixels combine together, they form a complete image.
For example, a resolution of 1920×1080 means the image contains 1920 columns and 1080 rows of pixels.
Q: 8The small unit of Vector Graphics is called:
Option B
Vector Graphics are created using mathematical lines, curves, and shapes called Paths. These paths are defined by points, directions, and formulas instead of pixels.
Because vector graphics use paths, they can be resized without losing image quality.
Vector graphics are commonly used for designing logos, icons, and technical drawings because they can be resized without losing image quality.
Q: 9Which of the following is not the file formats of graphics?
Option D
Graphics file formats are used to store images, pictures, and graphical data in computers. Different image formats are used depending on image quality, compression, transparency, or animation requirements.
These formats are mainly used for storing images on websites, computers, and mobile devices.
However, WAV is not an image or graphics format. WAV (Waveform Audio File Format) is an audio file format used to store sound.
Q: 10If an image has a height of 4 inches and an aspect ratio of 3 : 2, then what will be the width of the image?
Option B
Aspect ratio represents the proportional relationship between the width and height of an image. It is usually written in the form: Width : Height
Given:
Using the ratio:
Width / Height = 3 / 2
Let the width be x.
So,
x / 4 = 3 / 2
Now cross multiply:
2x = 12
x = 6
Therefore, the width of the image is 6 inches.
| Aspect Ratio | Height | Width |
|---|---|---|
| 3 : 2 | 4 inches | 6 inches |
Q: 11Which of the following Xpath expression selects the attribute?
Option A
In XPath, the @ symbol is specifically used to select attributes of an element rather than the element itself. Attributes provide additional information about elements and are accessed differently from child nodes.
For example, given the XML element <student id="101" name="Suresh"/>, the XPath expression /student/@id is used to select the id attribute of the student element, which returns the value 101.
| Symbol | Purpose |
|---|---|
| @ | Select attribute. |
| / | Select root/child nodes. |
| // | Select nodes anywhere. |
| * | Select all elements. |
Q: 12In RSS feeds, RSS stands for
Option C
RSS is a Web Technology used to distribute and update content automatically from websites such as blogs, news portals, and podcasts. It allows users to receive updates without visiting each website manually.
The RSS stands for "Really Simple Syndication," which captures how straightforward it is to syndicate (distribute) content across the web.
Q: 13Information from web page stored in server side is called _________.
Option B
In web applications, user-related information can be stored either on the client side or the server side.
A session is a server-side storage mechanism used to store user data temporarily while the user interacts with a website. The data is stored on the server and is associated with a unique Session ID.
You have reached the end of this topic. Continue learning with the next topic below.
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.