Assignment: #assessment6 Due: 12/09/02018 Points: 7

Specification

  1. A process is an instance of a __________________.
    1. class
    2. object
    3. program file
    4. file opened for input
  2. Every process is assigned a(n) __________________________.
    1. process identifier (pid)
    2. storage slot on the disk
    3. i-node number
    4. host identifier
  3. Signals are sent to a process using the ____________ command.
    1. ps
    2. kill
    3. diff
    4. grep
  4. What information does the following command print.
    	$ ps -o pid,ppid,cmd
    
    1. process id, past-process id, command name
    2. parent id, parent-parent id, command name
    3. process id, parent-process id, command name
  5. The _______ signal cannot be caught by a program.
    1. SIGHUP
    2. SIGINT
    3. SIGTERM
    4. SIGKILL
  6. A new process is created using the ___________ system call.
    1. bash
    2. system
    3. fork
    4. exec
  7. A process is initialized (loaded) using the _________ system call.
    1. fork
    2. open
    3. exec
    4. system

  8. Background processes are usually executed with their I/O ________.
    1. ignored
    2. redirected into files
    3. written to a log file
    4. email'd to the SysAdmin
  9. Instances of the same program file share __________.
    1. stack data
    2. heap data
    3. data segment data
    4. program text (instructions)
  10. In many cases a SIGHUP is sent to daemon programs to get them to _________________.
    1. terminate without dropping core
    2. terminate and drop core
    3. re-read their configuration file(s)
    4. send a signal to their parent
  11. Record the three main ideas that define the "Unix Philosophy."