DEV Community

Cover image for Operating Systems?
Huldas96
Huldas96

Posted on

Operating Systems?

Yes of course! Operating systems!

Computers are used for so many different things; playing videogames, watching videos, running calculations, communicating, editing photos, collaborating and so much more. Computers these days are a mix of different kinds of hardware and software but one program brings that all together; the operating system!

An Operating System (OS) is a collection of software that manages computer hardware and provides services for programs. Specifically, it hides hardware complexity, manages computational resources, and provides isolation and protection. Most importantly, it directly has privilege access to the underlying hardware.

The different components of an operating system enable it to perform its duty of enabling the different parts of a computer to work together. Let’s take a look at what each of these components does.

Kernel
The kernel forms part of the building blocks to the work of an operating system. It helps in managing the hardware devices in the computer by determining the hardware resources that will get access to different programs. By doing this, it ensures that the CPU is operating optimally at all times.

Process Management
There are very many programs running on a computer at any one time. From background applications to the programs that users are actively interacting with, there are hundreds of processes taking place in a computer during normal use. Since all modern operating systems allow multi-tasking, it is the operating system’s duty to distribute the available resources among all the active processes.

Memory Management
There are several types on memory on a modern computer. They include CPU cache, RAM and disk storage. The operating system has a memory manager that tracks the amount of each memory that’s available and manages the movement of data between them. This ensures that the highest amount of available memory for each process so as to increase speed of execution. The operating system also ensures that whenever two or more processes are in memory at the same time, virtual memory addresses are allocated to each process to ensure that no process interferes with another’s memory.

Security
Since the operating system is in charge of directly or indirectly controlling computing resources, it should be able to distinguish between the requests that should be allowed and those that shouldn’t. This includes internal requests from within the computer as well as external requests from other computers within the network. They also offer auditing options to tell the users that have accessed different files and any changes that may have been made

Networking
Networking basically enables operating systems to share resources using different types of connections. The most common networking protocol is the TCP/IP protocol.

File Systems and Disk Access
Controlling access to data stored on the different disks in computers is a primary feature of operating systems. The operating system ensures that files are stored in a manner that allows quick access and the highest possible reliability. In addition, they also help make good use of the available space on the disk. The file system is the manner in which files are stored on a disk. It gives names and attributes to files and also ensures that the files are arranged neatly in directories.

Top comments (1)

Collapse
 
banzyme2 profile image
ENDEESA

Nice article!