Operating Systems 2015F: Assignment 1: Difference between revisions

From Soma-notes
No edit summary
No edit summary
Line 5: Line 5:
Choose the *most* accurate definition for the following terms/concepts:
Choose the *most* accurate definition for the following terms/concepts:


# system call
# system calls
# function call
# function calls
# library call
# library calls
# process
# process
# thread
# thread
# fork
# fork
# execve
# execve
# file
# file
# filesystem
# filesystem
# signal
# signal
# library
# library
# kernel
# kernel
# environment variable
# environment variable
# shell variable
# shell variable
# "exporting" a variable
# zombie process


'''Definitions''':
'''Definitions''':
Line 27: Line 27:
   <li>The part of the operating system that runs in supervisor mode on the CPU and has the code that is run for all interrupts</li>
   <li>The part of the operating system that runs in supervisor mode on the CPU and has the code that is run for all interrupts</li>
   <li>A stream of bytes associated with a hierarchical name.</li>
   <li>A stream of bytes associated with a hierarchical name.</li>
   <li>
   <li>The API used by a process to access outside resources (disk/user input/network)
   <li>
   <li>A variable that can only be accessed within the current shell.
   <li>
   <li>A variable that can be accessed within the current process and in child processes (unless filtered)e
   <li>
   <li>A variable that can be accessed globally by all processes.
   <li>
   <li>A process that has terminated but its parent has not retrieved its return value.
   <li>
   <li>An indexed collection of object files that may be linked into a program.
   <li>
   <li>
   <li>
   <li>

Revision as of 19:52, 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
  1. function calls
  2. library calls
  3. process
  4. thread
# fork
  1. execve
# file
  1. filesystem
  2. 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.