Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Graphics Hardware and Display Devices

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 32

Graphics Hardware and Display devices

This section of our 1000+ Computer Graphics multiple choice questions focuses on Graphics Hardware and
Display devices.

1. Which devices provides positional information to the graphics system ?


a) Input devices
b) Output devices
c) Pointing devices
d) Both a and c
View Answer
Answer: d
Explanation: Input devices positional information to the system they often called pointing devices.

2. The number of pixels stored in the frame buffer of a graphics system is known as
a) Resolution
b) Depth
c) Resalution
d) Only a
View Answer
Answer: d
Explanation: Number of pixels determines the resolution .

3. In graphical system, the array of pixels in the picture are stored in


a) Memory
b) Frame buffer
c) Processor
d) All the above
View Answer
Answer: a
Explanation: Frame buffer is mainly used to store pixels.

4. Heat supplied to the cathode by directing a current through a coil of wire is called
a) Electron gun
b) Electron beam
c) Filament
d) Anode and cathode
View Answer
Answer: c
Explanation: In CRT the filament is responsible for supply of power.

5. The maximum number of points that can be displayed without overlap on a CRT is referred as
a) Picture
b) Resolution
c) Persistence
d) Neither b nor c
View Answer
Answer: b
Explanation: none.

6.________ stores the picture information as a charge distribution behind the phosphor-coated screen.
a) Cathode ray tube
b) Direct-view storage tube
c) Flat panel displays
d) 3D viewing device.
View Answer
Answer: b
Explanation: Instead of refreshing, DVST stores the picture information behind the screen.

7. The devices which converts the electrical energy into light is called
a) Liquid-crystal displays
b) Non-emitters
c) Plasma panels
d) Emitters
View Answer
Answer: d
Explanation: Emissive displays are devices that convert electrical energy into light.

8. In which system, the Shadow mask methods are commonly used


a) Raster-scan system
b) Random-scan system
c) Only b
d) Both a and b
View Answer
Answer: a
Explanation: Raster-scan system uses shadow-mask method because they produce wide range of colors.

9. The process of digitizing a given picture definition into a set of pixel-intensity for storage in the frame
buffer is called
a) Rasterization
b) Encoding
c) Scan conversion
d) True color system
View Answer
Answer: c
Explanation: The digitization process is called scan conversion.

10. Which display devices allows us to walk around an object and view it from different sides.
a) Direct view storage tubes
b) Three-dimensional devices
c) Flat panel display devices
d) Plasma panel display devices
View Answer
Answer: b
Explanation: 3D display devices allows user to view the object from different sides.

11. In LCD, the refresh rate of the screen is


a) 60 frames/sec
b) 80 frames/sec
c) 30 frames/sec
d) 100 frames/sec
View Answer
Answer: a
Explanation: LCD screen is refreshed at 60 frames per second.

12. Random-scan system mainly designed for


a) Realistic shaded screen
b) Fog effect
c) Line-drawing applications
d) Only b
View Answer
Answer: c
Explanation: Random-scan system mainly designed for Line-drawing applications.

13. The primary output device in a graphics system is_________


a) Scanner
b) Video monitor
c) Neither a nor b
d) Printer
View Answer
Answer: b
Explanation: The video monitor is the commonly used output device.

14. On a black and white system with one bit per pixel, the frame buffer is commonly called as
a) Pix map
b) Multi map
c) Bitmap
d) All the above
View Answer
Answer: c
Explanation: Bit map frame buffer is always 1 bit per pixel.

15. Aspect ratio means


a) Number of pixels
b) Ratio of vertical points to horizontal points
c) Ratio of horizontal points to vertical points
d) Both b and c
View Answer
Answer: d
Explanation: none.

Input Devices – 1
This section of our 1000+ Computer Graphics multiple choice questions focuses on Input Devices.

1. The most commonly used input device is


a) Mouse
b) Keyboard
c) Scanner
d) Printer
View Answer
Answer: b
Explanation: Keyboard is the most commonly used input device.

2. Which keys allows user to enter frequently used operations in a single key stroke?
a) Function keys
b) Cursor control keys
c) Trackball
d) Control keys
View Answer
Answer: a
Explanation: Function keys are used to access frequently used areas.

3. ________ are used to measure dial rotations.


a) Potentiometers
b) Volta meter
c) Parameter
d) Only a
View Answer
Answer: d
Explanation: Potentiometer measures the dial rotations.

4. The device which is used to position the screen cursor is


a) Mouse
b) Joystick
c) Data glove
d) Both a and c
View Answer
Answer: a
Explanation: A mouse is small hand-held box used to position the screen cursor.
5. _________ is used for detecting mouse motion.
a) Optical sensor
b) Rollers on the bottom of mouse
c) Both a and b
d) Sensor
View Answer
Answer: c
Explanation: Rollers and optical sensors are used to record the amount and direction of movement.

6. Trackball is
a) Two-dimensional positioning device
b) Three- dimensional positioning device
c) Pointing device
d) None of these
View Answer
Answer: a
Explanation: Trackball is two-dimensional positioning device.

7. Space ball provide________ degree of freedom.


a) 10 degree
b) 6 degree
c) 8 degree
d) 12 degree
View Answer
Answer: b
Explanation: Space ball provide 6 degree of freedom.

8. Which is the ball that can be rotated with the fingers or palm of the hand?
a) Space ball
b) Trackball
c) Only a
d) Both b and c
View Answer
Answer: b
Explanation: Trackball is a ball that can be rotated with the fingers or palm of the hand.

