Sunday, 1 July 2012

C Programming : INTRODUCTION TO OPERATING SYSTEM

OPERATING SYSTEM :

An OS is a program which acts as an interface between computer system users and the computer hardware.
It provides a user-friendly environment in which a user may easily develop and execute programs.
Otherwise, hardware knowledge would be mandatory for computer programming.
So, it can be said that an OS hides the complexity of hardware from uninterested users.

USER INTERFACE WITH COMPUTER HARDWARE

The OS manages these resources and allocates them to specific programs and users.
With the management of the OS, a programmer is rid of difficult hardware considerations.
 An OS provides services for
  • Processor Management
  • Memory Management
  • File Management
  • Device Management
  • Concurrency Control 
 
The common idea behind these definitions:
            Operating systems control and support the usage of computer systems.

Concepts to be discussed:
            Usage
            Computer system
            Control
            Support


a.       usage
users of a computer system:
            programs - use memory, use CPU time, use I/O devices
            human users
programmers - use program development tools such as debuggers, editors               end users - use application programs, e.g. Internet explorer

b.      computer system = hardware + software
OS is a part of the computer software, it is a program. It is a very special program, that is the first to be executed when the computer is switched on, and is supposed to control and support the execution of other programs and the overall usage of the computer system.

c.       control
The operating system controls the usage of the computer resources - hardware devices and software utilities. We can think of an operating system as a Resource Manager. Here are some of the resources managed by the OS:
Processors,
Main memory,
Secondary Memory,
Peripheral devices,
Information.

d.      support
The operating system provides a number of services to assist the users of the computer system:
            For the programmers:
                        Utilities - debuggers, editors, file management, etc.
            For the end users - provides the interface to the application programs
            For programs - loads instructions and data into memory, prepares I/O devises for usage, handles interrupts and error conditions.

functions of operating system:





1) to interprate the commands executed by the user.
2) to handle disk input/output settings.
3) loaded in the memory at bootup and remain in the memory at all time.
4) to provid the OS with the machanism in order to see the additional memory.
5) used to access the high memory area. (himem.sys )
6) it allows the rest of the OS and its programs to interact directry with the system hardware and the system BIOS.
7) it sets particular values corresponding to the windows environment.
8) used to run particular programs during startup.

Operating system  is a platform between hardware and user which is responsible for the management and coordination of activities and the sharing of the resources of a computer.  It hosts the several applications that run on a computer and handles the operations of computer hardware. There are different types of operating systems.
These are as follows:

1. Real-time Operating System: It is a multitasking operating system that aims at executing real-time applications.

2. Multi-user and Single-user Operating Systems: The operating systems of this type allow a multiple users to access a computer system concurrently.

3. Multi-tasking and Single-tasking Operating Systems:When a single program is allowed to run at a time, the system is grouped under a single-tasking system, while in case the operating system allows the execution of multiple tasks at one time, it is classified as a multi-tasking operating system.

4. Distributed Operating System: An operating system that manages a group of independent computers and makes them appear to be a single computer is known as a distributed operating system.

5. Embedded System: The operating systems designed for being used in embedded computer systems are known as embedded operating systems.


IN SHORT :

Operating System is a software program that acts as an interface between the user and the computer. It is a software package which allows the computer to function.
Functions:
  1. Program creation
  2. Program execution
  3. Access to Input/Output devices
  4. Controlled access to files
  5. System access
  6. Error detection and response
  7. Interpreting the commands
  8. Managing peripherals
  9. Memory management
  10. Processor management
  11. Information management
  12. Process communication
  13. Networking
Types of Operating System
  • DOS (Disk Operating System)
  • UNIX
  • LINUX
  • Windows
  • Windows NT

1 comment:

  1. can you please explain on the 13 functions listed above

    ReplyDelete