Computer Graphics MCQs with Answers
Practice important Computer Graphics MCQs with answers and explanations.
Chapter: 32
Q1081:
In OpenGL, the term "frame buffer" refers to ______.
A. Storage of audio clips
B. Storage of rendered images
C. Storage of command files
D. Storage of hardware drivers
Correct Answer:
B
Chapter: 32
Q1082:
OpenGL commands affect which type of operations?
A. 2D and 3D graphics operations
B. Web server operations
C. Database operations
D. Operating system operations
Correct Answer:
A
Chapter: 32
Q1083:
OpenGL treats 2D images as types of _______ for manipulation.
A. textures
B. primitives
C. strings
D. folders
Correct Answer:
B
Chapter: 32
Q1084:
OpenGL allows ______ to specify transformations and lighting.
A. file managers
B. texture mappers
C. developers
D. sound engineers
Correct Answer:
C
Chapter: 32
Q1085:
In OpenGL, ______ is defined as a point, an endpoint of a line, or a corner of a polygon.
A. pixel
B. vertex
C. edge
D. plane
Correct Answer:
B
Chapter: 32
Q1086:
OpenGL helps developers create ______ 2D and 3D images.
A. blurry
B. high-quality
C. slow
D. encrypted
Correct Answer:
B
Chapter: 32
Q1087:
In OpenGL, an extension mechanism allows for ______.
A. enforcing older APIs
B. adding new features
C. disabling portability
D. faster deletion of files
Correct Answer:
B
Chapter: 32
Q1088:
OpenGL is available on which windowing systems?
A. Only Win32
B. Only MacOS
C. Win32, MacOS, X-Window, Presentation Manager
D. Only X-Window
Correct Answer:
C
Chapter: 32
Q1089:
An OpenGL primitive can be clipped if it _______.
A. exceeds the viewport
B. matches frame size
C. is linked to multiple vertices
D. is color-coded
Correct Answer:
A
Chapter: 32
Q1090:
OpenGL applications scale from ______ to supercomputers.
A. embedded devices
B. mainframes
C. mobile phones
D. consumer electronics
Correct Answer:
D
Chapter: 32
Q1091:
OpenGL commands include setting ______ modes.
A. non-graphic
B. transformation and lighting
C. internet security
D. text formatting
Correct Answer:
B
Chapter: 32
Q1092:
The OpenGL frame buffer holds ______.
A. documents
B. textures
C. final pixel image
D. compiled programs
Correct Answer:
C
Chapter: 33
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
Correct Answer:
B
Chapter: 33
Q1094:
"glut" library can create window, get keyboard input, and run _________.
A. Database server
B. File manager
C. Event handler
D. Memory manager
Correct Answer:
C
Chapter: 33
Q1095:
Which prefix indicates OpenGL core functions?
A. glut
B. glu
C. gl
D. ogl
Correct Answer:
C
Chapter: 33
Q1096:
Which function is used to create a top-level window in OpenGL?
A. glutDisplayFunc
B. glutMainLoop
C. glutReshapeFunc
D. glutCreateWindow
Correct Answer:
D
Chapter: 33
Q1097:
In OpenGL, glutCreateWindow returns a ________.
A. Window size
B. Unique small integer identifier
C. Keyboard event
D. Display callback
Correct Answer:
B
Chapter: 33
Q1098:
After creating a window, when does its display state take effect?
A. After glutReshapeWindow
B. After glutIdleFunc
C. After glutMainLoop
D. Immediately
Correct Answer:
C
Chapter: 33
Q1099:
Which language is used for writing OpenGL programs using glut?
A. Python
B. C++
C. Java
D. C
Correct Answer:
D
Chapter: 33
Q1100:
The ASCII character string given in glutCreateWindow is used as ________.
A. Window background color
B. Window name
C. Window ID
D. Font size
Correct Answer:
B