9. ________ is used for 3D positioning and modeling, animation and other application.
a) Space ball
b) Trackball
c) Spac ball
d) All of the above
View Answer
Answer: a
Explanation: Space ball is a 3D positioning device.
10. Potentiometers mounted at the base of the joystick measures
a) The amount of movement
b) The direction
c) Position
d) Resolution
View Answer
Answer: a
Explanation: Potentiometers mounted at the base of the joystick measures the amount of movement.

11. Pressure-sensitive joysticks are also called


a) Non movable stick
b) Joystick
c) Isometric joystick
d) None of these
View Answer
Answer: c
Explanation: None.

12. Which is the device that is constructed with the series of sensors that detects hand and finger
motion?
a) Digitizers
b) Data glove
c) Joystick
d) Track ball
View Answer
Answer: b
Explanation: Data glove senses, detects hand and finger motion.

13. A common device for drawing, painting, or interactively selecting coordinate positions on an object
is a
a) Image scanner
b) Digitizers
c) Data glove
d) Touch panels
View Answer
Answer: b
Explanation: Digitizers can be used for drawing, painting and selecting positions.

14. Which device is used to input two-dimensional coordinates by activating a hand cursor on a flat
surface?
a) Graphic tablet
b) Data tablet
c) Only b
d) Both a and b
View Answer
Answer: d
Explanation: Graphic tablet are also called data tablet.

15. ___________ can be used to determine the position on the data tablet.
a) Strip microphones
b) Signal strength
c) Coded pulse
d) Either Signal strength or coded pulse
View Answer
Answer: d
Explanation: Either Signal strength or coded pulse determine the position on the data tablet.

Input Devices – 2
This section of our 1000+ Computer Graphics multiple choice questions focuses on Input Devices.

1. __________ allows screen positions to be selected with the touch of a finger.


a) Touch panels
b) Image scanner
c) Light pen
d) Mouse
View Answer
Answer: a
Explanation: None.

2. What is the disadvantage of the light pen?


a) It’s shape
b) They cannot detect positions
c) Accurate reading
d) Cannot detect positions within black areas
View Answer
Answer: d
Explanation: light pen requires special implementations and sometimes gives false reading due to background
lighting in a room.

3. ________ is used in graphics workstation as input devices to accept voice commands.


a) Touch panels
b) Speech recognizers
c) Only a
d) All of these
View Answer
Answer: b
Explanation: Through speech recognizers user can give voice commands.

4. What voice the use of voice system?


a) To initiate graphics operation
b) To enter data
c) Neither a nor b
d) Both a and b
View Answer
Answer: d
Explanation: The voice system input can be used to initiate graphics operations or to enter data.

5. When a voice command is given, the system searches the _____________for a frequency-pattern
match.
a) Memory
b) Input data
c) Dictionary
d) Hard disk
View Answer
Answer: c
Explanation: System searches the dictionary for frequency pattern matching.

6. The device which is designed to minimize the background sound is


a) Microphone
b) Digitizers
c) Data glove
d) Joy stick
View Answer
Answer: a
Explanation: Microphone is designed to minimize the background sound.

7. The quality of a picture obtained from a device depends on


a) Dot size
b) Number of dots per inch
c) Number of lines per inch
d) All the above
View Answer
Answer: d
Explanation: quality depends on these attributes.

8. Which of the following device is not the input device?


a) Trackball and space ball
b) Data glove
c) Only d
d) Impact printers
View Answer
Answer: c
Explanation: printer is an output device.

9. Which device contains thumbwheel, trackball and a standard mouse ball?


a) Z mouse
b) Joystick
c) Mouse
d) Trackball
View Answer
Answer: a
Explanation: These 3 buttons are the Z mouse features.

10. Virtual reality, CAD, and animations are the application of


a) Z mouse
b) Digitizers
c) Data tablets
d) Image scanners
View Answer
Answer: a
Explanation: Application of Z mouse includes virtual reality, CAD, and animations.

Line Filling Algorithms


This section of our 1000+ Computer Graphics multiple choice questions focuses on Line Filling Algorithms.

1. The Cartesian slope-intercept equation for a straight line is


a) y = m.x + b
b) y = b.x + m
c) y = x.x + m
d) y = b + m.m
View Answer
Answer: a
Explanation: Equation for a straight line is y = m.x + b.

