[Previous] [Up]
Go backward to Final Instructions
Go up to "Take home" Final Exam

Final Exam Questions

  1. What are the major differences encountered programming for a UNIX platform as compared to a DOS or a MS Windows platform?
  2. Write a code segment that if a call to sigaction() fails.
  3. Choose a system header file and describe its overall function and usage. Turn in a copy of the system header file you chose.
  4. Write a program with the fork() function that -- Regardless of system activity force the order of the output. Actually write this program and turn it in.
  5. Many multi-user turnkey systems have used UNIX to support different terminal types. In the class we covered curses. What advantage does a "library" such as curses provide?
  6. Assume you are writing a program in which a parent needs to share 1 Mbyte of data with a child process. What approach would you use to do this and why?
  7. If a many (1000's) clients needs to transfer 40 bytes of information to a server several times an hour using TCP/IP what protocol and server type would you choose? Why?
  8. Write the code segments needed to change a X11 (Xlib or Xt) program with only one window to a program that -- The location of the red circle(s) does not need to be remembered for an expose event.
ltaber@pima.edu

[Previous] [Up]