CPS 100E, Fall 1996 Inlab 4


Name:

Lab Section:


You should answer the following questions and either turn in the sheet during lab, or answer the questions when you submit your README file. These questions are worth 2 out of the 10 points for each lab. You don't need to get all the answers right to get the 2 points, but you must try.

It's ok to ask a UTA or TA for help, but first you must try to find the answers on your own.

  1. When does the function IsBitmapFile (usepix.cc) return true?



  2. Explain in your own words what the for loop in LoadDirectory does (usepix.cc)



  3. (pixmap.cc) In what function is a RandGen object declared? What is the object used to do?



  4. (pixmap.cc) Why are the functions ReadNormalFile and ReadCompressedFile private member functions instead of public?