{"id":85051,"date":"2021-09-20T09:00:25","date_gmt":"2021-09-20T03:30:25","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=85051"},"modified":"2021-09-20T09:00:25","modified_gmt":"2021-09-20T03:30:25","slug":"what-is-operating-system-introduction-to-os","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/","title":{"rendered":"What is Operating System &#8211; Introduction to OS"},"content":{"rendered":"<p>An operating system links the user and the computer system. Programs can\u2019t run without the presence of an Operating System. It is the only program running on the computer, others being application programs.<\/p>\n<p>An OS acts as a resource manager and allocates and coordinates resources to specific programs and users, when necessary. Some of these resources are processor, memory, files, and I\/O devices. Some of the popular OSs are Linux OS, Windows OS, VMS, OS\/400, AIX, z\/OS, etc. It controls the execution of all kinds of programs in a system.<\/p>\n<h3>Views of an OS<\/h3>\n<p>Following are the two views of an OS:<\/p>\n<p><strong>User View:<\/strong> This is the interface that is in use and is designed for a single user. This allows a user to monopolize system resources to the maximum. It provides ease of use, with little performance, and very poor resource utilization.<\/p>\n<p><strong>System View:<\/strong> This provides the view of an OS as a resource allocator. The OS manages resources efficiently, decides between conflicting requests, controls program execution, and many more.<\/p>\n<h3>Functions of Operating System<\/h3>\n<p>Following are the functions of an OS:<\/p>\n<ul>\n<li>Boots the computer<\/li>\n<li>Performs basic computer tasks like managing peripheral devices, etc\u2026<\/li>\n<li>Provides user interface.<\/li>\n<li>Efficient management of system resources.<\/li>\n<li>Performs file management i.e, manipulating, storing, retrieving, and saving data.<\/li>\n<li>It performs error handling.<\/li>\n<\/ul>\n<h3>Services of an Operating System<\/h3>\n<p>Following are the functions of an OS:<\/p>\n<ul>\n<li><strong>Memory Management:<\/strong> Management of Primary Memory<\/li>\n<li><strong>Processor Management<\/strong>: Decides which process gets the CPU when and for how long.<\/li>\n<li><strong>Storage Management<\/strong>: It handles storage allocation and manages hard disks.<\/li>\n<li><strong>Device Management<\/strong>: Manages device communication through their device drivers.<\/li>\n<li><strong>File Management<\/strong>: Manages and keeps track of files and directories in the system.<\/li>\n<li><strong>Security<\/strong>: Prevents unauthorised access<\/li>\n<li>Control over system performance: Increases response time and decreases delays in system calls<\/li>\n<li><strong>Job accounting<\/strong>: Keeps track of time and resources used by tasks and users.<\/li>\n<li>Error detecting aids: Error detection and debugging<\/li>\n<li>Coordination between software and users: Coordinates and assigns compilers, interpreters, assemblers, etc.<\/li>\n<\/ul>\n<h3>Features of Operating System<\/h3>\n<p>Following are the features of a good OS:<\/p>\n<ul>\n<li>Make computers convenient to use.<\/li>\n<li>Helps use resources efficiently.<\/li>\n<li>It evolves over time and allows the introduction of new functions without interfering with services.<\/li>\n<li>It should give maximum throughput.<\/li>\n<\/ul>\n<h3>Properties of Operating System<\/h3>\n<p>Following are some important properties of an OS:<\/p>\n<ul>\n<li><strong>Batch processing<\/strong>: Processes jobs in batches.<\/li>\n<li><strong>Multitasking<\/strong>: Executes multiple tasks simultaneously.<\/li>\n<li><strong>Multiprogramming<\/strong>: Executes processes parallely on the same processor.<\/li>\n<li><strong>Distributive environment<\/strong>: Multiple independent processors come together to form a distributive environment.<\/li>\n<li><strong>Interactivity<\/strong>: Helps a user interact with a system.<\/li>\n<li><strong>Real-Time system<\/strong>: Dedicated embedded systems are called real-time systems.<\/li>\n<li><strong>Spooling<\/strong>: It pushes data of various I\/O jobs in a buffer or disk.<\/li>\n<\/ul>\n<h3>Purpose of an OS<\/h3>\n<p>Following are the two purposes of an OS:<\/p>\n<p>1. Allocates processes and handles system resources along with various users and tasks.<\/p>\n<p>2. Provides an interface between the computer hardware and the programmer further simplifying the creation, coding, and debugging of programs.<\/p>\n<h3>History of Operating System<\/h3>\n<table style=\"height: 306px\" width=\"656\">\n<tbody>\n<tr>\n<td><b>Generation Year<\/b><\/td>\n<td><b>Electronic Device<\/b><\/td>\n<td><b>Types of OS<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">1945 &#8211; 1955<\/span><\/td>\n<td><span style=\"font-weight: 400\">Vacuum Tubes<\/span><\/td>\n<td><span style=\"font-weight: 400\">Plug Boards<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">1955 &#8211; 1965<\/span><\/td>\n<td><span style=\"font-weight: 400\">Transistors<\/span><\/td>\n<td><span style=\"font-weight: 400\">Batch Systems<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">1965 &#8211; 1980<\/span><\/td>\n<td><span style=\"font-weight: 400\">Integrated Circuits (IC)<\/span><\/td>\n<td><span style=\"font-weight: 400\">Multiprogramming<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">1980 &#8211; Present<\/span><\/td>\n<td><span style=\"font-weight: 400\">Large Scale Integration<\/span><\/td>\n<td><span style=\"font-weight: 400\">PC<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Types of Operating Systems<\/h3>\n<p>Following are some common types of operating systems:<\/p>\n<p>1. <strong>Batch Operating System:<\/strong> Executes jobs in batches without manual interventions.<\/p>\n<p>2. <strong>Time-sharing operating System<\/strong>: Multiple users share computer resources and ensure maximum utilization of resources.<\/p>\n<p>3. <strong>Distributed operating System<\/strong>: Manages different computers and makes them appear to be a single system.<\/p>\n<p>4. <strong>Network operating system<\/strong>: Connects computers running on different OSs through a common network.<\/p>\n<p>5. <strong>Real-time operating system<\/strong>: For applications with fixed deadlines or tight response time.<\/p>\n<h3>Process Scheduling<\/h3>\n<p>A process is a program being executed by an OS. Process scheduling is the process of scheduling a process into different states like ready, waiting, and running. There are two categories of scheduling: preemptive and non-preemptive.<\/p>\n<h3>Scheduling Algorithms<\/h3>\n<p>A scheduling algorithm schedules processes on the processor. Following are some popular process scheduling algorithms:<\/p>\n<p>1. First-Come, First-Served (FCFS) Scheduling<\/p>\n<p>2. Shortest-Job-Next (SJN) Scheduling<\/p>\n<p>3. Priority Scheduling<\/p>\n<p>4. Shortest Remaining Time<\/p>\n<p>5. Round Robin(RR) Scheduling<\/p>\n<p>6. Multiple-Level Queues Scheduling<\/p>\n<p>7. Multilevel Feedback Queues Scheduling<\/p>\n<p>8. Highest Response Ratio Next<\/p>\n<h3>Advantages of an Operating System<\/h3>\n<p>Following are the advantages of an OS:<\/p>\n<ul>\n<li>Helps improve system efficiency and reduces complexity.<\/li>\n<li>Every component is independent of the other. Thus, the failure of one doesn\u2019t affect the other.<\/li>\n<li>Acts as an interface between the hardware and the software.<\/li>\n<li>Easy access to hardware without writing large programs.<\/li>\n<li>Users can share data easily with multiple users.<\/li>\n<li>Installation of applications becomes easier.<\/li>\n<li>Can be updated and refreshed frequently and easily.<\/li>\n<li>Many OSs are open source i.e., free to use.<\/li>\n<li>Hides hardware complexity.<\/li>\n<li>Makes programming and multitasking easier.<\/li>\n<\/ul>\n<h3>Disadvantages of Operating System<\/h3>\n<p>Following are the disadvantages of an OS:<\/p>\n<ul>\n<li>Though some OSs are open-source some are expensive too. Usually, OSs with GUI functionality and other in-built features are quite expensive.<\/li>\n<li>Most times OSs are open to virus attacks. Sometimes a user might download malicious software packages affecting the functioning and speed of the OS.<\/li>\n<li>Most OSs are complex in nature as the language in which they are established isn\u2019t clear and well defined. This makes it difficult for a user to resolve an issue.<\/li>\n<li>If the OS crashes, the whole system will crash.<\/li>\n<\/ul>\n<h3>Summary<\/h3>\n<p>An OS doesn\u2019t exactly perform any useful function but provides an environment within the system so that programs can do useful work. There are two views of an OS: User view and System view. Process scheduling is the process of scheduling a process into different states. A scheduling algorithm schedules processes on the processor.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An operating system links the user and the computer system. Programs can\u2019t run without the presence of an Operating System. It is the only program running on the computer, others being application programs. An&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":85052,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3891],"tags":[4326,4327,4328,4329,3892,4330,4052,4331],"class_list":["post-85051","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-operating-system-tutorials","tag-advantages-of-operating-system","tag-disadvantages-of-operating-system","tag-features-of-operating-system","tag-history-of-operating-system","tag-properties-of-operating-system","tag-scheduling-algorithms","tag-types-of-operating-system","tag-what-is-operating-system"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is Operating System - Introduction to OS - TechVidvan<\/title>\n<meta name=\"description\" content=\"Learn what is Operating System, its purpose, features, advantages and limitations, history, properties, types, Scheduling Algorithms,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Operating System - Introduction to OS - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Learn what is Operating System, its purpose, features, advantages and limitations, history, properties, types, Scheduling Algorithms,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-20T03:30:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/09\/introduction_to_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=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Operating System - Introduction to OS - TechVidvan","description":"Learn what is Operating System, its purpose, features, advantages and limitations, history, properties, types, Scheduling Algorithms,","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:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/","og_locale":"en_US","og_type":"article","og_title":"What is Operating System - Introduction to OS - TechVidvan","og_description":"Learn what is Operating System, its purpose, features, advantages and limitations, history, properties, types, Scheduling Algorithms,","og_url":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2021-09-20T03:30:25+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/09\/introduction_to_operating_system.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"What is Operating System &#8211; Introduction to OS","datePublished":"2021-09-20T03:30:25+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/"},"wordCount":932,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/09\/introduction_to_operating_system.jpg","keywords":["Advantages of Operating System","Disadvantages of Operating System","Features of Operating System","History of Operating System","Properties of Operating System","Scheduling Algorithms","Types of Operating System","What is Operating System"],"articleSection":["Operating System Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/","url":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/","name":"What is Operating System - Introduction to OS - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/09\/introduction_to_operating_system.jpg","datePublished":"2021-09-20T03:30:25+00:00","description":"Learn what is Operating System, its purpose, features, advantages and limitations, history, properties, types, Scheduling Algorithms,","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/09\/introduction_to_operating_system.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/09\/introduction_to_operating_system.jpg","width":1200,"height":628,"caption":"Introduction To Operating System"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/what-is-operating-system-introduction-to-os\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"What is Operating System &#8211; Introduction to OS"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/85051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=85051"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/85051\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/85052"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=85051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=85051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=85051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}