Skip to main content

Operating System

 .

Operating System

An operating system is a collection of software program that controls the overall operation of the computer system. The Operating System manages the resources of a computer system manages the resources of  computer system and schedules its operation. The operating system acts as an interface between the hardware and the user level program and facilitates the execution of the program. 
 

Function of Operating System

1. File Management : Operating system handles the file organizations in the secondary storage devices. Operating system also provides certain services to the computer system in one form or the other. The operating system provides certain services to the users which can be listed in the following manner. 
  • Program Execution 
  • Error Detection and Handling
  • Manipulation of File System
  • Information and Resource Protection
  • Handling Input/Output Operations
  • Accounting
2. Security : The operating system uses password protection to protect user data and similar other techniques. It also prevents unauthorized access to programs and user data.

3. Resource Management : There are various other resources in computer system ( for example Printer). They must be distributed efficiently between the programs without any conflicts. For example, if Program "A" captures Hard disk and ask for Printer to print, and Program "B" captures printer and ask for Hard disk to write, then such condition creates "Deadlock" and system will be halted. Such conditions are avoided by Operating System and resource are avoided by Operating System and resource are efficiently distributed.

4. Job Scheduling : To increase the efficiency of processor, OS chooses various jobs scheduling mechanism which allocate certain time to each job. There is fast switching of processor time for each job waiting for processor time. Different algorithm like Round-Robin, Shortest Job First, First Come First serve are employed for this process. 

5. Memory Management : For any program to execute it must reside on the main memory. In a system where multiple programs are to be executed each program requires certain amount of memory. The memory management component of the operating system manages memory efficiently. As the demand for the multiple program execution increases more and more program are to be executed at the same time. So this requires a lot of memory and the available memory may not be enough for all programs that are under execution. In this case modern operation system uses secondary storage for nature. The virtual memory management are of two type
  • Paging
  • Segmentation
6. User Interface : The OS read the commands entered by the user interprets them and execute them by hardware. The command entry process is different in different user interface system. In UNIX system user interface system is provided through console (shell) and in Windows system the command entry is done by graphical elements like Menu, Toolbar, text boxes through the use of mouse and keyboard. 

7. Abnormal Program Termination :  When current executing program shows abnormal behaviors that may attempt to access the protected area of the system or tries to perform some malicious activities then the OS terminates the program immediately to prevent the system from failure. 

8. Event Logging : Operating System records all the events that happen in the computer system. It's very much useful for tracing the past records and troubleshoot (problem detection and correction) if something goes wrong. This is known as event log.


 

Comments

Popular posts from this blog

Introduction of Computer

.  A computer is an electronic device. It take input and store the data in memory and performing the function to produce accurate result in output device. It is used to type document, send email, play game, browse the web and entertainment.   Characteristics of computer  1 . High speed  Computer is very fast device. It is capable of performing calculation of very large amount of data. The computer has unit of speed in microsecond, nanosecond and even in picosecond. The computer is capable of performing millions of tasks per second. 2. Accuracy  The computer produces highly accurate and reliable result.  It does not make any kind of mistake in calculating. The calculation are 100% error free. The computers perform accurate 'n' number of times. 3. Storage capability A computer has much more storage capability. It can store large amount of data. It can store any type of data such as image, video, text document, audio and many more. 4. Diligence Diligence ...

Introduce Linux, UNIX and Linux distribution.

 . Linux Linux is an open source operating system. The term Linux is actually referred to mean a kernel of Unix like operating system developed by a Finish software architect Linus Torvald. The name Linux is derived from Linus' Unix. Linux was originated from the inspiration of a small Unix like operating system MINIX by A.S Tanenbum. Linux is a complete multiuser, multiprocessing, secure and stable operating system which is also considered as UNIX clone. However no code from the proprietary from AT and T is included in Unix. It has flavor of Unix but is not Unix. UNIX  UNIX is a layered operating system. The innermost layer is the hardware that provides the service for the OS. The operating system, referred to in UNIX as the kernel, interacts directly with the hardware and provides the services to the user program. These user programs don't need to know anything about the hardware. They just need to know how to interact with the kernel and it's up to the kernel to provide ...

Open System Interconnect (OSI) Reference Model

 . Open system interconnection (OSI) Model explains how packet travels through various layers to other devices on a network, even if the sender and destination have different types of network media. Layer 1(Physical layer):  Function  To activate, maintain, deactivate the physical connection.  To define voltage and data rates needed for transmission.  To convert the digital bits into electrical signals.  To decide weather the transmission the transmission is simplex, half or full duplex.  Physical layer doesn’t perform the detection and correction of errors. Layer 2 (Datalink layer):  Framing (stream of bits into manageable data units):  The datalink layer divides the stream of bits received from the network layer into frame manageable data units called frames.  Physical addressing (MAC Address):  Data link layer adds a header to header to the frame to define the sender and receiver of the frame. Flow Control (mechanism for overwhel...