Operating System Organization Chapter 1 Stallings book.

The flashcards below were created by user geschw66 on FreezingBlue Flashcards.

  1. An Operating System does these 3 things:
    Exploits the hardware resources of one or more processors (cores)

    Provides a set of services (system calls) to system users.

    Manages main/secondary memory and I/O devices
  2. Basic Elements

    I/O Modules


  3. A processor (1 of 3) controls the _?_ of the computer.
    A processor  controls the operation of the computer.
  4. A processor (1 of 3) performs the _?_ _?_ functions
    A processor  performs the data processing functions
  5. A processor (1 of 3) is referred to as the _?_  _?_  _?_ (_?_)
    A processor (1 of 3) referred to as the Central Processing Unit (CPU).
  6. Main Memory is _?_ (1 of 3 points)
    Main Memory is Volatile
  7. Contents of the memory are _?_when the computer is shut down
    Contents of the memory are lost when the computer is shut down.
  8. Memory is also referred   to as _?_ memory or _?_ memory
    Memory is also referred to as real memory or primary memory
  9. I/O modules moves data between the computer and _?_.
    I/O modules move data between the computer and external environments.
  10. External environments are:
    • Storage (e.g. hard drive)
    • Communications equipment (NIC)
    • terminals
  11. Interrupts do what?
    Interrupt the normal sequencing of the processor
  12. Interrupts are provided to _?_
    Provided to improve processor utilization --
  13. Interrupts why? 3 items:
    • Most I/O devices are slower than the processor.
    • Processor must pause to wait for device
    • Wasteful use of the processor.
  14. I/O Function: analogous to/ same as __?__
    It is the same as when a processor is  interacting with memory, the only difference is it is interacting with a specific device.
  15. Common Classes of Interrupts; Name four:
    • Program
    • Timer
    • I/O
    • Hardware Failure
  16. Program Class Interruptions: what are some examples
    • arithmetic overflow
    • division by zero
    • attempt to execute an illegal machine instruction, and reference outside a user's allowed memory space.
  17. Common Classes onf Interrupts: Program
    Generated by some condition that occurs as a result of an instruction execution.
  18. Common Classes onf Interrupts: Timer
    Generated by a timer within the processor. This allows the operating system to perform certain functions on a regular basis.
  19. Common Classes onf Interrupts: I/O
    Generated by an I/O controller, to signal normal completion of an operation or to signal a variety of error conditions.
  20. Common Classes onf Interrupts: Hardware  failure
    Generated by a failure, such as power failure or memory parity error.
  21. What is a System Bus?
    Provides for communication among

    • processors
    • main memory
    • I/O modules
  22. What is a Microprocessor?
    Invention that brought about desktop and handheld computing
  23. Four Microprocessor fun facts:
    • Processor on a single chip
    • Fastest general purpose processor
    • Multiprocessors
    • Each chip contains multiple processors (core)
  24. What are Graphical Processing Units (GPUs)?
    Provide efficient computation on arrays of data using Single-Instruction Multiple Data (SIMD) techniques
  25. What does SIMD stand for?
    Single-Instruction Multiple Data
  26. What are GPUs used for?
    Used for

    • General numerical processing
    • Physics simulations for games
    • Computations on large spreadsheet
  27. What are Digital Signal Processors ?
    Deals with streaming signals such as audio or video
  28. Three DSP fun facts:
    • Used to be embedded in devices like modems
    • Encoding/decoding speech and video (codecs)
    • Support for encryption and security
  29. What is System on A Chip (SoC)?
    • Created to satisfy the requirements of handheld devices, the microprocessor is giving way to the SoC, Puts many different components on chip, in addition to memory.
  30. SoC part II: what else is placed on the chip with the CPU?
    • DSPs
    • GPUs
    • codecs
    • main memory
  31. Instruction Execution: A program consists of a set of instructions stored in memory what are the two steps:
    (1) processor reads (fetches) instructions from memory.

    (2) executes each instruction.
  32. Draw the Basic Instruction Cycle
    Image Upload 1
  33. Describe Instruction Fetch and Execute
    (1)The processor fetches the instruction from memory.

    (2) Program counter (PC) holds  the address of the instruction to be fetched next. 

    (3) PC is incremented after each fetch.
  34. Instruction Register (IR)
    A Container for the fetched instruction.Fetched instruction is loaded into Instruction Register (IR)
  35. After the instruction is fetched and placed into the Instruction Register, what happens.
    Processor interprets the instruction and performs required action:

    • Processor-memory
    • Processor-I/O
    • Data processing
    • Control
  36. Define: Microkernel (wikipedia):
    is the near-minimum amount of software that can provide the mechanisms needed to implement an operating system (OS). These mechanisms include low-level address space management, thread management, and inter-process communication (IPC).
  37. A process contains three components:
    • an executable program
    • the associated data needed by the program (variables, work space, buffers, etc.)
    • the execution context (or “process state”) of the program
Card Set
Operating System Organization Chapter 1 Stallings book.
for CSE 422 Operating System WUSTL
Show Answers