2. For lines with slope magnitude |m|<1, ?x can be_________ a) A set corresponding vertical
deflection b) A set proportional to a small horizontal deflection voltage c) Only a d) All of these [expand
title="View Answer"] Answer: b Explanation:?x can be a set proportional to a small horizontal deflection
voltage only if slope magnitude |m| <1. [/expand] 3. On raster system, lines are plotted with a) Lines b)
Dots c) Pixels d) None [expand title="View Answer"] Answer: c Explanation: Using pixels lines can be
plotted. [/expand] 4. Expansion of line DDA algorithm is a) Digital difference analyzer b) Direct
differential analyzer c) Digital differential analyzer d) Data differential analyzer [expand title="View
Answer"] Answer: c Explanation: DDA stands for digital differential analyzer. [/expand] 5. Which
algorithm is a faster method for calculating pixel positions? a) Bresenham’s line algorithm b) Parallel
line algorithm c) Mid-point algorithm d) DDA line algorithm [expand title="View Answer"] Answer: d
Explanation: The DDA is a faster method for calculating pixel positions. [/expand] 6. The disadvantage
of lineDDA is a) Time consuming b) Faster c) Neither a nor b d) None [expand title="View Answer"]
Answer: a Explanation: The DDA algorithm takes more time than other algorithm. [/expand] 7. An
accurate and efficient raster line-generating algorithm is a) DDA algorithm b) Mid-point algorithm c)
Parallel line algorithm d) Bresenham’s line algorithm [expand title="View Answer"] Answer: d
Explanation: Bresenham’s line algorithm is a very efficient and accurate algorithm. [/expand] 8. In
Bresenham’s line algorithm, if the distances d1 < d2 then decision parameter Pk is______ a) Positive
b) Equal c) Negative d) Option a or c [expand title="View Answer"] Answer: c Explanation: If d1 < d2
then the decision variable is always negative. [/expand] 9. Which is the best line algorithm to balance
the processing load among the processers? a) Parallel line algorithm b) DDA line algorithm c)
Bresenham’s line algorithm d) Position Bresenham’s line algorithm [expand title="View Answer"]
Answer: a Explanation: If there are ‘n’ processes then this algorithm divides it into number of partitions
and generates line segments. [/expand] 10. The algorithm which uses multiple processors to calculate
pixel positions is a) Midpoint algorithm b) Parallel line algorithm c) Bresenham’s line algorithm d) All
the above [expand title="View Answer"] Answer: b Explanation: In Parallel line algorithm each
processors calculates pixel positions. [/expand] 11. Coordinate references in the polyline function are
stated as a) Relative coordinate values b) Absolute coordinate values c) Current position d) Real
coordinate values [expand title="View Answer"] Answer: b Explanation: Coordinate references in the
polyline function are stated as absolute coordinate values. [/expand] 12. To apply the midpoint method,
we define a) ?circle(x, y)= x ^2+ y ^2-? r?^2 b) ?circle(x, y)= x+ y ^2-? r?^2 c) ?circle(x, y)= x ^2- y ^2-?
r?^2 d) ?circle(x, y)= x ^2+ y ^2-? z?^2 [expand title="View Answer"] Answer: a Explanation: None.
[/expand] 13. _______ is defined as set of points such that the sum of the distances is same for all
points. a) Ellipses b) Lines c) Circles d) Only a [expand title="View Answer"] Answer: d Explanation:
Ellipses is defined as set of points. [/expand] 14. If the boundary is specified in a single color, and if the
algorithm proceeds pixel by pixel until the boundary color is encountered is called a) Scan-line fill
algorithm b) Boundary-fill algorithm c) Flood-fill algorithm d) Parallel curve algorithm [expand
title="View Answer"] Answer: b Explanation: This algorithm proceeds outward pixel by pixel until the
boundary color is encountered. [/expand] 15. If we want to recolor an area that is not defined within a
single color boundary is known as a) Boundary-fill algorithm b) Parallel curve algorithm c) Flood-fill
algorithm d) Only b [expand title="View Answer"] Answer: c Explanation: We can paint such areas by
replacing a specified interior color.

Line Attributes
This section of our 1000+ Computer Graphics multiple choice questions focuses on Line Attributes.

1. The basic attributes of a straight line segment are


a) Type
b) Width
c) Color
d) All of these
View Answer
Answer: d
Explanation: Type, width and colors are the basic attributes of line.

2. A dashed line could be displayed by generating_________.


a) Inter dash spacing
b) Very short dashes
c) Botha a and b
d) A or B
View Answer
Answer: a
Explanation: The inter dash spacing that is equal to the length of the solid sections displays dashed line.

3. A dotted line can be displayed by generating


a) Very short dashes with spacing equal to and greater than dash size
b) Very long dashes with spacing equal to or greater than dash size
c) Very short dashes with spacing equal to and greater than dash size
d) Dots
View Answer
Answer: c
Explanation: Very long dashes with spacing equal to or greater than dash size can displays dotted line.

4. Which of the following is not a line-type?


a) Dashed line
b) Dark line
c) Dotted line
d) Only b
View Answer
Answer: d
Explanation: Except dark line those are the types of the line.

5. In an application program, to set line-type attributes the following statement is used.


a) SetLinetype(lt)
b) setLinetype(lt)
c) SETLINETYPE(lt)
d) SETLINE()
View Answer
Answer: b
Explanation: None.

6. The algorithm which displays line-type attributes by plotting pixel spans is


a) Raster line algorithm
b) Raster scan algorithm
c) Random line algorithm
d) Random scan algorithm
View Answer
Answer: a
Explanation: Raster line algorithm displays line-type attributes.

7. Pixel mask means


a) A string containing only 1;s
b) A string containing only 0’s
c) A string containing 1 and 0
d) A string containing 0 and 0
View Answer
Answer: c
Explanation: Inter span spacing can be specified in a pixel mask that contains digits 1 and 0.

8. A heavy line on a video monitor could be displayed as


a) Adjacent perpendicular lines
b) Adjacent parallel lines
c) Both a and b
d) Neither a nor b
View Answer
Answer: b
Explanation: A heavy line displayed as adjacent parallel lines, while pen plotter might require pen changes.

9. To set the line-width attribute the following command is used.


a) SETLINEWIDTHSCALEFACTOR (lw)
b) Setlinewidth()
c) Setlinewidthscalefacto (lw)
d) setLineWidthScaleFactor (lw)
View Answer
Answer: d
Explanation: setLineWidthScaleFactor (lw) function can be used to set line-width attribute.

10. The parameter to “setLineWidthScaleFactor (lw) “function specifies?


