InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
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 bThe question was asked in homework.The query is from Bundled Attributes topic in chapter Graphics Primitives of Computer Graphics |
|
Answer» CORRECT choice is (c) Only a To EXPLAIN: We can CHECK the ATTRIBUTE values by stating the name of the attribute in the inquiry FUNCTION. |
|
| 52. |
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 bThis question was addressed to me in unit test.Enquiry is from Character Attributes in portion Graphics Primitives of Computer Graphics |
|
Answer» The correct answer is (d) Both a and b |
|
| 53. |
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 bThis question was posed to me in examination.Origin of the question is Bundled Attributes topic in chapter Graphics Primitives of Computer Graphics |
|
Answer» RIGHT answer is (a) setInteriorRepresentation (WS, fi, fs, PI, fc) The EXPLANATION: The function setInteriorRepresentation (ws, fi, fs, pi, fc) can be used to SET the bundled area-fill attributes. |
|
| 54. |
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 mentionedThis question was posed to me in a national level competition.Origin of the question is Bundled Attributes in division Graphics Primitives of Computer Graphics |
|
Answer» Right choice is (a) Dashed line |
|
| 55. |
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 aThis question was posed to me in an online interview.The doubt is from Bundled Attributes in section Graphics Primitives of Computer Graphics |
|
Answer» The correct answer is (b) setPolylineRepresentation (ws, LI, LT, LC) |
|
| 56. |
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 aI had been asked this question by my college professor while I was bunking the class.This question is from Bundled Attributes topic in chapter Graphics Primitives of Computer Graphics |
|
Answer» RIGHT answer is (d) Only a Easy EXPLANATION: By SETTING switch the user can change their CHOICE betweenbundled attribute or an unbundled attribute. |
|
| 57. |
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 theseI got this question in quiz.My question is from Bundled Attributes topic in division Graphics Primitives of Computer Graphics |
| Answer» | |
| 58. |
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 BThis question was addressed to me in semester exam.My doubt stems from Bundled Attributes in section Graphics Primitives of Computer Graphics |
|
Answer» CORRECT option is (C) BUNDLED attribute Easy explanation: BUNDLE attributes specifies group of attribute VALUES. And these values can be bundled into the workstation table. |
|
| 59. |
Hollow areas are displayed using only the(a) Boundary outline(b) Line-drawing routine(c) Hatched patterns(d) Closed poly lineThe question was asked during an online exam.My query is from Area Fill Attributes in portion Graphics Primitives of Computer Graphics |
|
Answer» The correct OPTION is (a) BOUNDARY OUTLINE |
|
| 60. |
Options for filling a defined region include a choice between__________(a) Solid color or a pattern fill(b) Choices for particular colors and pattern(c) Both a and b(d) NoneThis question was addressed to me during an internship interview.The above asked question is from Area Fill Attributes in section Graphics Primitives of Computer Graphics |
|
Answer» Right option is (c) Both a and b |
|
| 61. |
The operator that is used for combining a fill pattern with a background pattern is(a) AND operator(b) OR operator(c) X-OR operator(d) All of theseThis question was addressed to me by my college director while I was bunking the class.This is a very interesting question from Area Fill Attributes topic in division Graphics Primitives of Computer Graphics |
|
Answer» Right choice is (d) All of these |
|
| 62. |
When 2 background colors B1 and B2 are mixed with foreground color F, the resulting pixel color P is(a) P=t0*F+t1*B1+(1-t0-t1)B2(b) P=t0*F-t1*B1+(1-t0-t1)B2(c) P=t0*F+t1*B1+(1+t0+t1)B2(d) Only aThis question was addressed to me in an interview.My query is from Area Fill Attributes in portion Graphics Primitives of Computer Graphics |
|
Answer» The CORRECT option is (d) Only a |
|
| 63. |
The fill color that is combined with the background color is known as(a) Soft fill(b) Tint fill(c) Both a and b(d) NoneI got this question in an interview.My enquiry is from Area Fill Attributes topic in chapter Graphics Primitives of Computer Graphics |
|
Answer» The CORRECT choice is (c) Both a and b |
|
| 64. |
Hatch fill procedures are implemented to draw(a) Single hatching(b) Cross hatching(c) Either a or b(d) Only bThis question was posed to me during an interview.My question is from Area Fill Attributes in division Graphics Primitives of Computer Graphics |
|
Answer» RIGHT OPTION is (c) Either a or b The explanation: This procedure is USED to draw either single or CROSS hatching. |
|
| 65. |
The algorithm which repaints an area that was originally painted by merging a foreground color F and background color B where F!=B.(a) Tint fill(b) Flood fill(c) Linear soft-fill(d) Boundary fillI have been asked this question by my college director while I was bunking the class.I need to ask this question from Area Fill Attributes topic in portion Graphics Primitives of Computer Graphics |
|
Answer» RIGHT choice is (C) Linear soft-fill Explanation: Linear soft-fill algorithm used to REPAINT the area. |
|
| 66. |
The process of filling an area with rectangular pattern is called(a) Tiling(b) Linear fill(c) Tint-fill(d) Soft-fillThis question was addressed to me by my college director while I was bunking the class.This intriguing question comes from Area Fill Attributes in division Graphics Primitives of Computer Graphics |
|
Answer» RIGHT option is (a) TILING To explain: RECTANGULAR fill PATTERN is called tiling or tiling pattern. |
|
| 67. |
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 blackThis question was addressed to me in final exam.Origin of the question is Color and Grayscale Levels in chapter Graphics Primitives of Computer Graphics |
|
Answer» Right answer is (c) Dark GRAY color |
|
| 68. |
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 ()I had been asked this question in an interview for job.Enquiry is from Color and Grayscale Levels in portion Graphics Primitives of Computer Graphics |
|
Answer» The correct choice is (a) setColourRepresentation (WS, ci, colorptr) |
|
| 69. |
Which one is not a type of basic fill styles?(a) Hollow(b) solid color(c) Pattern(d) DarkI got this question in my homework.This key question is from Area Fill Attributes topic in chapter Graphics Primitives of Computer Graphics |
|
Answer» Right choice is (d) DARK |
|
| 70. |
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)]The question was posed to me by my college director while I was bunking the class.This is a very interesting question from Color and Grayscale Levels topic in section Graphics Primitives of Computer Graphics |
|
Answer» Right choice is (d) Intensity=0.5[min(r, G, B)+ max(r, g, b)] |
|
| 71. |
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 colorThe question was posed to me by my school principal while I was bunking the class.Query is from Color and Grayscale Levels topic in portion Graphics Primitives of Computer Graphics |
|
Answer» The CORRECT choice is (c) 256 gray levels |
|
| 72. |
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 aboveThis question was posed to me in a job interview.My enquiry is from Color and Grayscale Levels topic in portion Graphics Primitives of Computer Graphics |
|
Answer» Correct CHOICE is (c) The value RANGE from 0 to 1 |
|
| 73. |
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 tableThe question was asked in final exam.I need to ask this question from Color and Grayscale Levels topic in section Graphics Primitives of Computer Graphics |
|
Answer» The correct answer is (b) DIRECTLY in frame BUFFER |
|
| 74. |
Color information can be stored in(a) Main memory(b) Secondary memory(c) Graphics card(d) Frame bufferI got this question in class test.Question is from Color and Grayscale Levels in section Graphics Primitives of Computer Graphics |
|
Answer» CORRECT CHOICE is (d) Frame buffer Easy EXPLANATION: The frame buffer is a space that is USED to STORE the color information. |
|
| 75. |
The color code “000” is for(a) White(b) Black(c) Blue(d) GreenThis question was addressed to me in class test.The doubt is from Color and Grayscale Levels in portion Graphics Primitives of Computer Graphics |
|
Answer» The CORRECT choice is (b) Black |
|
| 76. |
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 bI got this question in a job interview.This interesting question is from Color and Grayscale Levels in division Graphics Primitives of Computer Graphics |
|
Answer» Right choice is (b) Amount of storage provided PER PIXEL in frame buffer |
|
| 77. |
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 CI had been asked this question in class test.Enquiry is from Curve Attributes in division Graphics Primitives of Computer Graphics |
|
Answer» Correct CHOICE is (B) Thicker and magnitude SLOPE is 1 |
|
| 78. |
Raster curves of various widths can be displayed using(a) Horizontal or vertical spans(b) Horizontal spans(c) Vertical spans(d) Horizontal and vertical spansThe question was asked at a job interview.This interesting question is from Curve Attributes in division Graphics Primitives of Computer Graphics |
|
Answer» Right choice is (a) HORIZONTAL or vertical spans |
|
| 79. |
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 cI have been asked this question during an interview.Question is from Curve Attributes in chapter Graphics Primitives of Computer Graphics |
|
Answer» Right CHOICE is (a) We need to ADJUST the number of pixels plotted in each dash |
|
| 80. |
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 displaythe thick curves(d) None of theseI got this question in an online interview.The question is from Curve Attributes topic in section Graphics Primitives of Computer Graphics |
|
Answer» Right answer is (a) To display DASHES and inter dash SPACES according to the slope |
|
| 81. |
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 slopeI had been asked this question in exam.My doubt is from Curve Attributes topic in section Graphics Primitives of Computer Graphics |
|
Answer» The CORRECT option is (b) Circle symmetry |
|
| 82. |
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 curvealgorithm(d) Random curvealgorithmI have been asked this question during a job interview.My question is from Curve Attributes topic in division Graphics Primitives of Computer Graphics |
|
Answer» Right choice is (C) Raster curvealgorithm |
|
| 83. |
One of the method for displaying thick curves is(a) Curve slope(b) Curve width(c) Curve cap(d) Only cI have been asked this question by my school principal while I was bunking the class.My doubt is from Curve Attributes in chapter Graphics Primitives of Computer Graphics |
|
Answer» The CORRECT choice is (a) Curve slope |
|
| 84. |
If the slope magnitude is 1, then circles, ellipse and other curves will appear(a) Thick(b) Thinnest(c) Big(d) RoughThe question was posed to me during a job interview.I'd like to ask this question from Curve Attributes in portion Graphics Primitives of Computer Graphics |
|
Answer» The correct answer is (b) THINNEST |
|
| 85. |
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 the mentionedThis question was addressed to me by my school teacher while I was bunking the class.My query is from Curve Attributes topic in section Graphics Primitives of Computer Graphics |
|
Answer» Right answer is (c) Only b |
|
| 86. |
A line drawn in the background color is(a) Visible(b) Invisible(c) Visible or Invisible(d) Only bI had been asked this question during an interview for a job.This intriguing question originated from Line Attributes topic in portion Graphics Primitives of Computer Graphics |
|
Answer» Correct option is (d) Only b |
|
| 87. |
We set the line-color value in PHIGS with the function(a) setPolylineColorIndex (lc)(b) setline Color()(c) SETPOLYLINECOLORINDEX (lc)(d) Only bI had been asked this question by my college professor while I was bunking the class.This key question is from Line Attributes topic in chapter Graphics Primitives of Computer Graphics |
|
Answer» Correct option is (a) setPolylineColorIndex (LC) |
|
| 88. |
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 of the mentionedI have been asked this question in my homework.My question comes from Line Attributes topic in portion Graphics Primitives of Computer Graphics |
|
Answer» The CORRECT answer is (a) Miter JOIN |
|
| 89. |
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 capI got this question in an online quiz.This question is from Line Attributes topic in chapter Graphics Primitives of Computer Graphics |
|
Answer» CORRECT OPTION is (c) Line caps Explanation: Line caps are OBTAINED by adjusting the END POINTS of the line. |
|
| 90. |
Thick line drawn with(a) Butt caps(b) Round caps(c) Projecting square caps(d) All of the mentionedThe question was asked in an online interview.I need to ask this question from Line Attributes topic in section Graphics Primitives of Computer Graphics |
|
Answer» RIGHT CHOICE is (d) All of the mentioned The EXPLANATION: NONE. |
|
| 91. |
The parameter to “setLineWidthScaleFactor (lw) “function specifies?(a) Standard width(b) Relative width of the line(c) Thickness of the line(d) All of the mentionedThis question was addressed to me during an interview.This is a very interesting question from Line Attributes in portion Graphics Primitives of Computer Graphics |
|
Answer» The correct OPTION is (b) RELATIVE width of the line |
|
| 92. |
To set the line-width attribute the following command is used.(a) SETLINEWIDTHSCALEFACTOR (lw)(b) Setlinewidth()(c) Setlinewidthscalefacto (lw)(d) setLineWidthScaleFactor (lw)I got this question by my school teacher while I was bunking the class.This intriguing question comes from Line Attributes in portion Graphics Primitives of Computer Graphics |
|
Answer» CORRECT option is (d) SETLINEWIDTHSCALEFACTOR (lw) EXPLANATION: setLineWidthScaleFactor (lw) FUNCTION can be used to set line-width attribute. |
|
| 93. |
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 bI got this question in a job interview.The origin of the question is Line Attributes topic in division Graphics Primitives of Computer Graphics |
|
Answer» Right OPTION is (B) ADJACENT parallel lines |
|
| 94. |
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 0This question was addressed to me in a job interview.This intriguing question comes from Line Attributes topic in division Graphics Primitives of Computer Graphics |
|
Answer» The CORRECT OPTION is (c) A string containing 1 and 0 |
|
| 95. |
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()The question was asked in an online quiz.This intriguing question originated from Line Attributes topic in portion Graphics Primitives of Computer Graphics |
|
Answer» Correct choice is (B) setLinetype(lt) |
|
| 96. |
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 algorithmThis question was posed to me during an online interview.This intriguing question comes from Line Attributes in section Graphics Primitives of Computer Graphics |
|
Answer» The correct choice is (a) Raster LINE algorithm |
|
| 97. |
Which of the following is not a line-type?(a) Dashed line(b) Dark line(c) Dotted line(d) Only bI have been asked this question by my school teacher while I was bunking the class.Question is taken from Line Attributes in section Graphics Primitives of Computer Graphics |
|
Answer» Right ANSWER is (d) Only b |
|
| 98. |
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) DotsI had been asked this question during an interview.This intriguing question comes from Line Attributes topic in chapter Graphics Primitives of Computer Graphics |
|
Answer» The correct OPTION is (c) Very short dashes with spacing equal to and greater than dash size |
|
| 99. |
A dashed line could be displayed by generating_________.(a) Inter dash spacing(b) Very short dashes(c) Botha a and b(d) A or BThis question was posed to me in a national level competition.The above asked question is from Line Attributes in division Graphics Primitives of Computer Graphics |
|
Answer» The correct answer is (a) Inter DASH spacing |
|
| 100. |
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 bThe question was posed to me by my college professor while I was bunking the class.This interesting question is from Line Filling Algorithms in section Graphics Primitives of Computer Graphics |
|
Answer» The CORRECT OPTION is (c) Flood-fill algorithm |
|