Skip to main content

Computer Graphics MCQs with Answers

Practice important Computer Graphics MCQs with answers and explanations.

Multiple Choice Questions

Q1111: In OpenGL, the window size is specified in _________.
  • A: Characters
  • B: Pixels
  • C: Inches
  • D: Centimeters
View Answer
B

Q1112: Which glut function disables full screen mode if previously enabled?
  • A: glutMainLoop
  • B: glutReshapeWindow
  • C: glutIdleFunc
  • D: glutKeyboardFunc
View Answer
B

Q1113: GLUT_ACCUM bit mask is used to select a window with __________.
  • A: Depth buffer
  • B: Accumulation buffer
  • C: Alpha buffer
  • D: Color index
View Answer
B

Q1114: GLUT_ALPHA is used to request _________ in a color buffer.
  • A: Red color
  • B: Green color
  • C: Alpha component
  • D: Blue color
View Answer
C

Q1115: The initial colormap of GLUT_LUMINANCE windows is a _________.
  • A: Random color map
  • B: Blue ramp
  • C: Linear gray ramp
  • D: Green ramp
View Answer
C

Q1116: What happens if you pass NULL to glutKeyboardFunc?
  • A: Disables mouse events
  • B: Disables keyboard callbacks
  • C: Disables window resize
  • D: Disables window creation
View Answer
B

Q1117: The function glutSpecialFunc is used to detect ___________.
  • A: ASCII key strokes
  • B: Mouse clicks
  • C: Non-ASCII key strokes
  • D: Keyboard modifiers
View Answer
C

Q1118: glutCreateWindow creates a window with a unique _______.
  • A: Display Mode
  • B: Identifier
  • C: Color
  • D: Alpha Channel
View Answer
B

Q1119: glutReshapeWindow requires ________ width and height values.
  • A: Negative
  • B: Positive
  • C: Zero
  • D: Any
View Answer
B

Q1120: The first window created with glutCreateWindow sets the __________ property on X systems.
  • A: WM_COMMAND
  • B: WM_NAME
  • C: WM_HINTS
  • D: WM_CLASS
View Answer
A

Test Your Knowledge

Take a timed quiz on Computer Graphics

🚀 Start Quiz Now