a) Standard width
b) Relative width of the line
c) Thickness of the line
d) All the above
View Answer
Answer: b
Explanation: The positive value to lw indicates the relative width of the line.
Standard width, if Value=1
Thickness, if value>1.

11. We can adjust the shape of the line ends to give them a better appearance by using
a) Line spacing
b) More dots
c) Line caps
d) Round cap
View Answer
Answer: c
Explanation: Line caps are obtained by adjusting the end points of the line.

12. Thick line drawn with


a) Butt caps
b) Round caps
c) Projecting square caps
d) All of the mentioned
View Answer
Answer: d
Explanation: None.

13. We set the line-color value in PHIGS with the function


a) setPolylineColorIndex (lc)
b) setline Color()
c) SETPOLYLINECOLORINDEX (lc)
d) Only b
View Answer
Answer: a
Explanation: The setPolylineColorIndex (lc) function is used to set the line color.

14. If the angle between 2 connected line segments is very small then ________ can generate a long
spike that distorts the appearance of the polyline.
a) Miter join
b) Round join
c) Bevel join
d) None
View Answer
Answer: a
Explanation: Miter join provides long spikes that distort the appearance of the polyline.

15. A line drawn in the background color is


a) Visible
b) Invisible
c) Visible or Invisible
d) Only b
View Answer
Answer: d
Explanation: A line drawn in the background color is always invisible because both are same color.

Curve Attributes
This section of our 1000+ Computer Graphics multiple choice questions focuses on Curve Attributes.

1. The basic parameter to curved attributes are


a) Type
b) Width
c) Color
d) All of these
View Answer
Answer: d
Explanation: Type, width and colors are the basic parameters to curved attributes.

2. Raster curves of various widths can be displayed using


a) Horizontal or vertical spans
b) Horizontal spans
c) Vertical spans
d) Horizontal and vertical spans
View Answer
Answer: a
Explanation: Raster curves of various widths can be displayed using Horizontal or vertical spans.

3. If the magnitude of the curve slope is lesser than 1, then


a) We can plot horizontal spans
b) We can plot vertical spans
c) Only b
d) All of these
View Answer
Answer: c
Explanation: if slope magnitude<1 then we can plot vertical spans Magnitude > 1 then we can plot vertical
spans.

4. If the slope magnitude is 1, then circles, ellipse and other curves will appear
a) Thick
b) Thinnest
c) Big
d) Rough
View Answer
Answer: b
Explanation: The magnitude value 1 displays thinnest curves, circles and ellipses.

5. One of the method for displaying thick curves is


a) Curve slope
b) Curve width
c) Curve cap
d) Only c
View Answer
Answer: a
Explanation: This method fills the area b/w 2 parallel curves, whose separation distance=desired width.

6. The pixel masks for implementing line-type options are also used in the following algorithm to
generate dashed and dotted patterns.
a) Raster line algorithm
b) Raster scan algorithm
c) Raster curve algorithm
d) Random curve algorithm
View Answer
Answer: c
Explanation: Raster curve algorithm generates dashed and dotted patterns.

7. We can generate the dashes in the various octants and the circle path with vertical path using
a) Circles
b) Circle symmetry
c) Circle simmetry
d) Curve slope
View Answer
Answer: b
Explanation: Circle symmetry generates dashes in the various octants, but we must shift the pixel positions to
maintain the correct sequence.

8. The function of the pixel mask is


a) To display dashes and inter dash spaces according to the slope
b) To display curved attributes
c) To display the thick curves
d) None of these
View Answer
Answer: a
Explanation: None.

9. If we want to display constant-length dashes, then we need to do the following.


a) We need to adjust the number of pixels plotted in each dash
b) We need to adjust the number of dots
c) We must use line-type functions
d) Neither a nor c
View Answer
Answer: a
Explanation: Number of pixels plotted in each dash, will displays constant-length dashes.

10. The curves displayed with a rectangular pen will be


a) Thinner
b) Thicker and magnitude slope is 1
c) Thicker and magnitude slope >1
d) B or C
View Answer
Answer: b
Explanation: None.

Color and Grayscale Levels


This section of our 1000+ Computer Graphics multiple choice questions focuses on Color and Grayscale Levels.

1. The color options are numerically coded with the following values.
a) Ranging from 0 through the positive integer
b) Ranging from 0 to 1
c) Ranging from 0 to -0
d) Only c
View Answer
Answer: a
Explanation: Color options can have any value from 0 to any positive number.

2. In color raster system, the number of color choices available depends on


a) colors in frame buffer
b) Amount of storage provided per pixel in frame buffer
c) RGB color
d) Neither a nor b
View Answer
Answer: b
Explanation: The amount of storage provided per pixels in frame buffer provides verity range of colors.

3. The color code “000” is for


a) White
b) Black
c) Blue
d) Green
View Answer
Answer: b
Explanation: All zero means it is black color (the mixture of red, green and blue).

4. Color information can be stored in


a) Main memory
b) Secondary memory
c) Graphics card
d) Frame buffer
View Answer
Answer: d
Explanation: The frame buffer is a space that is used to store the color information.

5. Whenever a particular color code is specified in an application program, the corresponding binary
value is placed in?
a) Color look-up table
b) Directly in frame buffer
c) a or b
d) Video lookup table
View Answer
Answer: b
Explanation: With the direct storage scheme, the binary values of color are stored in frame buffer.

6. The range that specifies the gray or grayscale levels is


a) The value range from -1 to 1
b) The value range from 0 to -1
c) The value range from 0 to 1
d) Any one of the above
View Answer
Answer: c
Explanation: Any value ranging from 0 to 1 can specify grayscale levels.

