The Components of an Operating System

Description

By: Jessica Kramarczyk NOTE: Assumptions are marked by a star in the bottom- right hand corner of nodes
Jessica K
Mind Map by Jessica K, updated more than 1 year ago
Jessica K
Created by Jessica K over 8 years ago
14
0

Resource summary

The Components of an Operating System
  1. NETWORKING
    1. Connects computers
      1. There will be communication between them
        1. When the user has a required subnet
      2. Does not share:
        1. Memory
          1. Peripheral devices
            1. A clock
            2. Does share:
              1. Data with two or more computing devices
              2. Use TCP/IP networking protocols
                1. TCP uses IP, and IP uses TCP.
                  1. TCP ensures that every packet/signal, reaches the correct destination.
                    1. It will keep on sending the same packet until it reaches it's correct destinaion
                    2. TCP: Trasmission Control Protocol
                      1. IP: Internet Protocol
                    3. Masks on an IP network protocol determine how many subnets a user will want to have
                      1. How many computers will be allowed access to connect to the main network
                        1. Ex. There are 64 subnets in a Class A network that uses 6 bits for a subnet id
                      2. Area networks:
                        1. Local Area Networks (LANs)
                          1. Computers connected together with Ethernet cables
                            1. Homes
                              1. School
                                1. Small office building
                                  1. Ethernet cables allow communication between computers
                                2. Wide Area Networks (WANs)
                                  1. Cities
                                    1. Provinces
                                      1. Across the world
                                        1. The largest WAN is the Internet
                                        2. Spans a large geographical area
                                          1. WANs consist of two or moe LANs
                                      2. Things to consider when networking:
                                        1. Routing Stratagies
                                          1. Performed for many kinds of networks
                                            1. Telephone network
                                              1. Electronic Data netwroks
                                                1. Transportation networks
                                                2. Selecting the best paths in a network
                                                3. Connection Stratagies
                                                  1. Security
                                                  2. Access to shared resources allows:
                                                    1. Computation speed up
                                                      1. increased data availability
                                                        1. Enhanced reliability
                                                      2. PROCESS MANAGEMENT
                                                        1. Uses resources provided by the OS, whether they are whole programs or fractions of a program, to work on given tasks.
                                                          1. Tasks are received by the CPU
                                                            1. Central Processing Unit
                                                              1. Electronic chip within a computer that carries out instructions of a computer program
                                                            2. Executes instructions one after the other in main memory and therefore the program runs.
                                                              1. At times if one does not need the whole program code at once
                                                                1. A fraction of it is loaded in the main memory
                                                              2. Is responsible for:
                                                                1. Creation, loading, executing and deletion of processes
                                                                  1. Processes suspension and resumption
                                                                    1. Provides a mechanisms for :
                                                                      1. Process synchronization
                                                                        1. Process communication: to send data to each other
                                                                        2. Switching amongst multiple processes in main memory
                                                                          1. Controls shared data
                                                                            1. Keeps it consistent
                                                                          2. The OS must:
                                                                            1. Set apart resources to processes
                                                                              1. This is to share and exchange information
                                                                              2. Protect the resources
                                                                                1. From being used by other processes
                                                                                2. Enable synchronization among processes
                                                                                3. Other information:
                                                                                  1. It is a unit of work in an operating system
                                                                                    1. A process is not a program but instead one instant of a program in execution
                                                                                      1. Deadlock situation:
                                                                                        1. Three running processes will wait forever
                                                                                    2. MAIN MEMORY MANAGEMENT
                                                                                      1. A large array of words or bytes
                                                                                        1. Each have their own address
                                                                                          1. The CPU can access this space
                                                                                        2. a.k.a. Primary memory
                                                                                          1. There is accessible storage provided by the CPU
                                                                                            1. Tasks:
                                                                                              1. Keeping track of memory
                                                                                                1. Usage
                                                                                                  1. Who is using it
                                                                                                  2. When memory becomes available
                                                                                                    1. Will ask itself which process will be loaded in memory
                                                                                                  3. Virtual Memory Management
                                                                                                    1. A computer’s memory is arranged in a hierarchical manner
                                                                                                      1. Starts from fastest registers
                                                                                                        1. CPU cache
                                                                                                          1. Random Access Memory
                                                                                                            1. Disk storage
                                                                                                          2. Responsible for:
                                                                                                            1. Which component of the computer’s memory is available
                                                                                                              1. Which memory will be allocated and dellocated
                                                                                                                1. How data will move between components
                                                                                                                2. Increases amount of memory available for each process
                                                                                                                  1. When will the process will require more RAM?
                                                                                                                    1. If using disks as memory
                                                                                                                      1. If using slower storage as memory
                                                                                                                    2. Managing Virtual Addresses
                                                                                                                      1. If multiple processes are in memory at the same time
                                                                                                                        1. Must remain separate
                                                                                                                        2. Having separate address space helps the processes
                                                                                                                          1. Address is assigned to them
                                                                                                                          2. This is tracked
                                                                                                                            1. When the process is finished being used there is space for new processes
                                                                                                                        3. COMMAND INTERPRETER
                                                                                                                          1. What is it:
                                                                                                                            1. User types in commands
                                                                                                                              1. Interpreter carries them out
                                                                                                                              2. It translates the commands/instructions
                                                                                                                                1. So the OS may understand it and executes the command
                                                                                                                                2. Commands can be given by:
                                                                                                                                  1. The user
                                                                                                                                    1. A program
                                                                                                                                  2. It is not part of the OS even if every OS provides the system programs
                                                                                                                                    1. Some people believe it is a part of the OS
                                                                                                                                    2. It allows users to interact with the OS
                                                                                                                                      1. Windows
                                                                                                                                        1. DOS Command Window
                                                                                                                                        2. Unix/Linux
                                                                                                                                          1. CSHELL
                                                                                                                                            1. Bash
                                                                                                                                          2. Shell or Command-line interpreter:
                                                                                                                                            1. Reads and interprets commands
                                                                                                                                              1. Shell is not part of the operating system
                                                                                                                                            2. Users can submit commands for:
                                                                                                                                              1. Networking
                                                                                                                                                1. Protection
                                                                                                                                                  1. I/O Handling
                                                                                                                                                    1. Main Memory
                                                                                                                                                      1. Process creation and management
                                                                                                                                                        1. Secondary Storage Management
                                                                                                                                                          1. File System Access
                                                                                                                                                        2. SECURITY/PROTECTION SYSTEMS
                                                                                                                                                          1. Various processes must be protected from multiple user’s activities
                                                                                                                                                            1. There are different types of parts to protect:
                                                                                                                                                              1. Hardware resources
                                                                                                                                                                1. Kernel code
                                                                                                                                                                  1. Loaded into a protected area of memory
                                                                                                                                                                    1. Prevent it from being overwritten by programs or other parts of the operating system
                                                                                                                                                                    2. Responsible for:
                                                                                                                                                                      1. Memory management
                                                                                                                                                                        1. Process and task management
                                                                                                                                                                          1. Disk management
                                                                                                                                                                        2. Processes
                                                                                                                                                                          1. Files
                                                                                                                                                                            1. Data
                                                                                                                                                                              1. Against malicious programs
                                                                                                                                                                                1. Against malware programs
                                                                                                                                                                                  1. With firewalls
                                                                                                                                                                                    1. Use anitvirus software
                                                                                                                                                                                      1. Block spyware
                                                                                                                                                                                    2. Different types of OSs there is some level of security
                                                                                                                                                                                      1. Mac OS X:
                                                                                                                                                                                        1. Itself is designed to protect a users computer
                                                                                                                                                                                          1. Mac: ClamXav antiviruse (used as a backup for security but not necessary)
                                                                                                                                                                                        2. Windows:
                                                                                                                                                                                          1. Windows Defender
                                                                                                                                                                                            1. Microsoft Security Essentials
                                                                                                                                                                                            2. Linux:
                                                                                                                                                                                              1. ClamAV security software
                                                                                                                                                                                                1. Snort security software
                                                                                                                                                                                              2. Security is based on:
                                                                                                                                                                                                1. How the operating system provides access to a number of resources
                                                                                                                                                                                                  1. The services provided by the program running
                                                                                                                                                                                                  2. This component must:
                                                                                                                                                                                                    1. Determine who is allowed access to certain files and who is not
                                                                                                                                                                                                      1. With some programs once running have an identity but do not need to request a login
                                                                                                                                                                                                        1. With request outside of the computer a login password must be given to authenticate the user
                                                                                                                                                                                                    2. FILE MANAGEMENT
                                                                                                                                                                                                      1. A file is a collection of related information
                                                                                                                                                                                                        1. Can represent programs and data
                                                                                                                                                                                                          1. Files can be stored on a disk (secondary storage)
                                                                                                                                                                                                            1. Long term storage
                                                                                                                                                                                                              1. Must be efficient and convenient
                                                                                                                                                                                                          2. Examples of storage media:
                                                                                                                                                                                                            1. Magnetic tape
                                                                                                                                                                                                              1. Magnetic disk
                                                                                                                                                                                                                1. Optical disk
                                                                                                                                                                                                                2. Has different properities:
                                                                                                                                                                                                                  1. Speed
                                                                                                                                                                                                                    1. Capacity
                                                                                                                                                                                                                      1. Data transfer rate
                                                                                                                                                                                                                        1. Access methods
                                                                                                                                                                                                                        2. File systems are organized into directories
                                                                                                                                                                                                                          1. Directories contain files and other directions
                                                                                                                                                                                                                            1. a.k.a. folders, catalogs, drawers
                                                                                                                                                                                                                              1. Organized into a hierarchical filesystem
                                                                                                                                                                                                                                1. 1. Directory
                                                                                                                                                                                                                                  1. 2. Subdirectory
                                                                                                                                                                                                                                  2. Parent and Child are used to describe the relationship
                                                                                                                                                                                                                              2. Tasks:
                                                                                                                                                                                                                                1. Create
                                                                                                                                                                                                                                  1. Manipulate
                                                                                                                                                                                                                                    1. Delete files
                                                                                                                                                                                                                                      1. Directories
                                                                                                                                                                                                                                    2. I/O SYSTEM MANAGEMENT
                                                                                                                                                                                                                                      1. Input/Output
                                                                                                                                                                                                                                        1. Input only devices:
                                                                                                                                                                                                                                          1. Printers
                                                                                                                                                                                                                                            1. Hard disks
                                                                                                                                                                                                                                              1. Keyboards
                                                                                                                                                                                                                                                1. Mouses
                                                                                                                                                                                                                                                  1. Drawing tablets
                                                                                                                                                                                                                                                  2. Output only devices:
                                                                                                                                                                                                                                                    1. Printers
                                                                                                                                                                                                                                                    2. Both Input and Output devices:
                                                                                                                                                                                                                                                      1. Hard disks
                                                                                                                                                                                                                                                        1. Diskettes
                                                                                                                                                                                                                                                          1. Writable CD-ROMs
                                                                                                                                                                                                                                                            1. Modems
                                                                                                                                                                                                                                                              1. Network Cards
                                                                                                                                                                                                                                                              2. Peculiarities
                                                                                                                                                                                                                                                                1. The OS hides the peculiarities of the I/O devices from the user
                                                                                                                                                                                                                                                                  1. Only the device driver knows to whom it is assigned
                                                                                                                                                                                                                                                                    1. Ensure proper use of devices
                                                                                                                                                                                                                                                                      1. Prevents errors
                                                                                                                                                                                                                                                                  2. Tasks
                                                                                                                                                                                                                                                                    1. Hides the details of hardware devices
                                                                                                                                                                                                                                                                      1. Manage main memory for the devices
                                                                                                                                                                                                                                                                        1. Using:
                                                                                                                                                                                                                                                                          1. Cache
                                                                                                                                                                                                                                                                            1. Buffer
                                                                                                                                                                                                                                                                              1. Spooling
                                                                                                                                                                                                                                                                            2. Maintain and provide device driver interfaces
                                                                                                                                                                                                                                                                            3. Used by people or systems to communicate with a computer
                                                                                                                                                                                                                                                                              1. Any program, or device that transfers data
                                                                                                                                                                                                                                                                                1. To a computer
                                                                                                                                                                                                                                                                                  1. From a computer
                                                                                                                                                                                                                                                                              2. SECONDARY-STORAGE MANAGEMENT
                                                                                                                                                                                                                                                                                1. Systems have different levels of storage:
                                                                                                                                                                                                                                                                                  1. Primary
                                                                                                                                                                                                                                                                                    1. Secondary
                                                                                                                                                                                                                                                                                      1. Cache
                                                                                                                                                                                                                                                                                        1. a collection of the same type stored in a hidden/inaccessible place
                                                                                                                                                                                                                                                                                      2. Main memory is
                                                                                                                                                                                                                                                                                        1. Too small to keep all data and programs
                                                                                                                                                                                                                                                                                          1. Main memory minimum: 32 megabytes
                                                                                                                                                                                                                                                                                          2. Data is lost when power is shut off
                                                                                                                                                                                                                                                                                            1. Secondary storage is used to backup main memory
                                                                                                                                                                                                                                                                                          3. Consists of:
                                                                                                                                                                                                                                                                                            1. Tapes
                                                                                                                                                                                                                                                                                              1. Disks
                                                                                                                                                                                                                                                                                                1. Other media designed to hold information
                                                                                                                                                                                                                                                                                                2. Addresses:
                                                                                                                                                                                                                                                                                                  1. Each location in storage has its own address
                                                                                                                                                                                                                                                                                                    1. Address space:
                                                                                                                                                                                                                                                                                                      1. Set of all addresses available to a program
                                                                                                                                                                                                                                                                                                    2. OS is responsible for:
                                                                                                                                                                                                                                                                                                      1. Free space management
                                                                                                                                                                                                                                                                                                        1. Storage allocation and defrag blocks
                                                                                                                                                                                                                                                                                                          1. Disk scheduling
                                                                                                                                                                                                                                                                                                        2. By: Jessica Kramarczyk
                                                                                                                                                                                                                                                                                                          1. NOTE: Assumptions are marked by a star in the bottom- right hand corner of nodes

                                                                                                                                                                                                                                                                                                          Media attachments

                                                                                                                                                                                                                                                                                                          Show full summary Hide full summary

                                                                                                                                                                                                                                                                                                          Similar

                                                                                                                                                                                                                                                                                                          Year 11 Psychology - Intro to Psychology and Research Methods
                                                                                                                                                                                                                                                                                                          stephanie-vee
                                                                                                                                                                                                                                                                                                          French Tense Endings
                                                                                                                                                                                                                                                                                                          James Hoyle
                                                                                                                                                                                                                                                                                                          P1 quiz
                                                                                                                                                                                                                                                                                                          I M Wilson
                                                                                                                                                                                                                                                                                                          GCSE REVISION TIMETABLE
                                                                                                                                                                                                                                                                                                          Joana Santos9567
                                                                                                                                                                                                                                                                                                          C Programming
                                                                                                                                                                                                                                                                                                          Miki Rana
                                                                                                                                                                                                                                                                                                          Chemistry Rates of Reaction Revision
                                                                                                                                                                                                                                                                                                          11mzroser
                                                                                                                                                                                                                                                                                                          A Christmas Carol Context
                                                                                                                                                                                                                                                                                                          Olivia Bamber
                                                                                                                                                                                                                                                                                                          2PR101 1.test - 6. část
                                                                                                                                                                                                                                                                                                          Nikola Truong
                                                                                                                                                                                                                                                                                                          2PR101 1.test - 9. část
                                                                                                                                                                                                                                                                                                          Nikola Truong
                                                                                                                                                                                                                                                                                                          AAHI_Card set 3 (Vital sign parameters - Adult)
                                                                                                                                                                                                                                                                                                          Tafe Teachers SB