Computer Science 215 Quiz K Name ______________________ 1. In the approach to anti-aliasing that was discussed the number of rays traced per pixel a. is still one ray per pixel b. is some constant number > 1 c. is a random number of rays 2. To generate the screen coordinates through which a ray used in antialising passes, it is necessary to use a. a single random number b. two random numbers c. more than two random d. no random numbers numbers 3. The x-dimension of the "box" on the screen through which the ray used in antialiasing passes is: a. world_x_size b. win_x_size (number of window (pixels in x dimension) c. win_x_size / world_x_size d. world_x_size/win_x_size 4. Which of the following is a proper way to declare a C++ class named x_t a. typedef class x_type b. class x_t { { public: public: private: private: int x; int x; } x_t; } x_t; c. typedef class x_type d. typedef class x_t { { public: public: private: private: int x; int x; }; }; 5. Suppose class view_t has a method named load_view() and an instance of the class is created as: view_t v; The proper way to invoke the load_view() method is: a. v->load_view(); b. v.load_view(); c. v::load_view(); d. load_view();