

{"id":93943,"date":"2021-05-22T09:00:43","date_gmt":"2021-05-22T03:30:43","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=93943"},"modified":"2021-05-08T10:25:18","modified_gmt":"2021-05-08T04:55:18","slug":"operating-system-tutorial","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/","title":{"rendered":"Basics of Operating System"},"content":{"rendered":"<h3>What is an Operating System?<\/h3>\n<p><span style=\"font-weight: 400;\">An interface connecting the users to the computer hardware is an operating system. It is responsible for everything, from program execution to system management. It runs on all sorts of devices but the company may change according to the manufacturer and the user. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The hardware and the software coordinate with the operating system to manage all the processes on the computer. It is the medium allowing you to interact with the computer without understanding the computer&#8217;s language.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This makes the OS very <\/span><b>convenient <\/b><span style=\"font-weight: 400;\">for the user. There is <\/span><b>efficiency <\/b><span style=\"font-weight: 400;\">as there is the proper usage of all system resources and the OS also can<\/span><b> evolve<\/b><span style=\"font-weight: 400;\"> in terms of functions and services. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The basic purpose of the os is to &#8211; control allocation and use of computing resources between multiple tasks, and become an interface between the hardware and programmer to simplify tasks like coding, debugging, etc.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The operating system is present in the primary hard drive of the computer. Users can also install it from an external hard drive, disc drive, etc. Computers earlier had multiple floppy diskettes for an operating system. While the system has multiple important functions, there are 3 three essential utilities.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The first one is to provide a user interface in CLI or GUI format. Then it is responsible for managing and launching all the application execution. Lastly, using standardized API, makes hardware resources available to all the applications. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">User Interface is the main component of this system where users and the admin interact. The operating system as User Interface \u2013\u00a0<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">User<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">System and application programs<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Operating system<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Hardware<\/span><\/li>\n<\/ol>\n<h3>History of Operating system<\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The idea of the first operating systems came in the 1950s to manage tape storage.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The first system was by General Motors Research Lab that came out in the 1950s for IBM 701.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It began using disks in the mid-1960s.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The first version of the Unix OS came out in the 1960s.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Microsoft&#8217;s OS came out in 1981 by purchasing the 86-DOS.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Windows came in 1985 as graphical user interfaces became relevant.<\/span><\/li>\n<\/ul>\n<h3>Features of Operating System<\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Protected and supervisor mode<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Allows disk access and file systems\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Device drivers\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Networking Security<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Program Execution<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Virtual Memory\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Handling I\/O operations<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Manipulation of the file system<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Resource allocation<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Information and Resource Protection<\/span><\/li>\n<\/ul>\n<h3>Properties of Operating System<\/h3>\n<h4>1. Batch processing OS<\/h4>\n<p>It is a technique of clubbing together the data before processing begins. It defines the commands, programs and data that comes with an existing sequence.<\/p>\n<p>This keeps the job inside the memory and executes them without any manual but on the first come first serve basis. Then it sends the output for printing and processing.<\/p>\n<p><strong>Advantages<br \/>\n<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Saves the operator\u2019s time by taking up work load.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">No manual intervention allows better performance.<\/span><\/li>\n<\/ul>\n<p><strong>Disadvantages<br \/>\n<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Hard to debug program.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Chances of entering an infinite loop.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Lack of protection scheme.<\/span><\/li>\n<\/ul>\n<h4>2. Multitasking Operating System<\/h4>\n<p>It is a situation when the CPU switches between multitasks and executes them. The user instructs the system and then receives an instant response. Time-sharing systems is another name for this function.<\/p>\n<p>This was made to provide an interactive interface at a reasonable cost. The CPU follows scheduling to manage all the tasks.<\/p>\n<p>Every user gets an individual memory in the program which then executes as a process. This execution is time consuming and in the meantime CPU moves on to the next task. Users share the CPU all the time but never realise it because of strong scheduling in place.<\/p>\n<h4>3. Multiprogramming OS<\/h4>\n<p>The processor gives space to many programs at one time in the memory. This idea is known as multiprogramming. It increases the efficiency of the CPU by organising jobs properly. The jobs under the subset go into the job pool.<\/p>\n<p>The OS picks them from here and executes them one by one. It ensures that the CPU is always working by managing all active programs and resources.<\/p>\n<p><strong>Advantages<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Increases CPU efficiency.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Gives an impression that the CPU works simultaneously.<\/span><\/li>\n<\/ul>\n<p><strong>Disadvantages<br \/>\n<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Requires CPU scheduling.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Requires memory management.\u00a0<\/span><\/li>\n<\/ul>\n<h4>4. Interactivity<\/h4>\n<p><span style=\"font-weight: 400;\">The users can interact with the computer system because of the operating system. It ensures that &#8211;<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">There is an interface for the users to interact.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Takes input from the users like through the keyboard.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Shows output to the user like on the monitor.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Keeps the response time short as the user submits and waits for the results\u00a0<\/span><\/li>\n<\/ul>\n<h4>5. Real-Time System<\/h4>\n<p>It is an embedded system that reads and reacts to sensor data. It guarantees a response in a particular time to give out the best performance.<\/p>\n<h4>6. Distributed Environment<\/h4>\n<p>There are multiple CPUs in computer systems creating a distributed environment. The os distributed the logic to all these processors. They have their own memory and communicate the signals via the operating system.<\/p>\n<h4>7. Spooling<\/h4>\n<p>Simultaneous peripheral operations on line is the full form of spool. It is an act of allotting input\/output jobs in a buffer. This is because all devices have different data access rates in the computer system. There is a spooling buffer too where data rests while the device catches up.<\/p>\n<p>There is a parallel computation where computing tasks are possible at all times. This works because it uses a disk as a very large buffer and allows overlapping of operations with the processor.<\/p>\n<h3>Functions of an Operating System<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-94006\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System.jpg\" alt=\"Functions of an Operating System\" width=\"1050\" height=\"650\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System.jpg 1050w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System-300x186.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System-1024x634.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System-150x93.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System-768x475.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System-720x446.jpg 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System-520x322.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Functions-of-an-Operating-System-320x198.jpg 320w\" sizes=\"auto, (max-width: 1050px) 100vw, 1050px\" \/><\/a><\/p>\n<h4>1. Memory Management<\/h4>\n<p>Managing the main and temporary memory of the computer system refers to memory management. The primary memory has large files which have their address. There is fast storage and direct CPU access. The OS keeps a track of the memory in every way.<\/p>\n<p>It ensures multiprogramming and decides space for every program. It takes care of the allocation and deallocation of memory processes according to a user request.<\/p>\n<h4>2. Processor Management<\/h4>\n<p>The OS takes a call about time for each process in a processor. This is process scheduling that is being responsible for traffic control. It takes care of the allocation and deallocation of processors according to the process.<\/p>\n<h4>3. Device Management<\/h4>\n<p>The OS communicates via its respective drivers and keeps a track of all the devices. It is the I\/O controller and ensures that they all work efficiently. It decides which process gets what device at what time. This also allocates and deallocates devices.<\/p>\n<h4>4. File Management<\/h4>\n<p>Apart from navigating and using the directories, the OS collectively takes care of the file systems. Which files get the maximum resources, allocation of resources, and deallocations of the same are some of its functions.<\/p>\n<h4>5. Security<\/h4>\n<p>It takes care that the system is always safe by having passwords and other measures. This prevents other people from accessing programs and data without authorization.<\/p>\n<h4>6. Control over system performance<\/h4>\n<p>It controls the system by recording all sorts of delays in the program and seeing how the efficiency can improve.<\/p>\n<h4>7. Job accounting<\/h4>\n<p>It maintains a record of time and resources that the users can access via different requests and jobs.<\/p>\n<h4>8. Error detecting aids<\/h4>\n<p>It is responsible for producing dumps, traces, error messages, and other things for the smooth functioning of the system.<\/p>\n<h4>9. Coordination between other software and users<\/h4>\n<p>It coordinates with the software and the users to create a balance between them.<\/p>\n<h4>10. Communication management<\/h4>\n<p>It manages the communication between the hardware and the software resources like compilers, interpreters, etc.<\/p>\n<h4>11. Command interpretation<\/h4>\n<p>It takes in all the requests by the users in form of command and further interprets them to get things done.<\/p>\n<h4>12. Networking<\/h4>\n<p>The processors create a distributed system where they share memory and devices. The operating system allows these processors to communicate with each other.<\/p>\n<h4>13. Secondary-Storage Management<\/h4>\n<p>There are many memory stages that are present inside the computer and the operating system takes care of all of them. This includes the primary, the secondary and the cache memory.<\/p>\n<h3>Architecture of an Operating System<\/h3>\n<p>The terminal mode computer has a text-based interface where all communication is by using traditional keyboards. But now the graphical interface allows users to use gestures via touchscreen, voice commands, etc to communicate.<\/p>\n<p>GUI is more user-friendly as it allows data manipulation but CLI is more popular among the advanced users for sending regular commands that are highly granular. It takes care of application management as well as supporting processes, thread, and many other tasks.<\/p>\n<p>This is one of the functions of the OS as mentioned above. It also enables applications and hardware to connect and utilize the system.<\/p>\n<h3>Types of Operating System<\/h3>\n<h4>1. Batch operating system<\/h4>\n<p><span style=\"font-weight: 400;\">This type of operating system does not have direct contact with the computer regularly. The users have the punch cards that they submit to the operator offline. This is to increase the speed as a batch of similar needs runs as a group. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The operator sorts the programs into batches with similar requirements. This type of system doesn&#8217;t work because &#8211;\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">No communication between the user and the job<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The CPU is often idle because mechanical devices are slower.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Prioritizing the tasks is tough\u00a0<\/span><\/li>\n<\/ul>\n<h4>2. Time-sharing operating systems<\/h4>\n<p>As the name suggests, many users from different locations can use the same computer system at the same time. It is a logical extension of multiprogramming where the processor&#8217;s time is divided.<\/p>\n<p>It is not the same as multi programmed batch systems and the idea is to minimize response time. CPU switches multiple times allowing the user to receive an immediate response.<\/p>\n<p><strong>Advantages<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">There is a quick response.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Fewer chances of software duplication\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Reduces processor idle time<\/span><\/li>\n<\/ul>\n<p><strong>Disadvantages<br \/>\n<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Less Reliable<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Low security and integrity\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Issue of data communication<\/span><\/li>\n<\/ul>\n<h4>3. Distributed Operating System<\/h4>\n<p><span style=\"font-weight: 400;\">This type of operating system allows multiple real-time applications and users to use the system together. The job to process data is divided equally among the processors. There is communication by high-speed lines making up the entire distributed system. It works because &#8211;\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">There is a resource sharing facility<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Faster exchange of data via electronic mail<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Failing of one site doesn&#8217;t affect others<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Better customer service\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Less load on the host computer<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Fewer delays in the data processing<\/span><\/li>\n<\/ul>\n<h4>4. Network Operating System<\/h4>\n<p><span style=\"font-weight: 400;\">This type of operating system has servers to manage all the information, users, and all other elements. This is mainly useful for sharing file and printer access among multiple computers of the same network. Microsoft and Linux are examples of this system only. This network works because &#8211;<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Highly stable<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The server manages the security\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Regular upgrades and easy integration<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Remote access to servers\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">But at the same time, it is costly and centrally dependent. It also requires regular maintenance and updates.\u00a0<\/span><\/p>\n<h4>5. Real-Time Operating System<\/h4>\n<p>This is an operating system that allows data processing in very little time. This is present in places where there are rigid time requirements for the operation.<\/p>\n<p>It needs to cope up with the fixed time constraints or the system will fail. This is mostly found in medical imaging systems, industrial control systems, etc. It is of two types &#8211;<\/p>\n<p><strong>a. Hard real-time systems<br \/>\n<\/strong><\/p>\n<p>This guarantees completing tasks in the exact time. It has limited secondary storage and the data is in ROM. They mostly don&#8217;t have virtual memory.<\/p>\n<p><strong>b. Soft real-time systems<\/strong><\/p>\n<p>There are fewer restrictions here and priority tasks get done before. There is limited utility but projects like virtual reality, undersea exploration, etc. use this system frequently.<\/p>\n<h3>Examples of Operating System<\/h3>\n<h4>1. Android<\/h4>\n<p>An operating system for smartphones and tablets, it is the most popular system in the world today. This is an operating system for mobile devices and has features specifically designed for it.<\/p>\n<h4>2. Microsoft Windows<\/h4>\n<p>This came out in the 1980s and has multiple versions as of now. Windows 10, Windows 8, Windows 7, and Windows Vista are some of the most popular versions. Windows comes inbuilt in most PCs, becoming the most popular operating system in the world.<\/p>\n<h4>3. Mac OS<\/h4>\n<p>The Apple operating system comes inbuilt in all Macintosh computers. Mojave, High Sierra, and Sierra are some of the most popular versions. It has only 10% of the market share due to higher cost. The iPhone also uses this operating system for functioning.<\/p>\n<h4>4. Linux<\/h4>\n<p>Linux is an open-source operating system and only manufacturers can modify this system. It is free software and has many versions to choose from. It has a very low market share but many prefer it because it is easy to customize.<\/p>\n<h4>Other operating systems<\/h4>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">AIX and AIXL<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">AmigaOS<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">BSD<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">CP\/M<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Unix<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">DYNIX\/pix<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Fuchsia<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Goobuntu<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">HP-UX<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">IRIX<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">ISIS<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">MINIX<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">MS-DOS<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">NEXTSTEP<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">OS\/2<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">OSF\/1<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">OxygenOS<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">SCO<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Sun Solaris<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Symbian<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">System 7<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">System V<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Tru64 Unix<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ultrix<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Unisys<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Unix<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">UnixWare<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">WatchOS<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Xenix<\/span><\/li>\n<\/ol>\n<h3>Task of an Operating System<\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Creates, modifies, and edits data using an editor.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Uses a compiler for translating the user program from high-level to machine language.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Moves compiled program code to the computer\u2019s memory for execution.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ensure a proper routine for handling the I\/O programming.<\/span><\/li>\n<\/ul>\n<h3>I\/O System Management<\/h3>\n<p>As one of the functions, os also takes care of I\/O traffic control. This includes memory management, driver interface, and specific hardware devices.<\/p>\n<h4>1. Assembler<\/h4>\n<p>It is a language program with input being an assembly and output being an object. The programmer has a basic interpretation machine that uses hardware for fundamental instructions. It uses machine language to get machine memory in place.<\/p>\n<h4>2. Compiler<\/h4>\n<p>They take care of high-level languages by accepting the source program and producing a corresponding object program. An interpreter is a program responsible for executing a source program. FORTRAN, COBOL, etc. may designate to a compiler and its associated language.<\/p>\n<h4>3. Loader<\/h4>\n<p>It is responsible for loading the program and executing it. Absolute, relocating, and direct-linking are some of the loading schemes. The assembler outputs the program to the device and the loader executes it. This is a smaller program compared to the assembler.<\/p>\n<h3>Advantage of using Operating System<\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Can hide hardware details by an abstraction.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Easy because of the graphical user interface.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Allows users to execute programs\/applications.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Makes the computer system convenient.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Makes use of resources in an easy format.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Coordinates between all hardware and software devices.<\/span><\/li>\n<\/ul>\n<h3>Disadvantages of using Operating System<\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Users can lose all content in case of any glitch.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It is hard for small firms to afford operating system software.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Accessible to hackers thus security is never a guarantee.<\/span><\/li>\n<\/ul>\n<h3>Difference between Firmware and Operating System<\/h3>\n<table>\n<tbody>\n<tr>\n<td><b>Firmware<\/b><\/td>\n<td><b>Operating System<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">It&#8217;s programming that controls that specific device.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Ensures functionality above provided by the firmware.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Only manufacturers can make it and no changes are done after that.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The users install it and can easily change it.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Present in non-volatile memory<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Present in the hard drive<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Conclusion<\/h3>\n<p>The operating system is what allows us to access computers every day without any problem. The ways it functions and manages all the tasks, interface of the device keeps on improving. There are many such systems available in the world and we should know about them.<\/p>\n<p>The exams like RRB, Insurance, Bank, etc have computer aptitude as one of the sections in the paper. This is where topics like the operating system will go. All the applicants must make use of the resources and prepare well for these exams.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is an Operating System? An interface connecting the users to the computer hardware is an operating system. It is responsible for everything, from program execution to system management. It runs on all sorts&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":94005,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24027],"tags":[24248,20726,24247],"class_list":["post-93943","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-basics-tutorials","tag-basics-of-operating-system","tag-operating-system","tag-operating-system-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Basics of Operating System - DataFlair<\/title>\n<meta name=\"description\" content=\"Operating system is a set of special programs that run on a computer system that allows it to work properly. Learn more about basics of OS.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Basics of Operating System - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Operating system is a set of special programs that run on a computer system that allows it to work properly. Learn more about basics of OS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-22T03:30:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Operating-System.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Basics of Operating System - DataFlair","description":"Operating system is a set of special programs that run on a computer system that allows it to work properly. Learn more about basics of OS.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"Basics of Operating System - DataFlair","og_description":"Operating system is a set of special programs that run on a computer system that allows it to work properly. Learn more about basics of OS.","og_url":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-05-22T03:30:43+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Operating-System.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"Basics of Operating System","datePublished":"2021-05-22T03:30:43+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/"},"wordCount":2490,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Operating-System.jpg","keywords":["basics of Operating System","operating system","Operating System tutorial"],"articleSection":["Computer Basics Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/","url":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/","name":"Basics of Operating System - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Operating-System.jpg","datePublished":"2021-05-22T03:30:43+00:00","description":"Operating system is a set of special programs that run on a computer system that allows it to work properly. Learn more about basics of OS.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Operating-System.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/05\/Operating-System.jpg","width":1200,"height":628,"caption":"Basics of Operating System"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/operating-system-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Computer Basics Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/computer-basics-tutorials\/"},{"@type":"ListItem","position":3,"name":"Basics of Operating System"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/93943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=93943"}],"version-history":[{"count":2,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/93943\/revisions"}],"predecessor-version":[{"id":94007,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/93943\/revisions\/94007"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/94005"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=93943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=93943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=93943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}