Chris Pollett > Old Classes > PIC197 ( Print View ) Enrollment info Course Info:
Homework Assignments: Practice Exams: PIC: |
PIC 197 Practice MidtermWhat to expect from the real thing: The real midterm will be in class, closed book, closed notes and have five problems of approximately the same difficulty as those below. Each problem will be worth 4pts. One of the problems below is guaranteed to be on the actual midterm. 1. Explain how to register a windows object with the operating system. 2. Explain what a window event loop is and how to set up a callback function in Windows. 3. Describe how 8-bit BMP files are formatted. 4. Define page-flipping and double buffering and explain how to flip a surface which has a backbuffer surface in DirectX. 5. Explain how to blit out an image where some color values are transparent. 6. Describe how to get the system time in milliseconds and how to use this to cycle between three bit-maps every second. 7. What is a Factory Pattern and give a possible use? 8. Write a program which inserts the numbers 1-10 inorder in an STL vector then removes them in reverse order. |