CSE271: Short Quiz #10 -- Molay Chapters 6-8, 15.3

  1. The alarm() signal call
      A. generates a message to the terminal in the most highlighted form possible
      B. sends SIGALRM to a process
      C. sets a timer

  2. A process is
      A. a sequence of instructions a computer executes
      B. the memory space and data structures associated with a running program
      C. none of the above

  3. The curses library function refresh()
      A. is needed to prevent terminal pixels from fading
      B. resets the timer for any signals that have been set
      C. copies the content from the virtual screen to the terminal screen

  4. The execvp() system function
      A. runs a program in the calling process
      B. spawns a shell in which to run a program
      C. creates a new process and runs a program

  5. A program can create a named pipe by calling
      A. pipe()
      B. mkfifo()
      C. open()


Last revised: 18 April 2007, Brian D. Davison.