7. With 3 bits per pixel, we can accommodate 8 gray levels. If we use 8 bits per pixel then what is the
value of gray levels?
a) 18 gray levels
b) 128 gray levels
c) 256 gray levels
d) No color
View Answer
Answer: c
Explanation: 8 bits per pixel means 2 power 8 i.e. 256.

8. With the display intensity corresponding to a given color index ci calculated as


a) Intensity=0.5[max(r, g, b)+ max(r, g, b)] b) Intensity=0.5[min(r, g, b)+ min(r, g, b)] c)
Intensity=0.5[max(r, g, b)- max(r, g, b)] d) Intensity=0.5[min(r, g, b)+ max(r, g, b)] View Answer
Answer: d
Explanation: None.

9. A user can set color-table entries in a PHIGS application program with the function
a) setColourRepresentation (ws, ci, colorptr)
b) setColorRepresentation (ws, ci, colorptr)
c) setColour (ws, ci, colorptr)
d) setColourRepresentation ()
View Answer
Answer: a
Explanation: By using setColourRepresentation (ws, ci, colorptr) we can set the color-table.

10. If any intensity input value near 0.33 would be stored as the binary value 1 in the frame buffer, then
it displays
a) Dark green color
b) Light gray color
c) Dark gray color
d) White or black
View Answer
Answer: c
Explanation: The intensity value 0.0 and 1 for black white respectively, and it is 0.33 for dark gray and 0.67 for
light gray.

Bundled Attributes
This section of our 1000+ Computer Graphics multiple choice questions focuses on Bundled Attributes.

1. The function which references a single attribute that specifies how a primitive is to be displayed with
that attribute setting is called
a) Individual attribute
b) Unbundled attribute
c) Bundled attribute
d) A or B
View Answer
Answer: d
Explanation: Individual attribute are also known as unbundled attribute.

2. A particular set of attribute values for a primitive on each output device is chosen by specifying
appropriate table index is known as?
a) Individual attribute
b) Unbundled attribute
c) Bundled attribute
d) A or B
View Answer
Answer: c
Explanation: Bundle attributes specifies group of attribute values. And these values can be bundled into the
workstation table.

3. A table for which, a primitive defines groups of attribute values to be used when displaying that
primitive on a particular output device is called
a) Bundle table
b) Index table
c) Both a and b
d) None of these
View Answer
Answer: a
Explanation: None.

4. The choice between a bundled attribute or an unbundled attribute is made by


a) Setting switch
b) Setting bundle table
c) Index table
d) Only a
View Answer
Answer: d
Explanation: By setting switch the user can change their choice between bundled attribute or an unbundled
attribute.

5. Entries in the bundle table for line attributes are set using the function
a) Setlineattributes ()
b) setPolylineRepresentation (ws, li, lt, lc)
c) setPolylineRepresentation()
d) only a
View Answer
Answer: b
Explanation: Entries in the bundle table for line attributes are set using the function setPolylineRepresentation
(ws, li, lt, lc).
6. A poly-line that is assigned a table index value of 3 would be displayed using
a) Dashed line
b) Dotted line
c) Same index
d) All of the mentioned
View Answer
Answer: a
Explanation: Using dashed line at half thickness the index value of 3 would be displayed.

7. Table entries for bundled area-fill attributes are set using the function
a) setInteriorRepresentation (ws, fi, fs, pi, fc)
b) SetInteriorRepresentation ()
c) Only b
d) Both a and b
View Answer
Answer: a
Explanation: The function setInteriorRepresentation (ws, fi, fs, pi, fc) can be used to set the bundled area-fill
attributes.

8. The choice between a bundled attribute or an unbundled attribute is made by switch called?
a) Aspect flag
b) Aspect ratio
c) Aspect source flag
d) Aspect destination flag
View Answer
Answer: c
Explanation: We can chose any one of the above attributes by setting switch for each of the attributes.

9. We can check the attribute values by


a) Stating the name of the attribute in the inquiry function
b) Setting attribute values
c) Only a
d) Neither a nor b
View Answer
Answer: c
Explanation: We can check the attribute values by stating the name of the attribute in the inquiry function.

10. A particular text index value is chosen with the function


a) setTextIndex()
b) settextindex(ti)
c) SetTextIndex(ti)
d) setTextIndex(ti)
View Answer
Answer: d
Explanation: The function setTextIndex(ti) is used to chose the particular text index value.
Character Attributes
This section of our 1000+ Computer Graphics multiple choice questions focuses on Character Attributes.

1. Which of the following is the basic attribute of a character?


a) Font
b) Size and color
c) Orientation
d) All the above
View Answer
Answer: d
Explanation: Font, size, color and orientation are the basic attribute of a character.

2. Attribute can be set for


a) Entire character strings
b) Individual characters defined as marker symbol
c) Neither a nor b
d) Both a and b
View Answer
Answer: d
Explanation: Character attributes can be set to text as well as marker symbols defined as individual characters.

3. A particular font and associated styles can be set using the function
a) setTextfont (tf)
b) setfont (tf)
c) setFont (tf)
d) SetTextFont()
View Answer
Answer: a
Explanation: The function setTextfont (tf) can be used to set the font and its style. Where “tf” specifies the
available fonts style.

4. When a character string is to be displayed, the which color is used to set the pixel value in frame
buffer?
a) White color
b) Current color
c) Black color
d) Any color
View Answer
Answer: b
Explanation: The current color is used to set the pixel value corresponding to the character shape and positions.

