Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Multiple Choice Questions
Q1091: OpenGL commands include setting ______ modes.
- A: non-graphic
- B: transformation and lighting
- C: internet security
- D: text formatting
View Answer
B
Q1092: The OpenGL frame buffer holds ______.
- A: documents
- B: textures
- C: final pixel image
- D: compiled programs
View Answer
C
Q1093: What is the purpose of the "glut" library in OpenGL programming?
- A: Platform-specific coding
- B: Platform-independent initialization
- C: Only creating 3D models
- D: Managing databases
View Answer
B
Q1094: "glut" library can create window, get keyboard input, and run _________.
- A: Database server
- B: File manager
- C: Event handler
- D: Memory manager
View Answer
C
Q1095: Which prefix indicates OpenGL core functions?
- A: glut
- B: glu
- C: gl
- D: ogl
View Answer
C
Q1096: Which function is used to create a top-level window in OpenGL?
- A: glutDisplayFunc
- B: glutMainLoop
- C: glutReshapeFunc
- D: glutCreateWindow
View Answer
D
Q1097: In OpenGL, glutCreateWindow returns a ________.
- A: Window size
- B: Unique small integer identifier
- C: Keyboard event
- D: Display callback
View Answer
B
Q1098: After creating a window, when does its display state take effect?
- A: After glutReshapeWindow
- B: After glutIdleFunc
- C: After glutMainLoop
- D: Immediately
View Answer
C
Q1099: Which language is used for writing OpenGL programs using glut?
- A: Python
- B: C++
- C: Java
- D: C
View Answer
D
Q1100: The ASCII character string given in glutCreateWindow is used as ________.
- A: Window background color
- B: Window name
- C: Window ID
- D: Font size
View Answer
B