Preview

Functions of an Operating System

Powerful Essays
Open Document
Open Document
9021 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Functions of an Operating System
Overview of Functions of an Operating System
Norman Matloff

University of California, Davis

©2001, N. Matloff
May 30, 2001
Contents
1 Introduction 1.1 It's Just a Program! 1.2 What Is an OS for, Anyway? 1.3 A Bit More on System Calls 1.4 Making These Concepts Concrete: Commands You Can Try Yourself
2 System Bootup
3 Application Program Loading
4 Timesharing 4.1 Many Processes, Taking Turns 4.2 Example of OS Code: Linux for Intel CPUs 4.3 Process States 4.4 How the Process Tree Is Built 4.5 Making These Concepts Concrete: Commands You Can Try Yourself
5 The Use of Virtual Memory for Memory Management and Protection 5.1 Make Sure You Understand the Goals 5.2 Example of Virtual Nature of Addresses 5.3 Overview of How the Goals Are Achieved 5.4 Creation and Maintenance of the Page Table 5.5 Details on Usage of the Page Table 5.5.1 Virtual-to-Physical Address Translation, Page Table Lookup 5.5.2 Page Faults 5.5.3 Access Violations 5.6 Improving Performance 5.7 Intel Page Tables 5.8 Making These Concepts Concrete: Commands You Can Try Yourself
A Hardware Interrupts A.1 General Operation A.2 Some Details for Intel CPUs and PCs
1 Introduction
1.1 It's Just a Program!
First and foremost, it is vital to understand that an operating system (OS) is just a program - a very large, very complex program, but still just a program. The OS provides support for the loading and execution of other programs (which we will refer to below as ``application programs''), and the the OS will set things up so that it has some special privileges which user programs don't have, but in the end, the OS is simply a program.
For example, when your program, say a.out,1 is running, the OS is not running, Thus the OS has no power to suspend your program while your program is running - since the OS isn't running! This is a key concept,

You May Also Find These Documents Helpful

  • Powerful Essays

    Nt1330 Unit 1 Assignment

    • 4639 Words
    • 19 Pages

    An operating system (OS) is an interface between hardware and user which is responsible for the management and coordination of activities and the sharing of the resources of the computer that acts as a host for computing applications run on the machine. As a host, one of the purposes of an operating system is to handle the details of the operation of the hardware. This relieves application programs from having to manage these details and makes it easier to write applications. Almost all computers (including handheld computers,desktop computers, supercomputers, video game consoles) as well as some robots, domestic appliances (dishwashers, washing machines), and portable…

    • 4639 Words
    • 19 Pages
    Powerful Essays
  • Better Essays

    Unit 8 eCommerce P1

    • 1328 Words
    • 6 Pages

    Operating Systems: An operating system (OS) is a collection of software that manages computer hardware resources and provides common services for computer programs. The operating system is an essential component of the system software in a computer system. Application…

    • 1328 Words
    • 6 Pages
    Better Essays
  • Satisfactory Essays

    So there are 3 basic operating systems, Linux, Mac OS and Windows. The purpose of these operating systems is exactly that, to operate. Operating systems are what run your computers programs. They are what enable you to interface with the computer to complete tasks. Without an operating system, you really wouldn’t have much use for a computer. Operating systems give you access to so many aspects of the computer. From the OS you can control outside devices like printers and scanners. You can also send output and recognize input to the computer. One other purpose for operating systems is file management.…

    • 205 Words
    • 1 Page
    Satisfactory Essays
  • Better Essays

    BIS 320 Week 2 Asm

    • 1188 Words
    • 5 Pages

    An operating system is basically described as “the program that, after being initially loaded into the computer by a boot program, manages all the other programs in a computer” (Rouse, 201). Operating systems and applications help the company reach their goals because it enables their employees to use them as tools to do their jobs more efficiently which can subsequently lead to increased company sales and revenue.…

    • 1188 Words
    • 5 Pages
    Better Essays
  • Good Essays

    The Operating System (OS) is the very most essential software on your computer. Without the OS your computer will not run. It manages all of the hardware and software and gives direct access to the storage, central processing unit (CPU), and memory, so that the programs can work properly. The operating system determines what your computer can or cannot actually do because each OS have different features, options, applications, compatibilities and even the user interface may change.…

    • 580 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Assingment 1

    • 663 Words
    • 3 Pages

    Operating system software is what manages all the hardware components that make it possible to run on the computers. Example: Windows, Linux…

    • 663 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Mac vs Pc

    • 1078 Words
    • 5 Pages

    Your operating system is the software needed for basic operation—which is crucial to the operating performance of the machine. The Mac…

    • 1078 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    The American Heritage® Dictionary of the English Language, Fourth Edition.. (2003). Operating System. Retrieved from http://www.thefreedictionary.com/operating+system…

    • 598 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Operating System Differences

    • 3058 Words
    • 13 Pages

    Each operating system is a multi-user system, multiprocessing, multitasking, and multithreading. An operating system capable of allowing multiple software processes to run at the same time is a multiprocessing and multitasking computer. Operating systems that allow different parts of a software program to run concurrently are considered multithreading.…

    • 3058 Words
    • 13 Pages
    Powerful Essays
  • Better Essays

    Linux vs Windows vs Mac

    • 1355 Words
    • 6 Pages

    Even though each of these is unique, as operating systems they all share the same general functions. They are responsible for allocating processes to maximize processor use while also making sure response time is not negatively affected. They are also responsible for dedicating resources to processes while maintaining order, with low priority processes being pushed back and higher priority processes being moved forward. This must also be done while avoiding deadlock, which is an infinite loop of processes waiting on each other to be executed. Newer operating systems may also be required to support communication between processes and user creation of processes.…

    • 1355 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Question 4 (15 points): Explain the role of the init process on UNIX and Linux systems in regards to process termination.…

    • 723 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Assignment 1,Section I

    • 326 Words
    • 2 Pages

    An operating system (OS) is a collection of software that manages computer hardwareresources and provides common services for computer programs. The operating system is a vital component of the system software in a computer system. Application programs require an operating system to function.…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    At first, computers lacked any form of operating system. The computer user had sole use of the machine. The user would arrive at the machine armed with his or her program and data, often on punched paper tape. The program would be loaded into the machine, and then the machine set to work, until the program stopped. Later, computers came with libraries of support code which were linked to the user's program to assist in operations such as input and output. This would become the start of the modern-day operating system. However, these machines still only ran a single job at a time.…

    • 2082 Words
    • 9 Pages
    Powerful Essays
  • Powerful Essays

    (b) Kim wants to purchase a printer. State TWO characteristics of printers that Kim should consider when purchasing the printer.…

    • 1331 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    The Memory Manager, the Interface Manager, the User Manager, and the File Manager are the basis of all operating systems.…

    • 1262 Words
    • 6 Pages
    Satisfactory Essays

Related Topics