5. The Character size is specified by


a) Printers
b) Compositors
c) Frame buffer
d) Both a and b
View Answer
Answer: d
Explanation: The Character size is specified by printers and compositors in points where 1 point is 0.013837
inch.

6. The distance between the bottom-line and the top-line of the character body is
a) Same for all character
b) Different for all character
c) Same for some character
d) Different for some character
View Answer
Answer: a
Explanation: The distance between the bottom-line and the top-line of the character body is always same for all
the characters.

7. The width of the text or character can be set using the function
a) setCharacterExpansionFactor (cw)
b) SetCharacterExpansionFactor (cw)
c) setCharacterFactor (cw)
d) setCharacterExpansionfactor (cw)
View Answer
Answer: a
Explanation: In this function the parameter cw (character-width) sets the width of the character.

8.__________ is a single character that can be displayed in different colors and in different sizes.
a) String
b) Marker symbol
c) Only a
d) Symbols
View Answer
Answer: b
Explanation: A marker symbols can be displayed in any colors and in any size.

9. A function that allows the user to select a particular character to be as marker symbol is
a) setmarkertype (mt)
b) setMarkersymbol(mt)
c) setMarkerType (mt)
d) SETMARKER()
View Answer
Answer: c
Explanation: None.

10. The orientation for a displayed character string is set according to, which of the following function?
a) Setcharacterupvector()
b) setcharacterUpvector(upvect)
c) setCharacterUpVector(upvec)
d) only b
View Answer
Answer: c
Explanation: According to the direction of the character up vector, the orientation for a displayed character string
is set.

2D Translation
This section of our 1000+ Computer Graphics multiple choice questions focuses on 2D Translation.

1. A translation is applied to an object by


a) Repositioning it along with straight line path
b) Repositioning it along with circular path
c) Only b
d) All of the mentioned
View Answer
Answer: a
Explanation: A translation is applied to an object by repositioning it along with straight line path from one location
to another.

2. We translate a two-dimensional point by adding


a) Translation distances
b) Translation difference
c) X and Y
d) Only a
View Answer
Answer: d
Explanation: We can translate 2D point by adding translation distances dx and dy.

3. The translation distances (dx, dy) is called as


a) Translation vector
b) Shift vector
c) Both a and b
d) Neither a nor b
View Answer
Answer: c
Explanation: The translation distances (dx, dy) from its original position is called as translation vector or shift
vector.

4. In 2D-translation, a point (x, y) can move to the new position (x’, y’) by using the equation
a) x’=x+dx and y’=y+dx
b) x’=x+dx and y’=y+dy
c) X’=x+dy and Y’=y+dx
d) X’=x-dx and y’=y-dy
View Answer
Answer: b
Explanation: By adding translation distance dx and dy to its originsl position (x, y) we can obtain a new position
(x’, y’).

5.The two-dimensional translation equation in the matrix form is


a) P’=P+T
b) P’=P-T
c) P’=P*T
d) P’=p
View Answer
Answer: a
Explanation: The 2D translation equation is P’=P+T.

6. _________ is a rigid body transformation that moves objects without deformation.


a) Rotation
b) Scaling
c) Translation
d) All of the mentioned
View Answer
Answer: c
Explanation: Translation a rigid body transformation that moves objects without deformation.

7. A straight line segment is translated by applying the transformation equation


a) P’=P+T
b) Dx and Dy
c) P’=P+P
d) Only c
View Answer
Answer: a
Explanation: A straight line segment is translated by applying the transformation equation P’=P+T to each of line
endpoints.

8. Polygons are translated by adding __________ to the coordinate position of each vertex and the
current attribute setting.
a) Straight line path
b) Translation vector
c) Differences
d) Only b
View Answer
Answer: d
Explanation: None.

9. To change the position of a circle or ellipse we translate


a) Center coordinates
b) Center coordinates and redraw the figure in new location
c) Outline coordinates
d) All
View Answer
Answer: b
Explanation: By translating the center coordinates and redraw the figure in new location we can change the
position of a circle or ellipse.

10.The basic geometric transformations are


a) Translation
b) Rotation
c) Scaling
d) All
View Answer
Answer: d
Explanation: These are the basic geometric transformations and other transformations are reflection and shear.

2D Rotation
This section of our 1000+ Computer Graphics multiple choice questions focuses on 2D Rotation.

1. A two dimensional rotation is applied to an object by


a) Repositioning it along with straight line path
b) Repositioning it along with circular path
c) Only b
d) Any of the mentioned
View Answer
Answer: c
Explanation: A two dimensional rotation is applied to an object by repositioning it along with circular path.

2. To generate a rotation , we must specify


a) Rotation angle ϴ
b) Distances dx and dy
c) Rotation distance
d) All of the mentioned
View Answer
Answer: a
Explanation: Generate a rotation, we must specify rotation angle ϴ of the rotation point or pivot point which the
object is to be rotated.

3. Positive values for the rotation angle ϴ defines


a) Counterclockwise rotations about the end points
b) Counterclockwise translation about the pivot point
c) Counterclockwise rotations about the pivot point
d) Negative direction
View Answer
Answer: c
Explanation: A positive value for the rotation angle ϴ defines counterclockwise rotations about the pivot point.
4. The rotation axis that is perpendicular to the xy plane and passes through the pivot point is known
as
a) Rotation
b) Translation
c) Scaling
d) Shearing
View Answer
Answer: a
Explanation: The rotation transformation is also described as a rotation about a rotation axis that is
perpendicular to the xy plane and passes through the pivot point.

