Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

True / False Indicate whether the statement is true or false. _ _ _ _ 1 . OpenGL is used in movies in Hollywood, scientific

True/False Indicate whether the statement is true or false.
____1. OpenGL is used in movies in Hollywood, scientific research, and games, on all platforms.
DirectX means Windows or Xbox and no movies.
____2. Every program we wrote was preceded with:
#include
____3. To make a screen of (say)1000x1000 pixels more manageable in terms of graphics, one principle we use (in some programs) in our class coding in C++ is to just treat it as cells of say 10x10 or 20x20 or 40x40...or upto 100x100 and then use discrete rather than continuous motion.
____4. Single buffering improves smooth continious motion rendering and reduces flick.
By having fewer buffers, you can focus on the screen state and appearance, rather than wasting compute time on many buffers all over the place. Taking care of two buffers cuts the time you have on the screen buffer in half. For quality animation, a single buffer streamlines the rendering and focusses on that single screen. Double buffering was only needed in the past.
____5. VGA graphics modes provide all the screen resolution we need. The human eye cannot see higher resolution than VGA from 1987, henceVGA is the standard even now.
____6. True color (24 bit color pixels) provides the maximal color needed for all human vision.
The human eye can only see a subset of the
So more bits per pixels would be a waste for a computer screen. This remains the standard to this day.
Multiple Choice Identify the choice that best completes the statement or answers the question.
____7. To move a car sprite one pixel to the left, the command to move it is __________________.
(Pick the answer closest to what we did in class.)
a. car1.x++ e. left(car1)
b. car1.x-- f. car1.left()
c. car1.y ++ g. car1->left
d. car1.y -- h. car1->right
____8. In a fish tank game, you killed the dangerous shark and the dead fish must go down.
To move a fish sprite one pixel downward, the command to move it is __________________.
(Pick the answer closest to what we did in class.)
a. fish1.x++ e. down(fish1)
b. fish1.x-- f. fish1.down()
c. fish1.y ++ g. fish1->down
d. fish1.y -- h. sleep_with_the_fishes()
____9. For combat realism, ______ captures the suspense, graphics, and feel of modern warfare in 3D.
a. Tank Wars (in the Harboure book) e. Pacman
b. Battlefield 2 f. Frogger
c. Doom g. Sim City
d. Kings Quest h. Starship Battles
____10. Sprites and bitmaps are least needed in _________, where geometric primitive 2D functions (like rectfill()) are sufficient for every image rendering.
a. GTA1 e. Pacman
b. Battlefield 2 f. Call of Duty
c. Doom g. Sim City
d. Kings Quest h. Starship Battles
____11._____________ and _____________are cross platform for graphics (and open-source), while _______________ is very limiting.
a. DirectX, OpenGL, Allegro e. OpenGL, Borland, DirectX
b. DirectX, Allegro, OpenGL f. OpenGL, DirectX, Allegro
c. Allegro, OpenGL, DirectX g. None of the other answers
d. Allegro, DirectX, OpenGL h. Borland, DirectX, Allegro
____12. In class, for sprite editing, we used __________________
a. Photoshop e. Sprites v2.1
b. GIMP f. Notepad++
c. Deluxe Paint and Deluxe Animation g. Illustrator
d. Irfanview h. Windows Paint
____13. What programming language did we use, based on the Harbour book?
a. C /C++ e. DirectX
b. Pascal f. Python
c. Assembly Language g. Java
d. Fortran h. JavaScript
____14. Which of the following is a popular strategy game for the PC?
a. Counter-Strike e. Pacman
b. Splinter Cell f. Frogger
c. Civilization IV g. Doom
d. Advance Wars h. Rex Nebular
____15. To make random numbers, we need:
a. #include e. #include
b. #include f. #include
c. #include g. #include
d. #include h. #include
____16. To get a red-circle to appear in the south-east corner of a 640x480 screen, we need:
a. circlefill(screen,0,0,20, color);
b. circlefill(screen,40,40,20, color);
c. circlefill(screen,40,440,20, color);
d. circlefill(screen,0,440,20, color);
e. circlefill(screen,620,0,20, color);
f. circlefill(screen,620,440,20, color);
g. circlefill(screen,320,220,20, color);
h. circlefill(screen,900,500,20, color);
____17. What is the term used to describe scalable line-based graphics?
a. Vector e. Linear
b. Bitmap f. Raster
c. Polygon g. CRT
d. Pixel h. LCD
____18. What function is used to create a custom 24- or 32-bit color?
a. rgb e. fill
b. color f. pallette
c. floodfill g. gencol
d. paint h. makecol
____19. What function is used to draw filled rectangles?
a. Dzozers pyrimid() e. floodfillrect()
b. rectfill() f. rectify()
c. fillrect() g. colorize()
d. fillrectangle() h. constipate()
____20. What functio

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions

Question

5. Understand how cultural values influence conflict behavior.

Answered: 1 week ago