Operating Systems 2015F: Assignment 1: Difference between revisions

From Soma-notes
No edit summary
No edit summary
Line 6: Line 6:


  # system calls
  # system calls
# function calls
  # function calls
# library calls
  # library calls
# process
# process
# thread
  # fork
  # fork
# execve
# execve
  # file
  # file
# filesystem
  # filesystem
# signal
# signal
  # library
  # library
  # kernel
  # kernel
Line 33: Line 32:
   <li>A process that has terminated but its parent has not retrieved its return value.
   <li>A process that has terminated but its parent has not retrieved its return value.
   <li>An indexed collection of object files that may be linked into a program.
   <li>An indexed collection of object files that may be linked into a program.
  <li>A system call that loads an executable into the current process and runs it (erasing the process's old code and data).
   <li>
   <li>
  <li>A type of inter-process communication that is also used in UNIX to manage processes.
   <li>
   <li>
  <li>A system call that creates a new process, loads an executable, and runs it in the new process.
   <li>
   <li>
   <li>
   <li>
   <li>
   <li>The main abstraction for running programs that gives each program its own memory and virtual CPU.
  <li>
  <li>
  <li>
   <li>
   <li>
   <li>
   <li>
   <li>
   <li>
</ol>
</ol>

Revision as of 19:56, 18 September 2015

This assignment is not yet finalized.

Please submit your answers to the following on CULearn. This assignment is due before class on September 23, 2015.

Choose the *most* accurate definition for the following terms/concepts:

# system calls
 # function calls
 # library calls
# process
# fork
# execve
# file
 # filesystem
# signal
# library
# kernel
# environment variable
# shell variable
# zombie process

Definitions:

  1. A system call that creates a new process by creating a logical copy of the current process.
  2. The part of the operating system that runs in supervisor mode on the CPU and has the code that is run for all interrupts
  3. A stream of bytes associated with a hierarchical name.
  4. The API used by a process to access outside resources (disk/user input/network)
  5. A variable that can only be accessed within the current shell.
  6. A variable that can be accessed within the current process and in child processes (unless filtered)e
  7. A variable that can be accessed globally by all processes.
  8. A process that has terminated but its parent has not retrieved its return value.
  9. An indexed collection of object files that may be linked into a program.
  10. A system call that loads an executable into the current process and runs it (erasing the process's old code and data).
  11. A type of inter-process communication that is also used in UNIX to manage processes.
  12. A system call that creates a new process, loads an executable, and runs it in the new process.
  13. The main abstraction for running programs that gives each program its own memory and virtual CPU.