5. The original coordinates of the point in polor coordinates are


a) X’=r cos (Ф +ϴ) and Y’=r cos (Ф +ϴ)
b) X’=r cos (Ф +ϴ) and Y’=r sin (Ф +ϴ)
c) X’=r cos (Ф -ϴ) and Y’=r cos (Ф -ϴ)
d) X’=r cos (Ф +ϴ) and Y’=r sin (Ф -ϴ)
View Answer
Answer: b
Explanation: The original coordinates of the point in polor coordinates are X’=r cos (Ф +ϴ) and Y’=r sin (Ф +ϴ).

6. The two-dimensional rotation equation in the matrix form is


a) P’=P+T
b) P’=R*P
c) P’=P*P
d) P’=R+P
View Answer
Answer: b
Explanation: The 2D translation equation is P’=R*P.

7. ________ is the rigid body transformation that moves object without deformation.
a) Translation
b) Scaling
c) Rotation
d) Shearing
View Answer
Answer: c
Explanation: Rotation is the rigid body transformation that moves object without deformation.

8. An ellipse can also be rotated about its center coordinates by rotating


a) End points
b) Major and minor axes
c) Only a
d) None
View Answer
Answer: b
Explanation: None.

2D Scaling
This section of our 1000+ Computer Graphics multiple choice questions focuses on 2D Scaling.

1. The transformation that is used to alter the size of an object is


a) Scaling
b) Rotation
c) Translation
d) Reflection
View Answer
Answer: a
Explanation: Scaling is used to alter the size of an object.

2. The two-dimensional scaling equation in the matrix form is


a) P’=P+T
b) P’=S*P
c) P’=P*R
d) P’=R+S
View Answer
Answer: b
Explanation: The 2d scaling equation is P’=S*P.

3. Scaling of a polygon is done by computing


a) The product of (x, y) of each vertex
b) (x, y) of end points
c) Center coordinates
d) Only a
View Answer
Answer: d
Explanation: Scaling of a polygon is done by computing the product of (x, y) of each vertex with scaling factor sx
and sy to produce the transformation coordinates ( Xnew, Ynew).

4. If the scaling factors values sx and sy <1 then a) It reduces the size of object b) It increases the size
of object c) It stunts the shape of an object d) None [expand title="View Answer"] Answer: a
Explanation: If the scaling factors values sx and sy <1 then it reduces the size of object. [/expand] 5. If
the scaling factors values sx and sy are assigned to the same value then a) Uniform rotation is
produced b) Uniform scaling is produced c) Scaling cannot be done d) Scaling can be done or cannot
be done [expand title="View Answer"] Answer: b Explanation: When sx and sy are assigned the same
value then uniform scaling is produced that maintains relative object proportions. [/expand] 6. If the
scaling factors values sx and sy are assigned to unequal values then a) Uniform rotation is produced
b) Uniform scaling is produced c) Differential scaling is produced d) Scaling cannot be done [expand
title="View Answer"] Answer: c Explanation: Unequal values for sx and sy results in differential scaling
that is often used in design applications. [/expand] 7. The objects transformed using the equation
P’=S*P should be a) Scaled b) Repositioned c) Both a and b d) Neither a nor b [expand title="View
Answer"] Answer: c Explanation: The objects transformed using the equation P’=S*P should be scaled
and repositioned. [/expand] 8. We control the location of a scaled object by choosing the position is
known as a) Pivot point b) Fixed point c) Differential scaling d) Uniform scaling [expand title="View
Answer"] Answer: b Explanation: None. [/expand] 9. If the value of sx=1 and sy=1 then a) Reduce the
size of object b) Distort the picture c) Produce an enlargement d) No change in the size of an object
[expand title="View Answer"] Answer: d Explanation: sx=sx=1 does not change the size of the object
[/expand] 10. The polygons are scaled by applying the following transformation. a) X’=x * Sx + Xf(1-Sx)
and Y’=y * Sy + Yf(1-Sy) b) X’=x * Sx + Xf(1+Sx) and Y’=y * Sy + Yf(1+Sy) c) X’=x * Sx + Xf(1-Sx) and
Y’=y * Sy - Yf(1-Sy) d) X’=x * Sx * Xf(1-Sx) and Y’=y * Sy * Yf(1-Sy) [expand title="View Answer"]
Answer: a Explanation: The polygons are scaled by applying the transformation X’=x * Sx + Xf(1-Sx)
and Y’=y * Sy + Yf(1-Sy).

Matrix Representations and Homogeneous Coordinates


This section of our 1000+ Computer Graphics multiple choice questions focuses on Matrix Representations and
Homogeneous Coordinates.

1.The matrix representation for translation in homogeneous coordinates is


a) P’=T+P
b) P’=S*P
c) P’=R*P
d) P’=T*P
View Answer
Answer: d
Explanation: The matrix representation for translation is P’=T*P.

2. The matrix representation for scaling in homogeneous coordinates is


a) P’=S*P
b) P’=R*P
c) P’=dx+dy
d) P’=S*S
View Answer
Answer: a
Explanation: The matrix representation for scaling is P’=S*P.

3. The matrix representation for rotation in homogeneous coordinates is


a) P’=T+P
b) P’=S*P
c) P’=R*P
d) P’=dx+dy
View Answer
Answer: c
Explanation: The matrix representation for rotation is P’=R*P.
4. What is the use of homogeneous coordinates and matrix representation?
a) To treat all 3 transformations in a consistent way
b) To scale
c) To rotate
d) To shear the object
View Answer
Answer: a
Explanation: To treat all 3 transformations in a consistent way, we use homogeneous coordinates and matrix
representation.

5. If point are expressed in homogeneous coordinates then the pair of (x, y) is represented as
a) (x’, y’, z’)
b) (x, y, z)
c) (x’, y’, w)
d) (x’, y’, w)
View Answer
Answer: d
Explanation: If point are expressed in homogeneous coordinates then we add 3rd coordinate to the point (x, y),
that is represented as (x’, y’, w).

6. For 2D transformation the value of third coordinate i.e. w=?


a) 1
b) 0
c) -1
d) Any value
View Answer
Answer: a
Explanation: For 2D we have (x, y, 1) i.e. w=1.

7. We can combine the multiplicative and translational terms for 2D into a single matrix representation
by expanding
a) 2 by 2 matrix into 4*4 matrix
b) 2 by 2 matrix into 3*3
c) 3 by 3 matrix into 2 by 2
d) Only c
View Answer
Answer: b
Explanation: We can combine the multiplicative and translational terms for 2D into a single matrix representation
by expanding 2 by 2 matrix representation into 3 by 3.

8. The general homogeneous coordinate representation can also be written as


a) (h.x, h.y, h.z)
b) (h.x, h.y, h)
c) (x, y, h.z)
d) (x,y,z)
View Answer
Answer: b
Explanation: The general homogeneous coordinate representation can also be written as (h.x, h.y, h).

Anti Aliasing
This section of our 1000+ Computer Graphics multiple choice questions focuses on Anti Aliasing.

1. The distortion of information due to low-frequency sampling is known as


a) Sampling
b) Aliasing
c) Inquiry function
d) Anti-aliasing
View Answer
Answer: b
Explanation: The distortion of information is called aliasing.

2. To avoid losing information from periodic objects we need


a) Sampling frequency twice
b) Nyquist sampling frequency
c) Both a or b
d) Neither a nor b
View Answer
Answer: c
Explanation: Because nyquist sampling frequency means sampling frequency twice.

3. Nyquist sampling frequency formula is


a) fs=2fmax
b) fs=2fmin
c) fs=fmax
d) fs=fmin
View Answer
Answer: a
Explanation: None.

4. The sampling of object characteristic at a high resolution and displaying the result at a lower
resolution is called?
a) Super-sampling
b) Post-filtering
c) Anti-aliasing
d) a or b
View Answer
Answer: d
Explanation: Super-sampling is also called Post-filtering by computing intensities and combines results to obtain
the pixel intensities.

5. Anti-aliasing by computing overlap areas is referred to as


a) Area-sampling
b) Super-sampling
c) Pixel phasing
d) Only b
View Answer
Answer: a
Explanation: The intensity of pixel as a whole is determined without calculating sub-pixel intensity.

6. Area-sampling is also known as


a) Pre-filtering
b) Pixel phasing
c) Post-filtering
d) Anti-aliasing
View Answer
Answer: a
Explanation: None.

7. Raster objects can also be anti-aliased by shifting the display location of pixel areas is known as
a) Super-sampling
b) Pixel shaping
c) Pixel phasing
d) Any of these
View Answer
Answer: c
Explanation: This technique is applied by micro-positioning the electron beam in relation to object geometry.

8. If we want to use more intensity levels to anti-alias the line, then


a) We increase the number of sampling positions
b) We decrease the number of sampling positions
c) We increase the number of pixels
d) Only c
View Answer
Answer: a
Explanation: We increase the number of sampling positions across each pixel to use more intensity levels.

9. The procedure that increases the number of intensity levels for each pixel to total number of sub-
pixels is
a) Area-sampling
b) Anti-aliasing
c) Super-sampling procedure
d) Only c
View Answer
Answer: d
Explanation: The super-sampling procedure increases the number of intensity levels for each pixel to total
number of sub-pixels.
10. For a 45% line, the line path is________ on the polygon area.
a) Horizontal
b) Centered
c) Vertical
d) Any of these
View Answer
Answer: b
Explanation: The line path is centered on the polygon area only if a line is 45%.

11. An array of values specifying the relative importance of sub-pixel is referred as________ of sub-
pixel weights.
a) Sub-mask
b) Mask
c) Pixel phasing
d) Pixel weighting
View Answer
Answer: c
Explanation: None.

12. The technique that is more accurate method for anti-aliasing lines is
a) Filtering
b) Area-sampling
c) Super-sampling
d) None
View Answer
Answer: a
Explanation: In this technique we can imagine a continuous weighting surface covering the pixel.

13. Super-sampling methods can be applied by


a) Sub-dividing the total area
b) Determining the number of sub-pixels inside the area
c) Both a and b
d) Only b
View Answer
Answer: c
Explanation: Super-sampling methods can be applied by sub-dividing the total area and determining the number
of sub-pixels inside the area boundary.

14. Another method for determining the percentage of pixel area within a boundary is
a) Mid-print algorithm
b) Mid-point algorithm
c) Pixel intensity
d) By using inquiry functions
View Answer
Answer: b
Explanation: This algorithm selects the next pixel along a line by determining which of 2 pixels is closer to the
line between 2 pixels.

15. What is the use of Coherence techniques along and between scan lines?
a) To simplify the calculations
b) To determine the area edges
c) To find polygon region
d) To correct interior area
View Answer
Answer: a
Explanation: Coherence techniques are used along and between scan lines to simplify the calculations.

You might also like