<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":1117,"date":"2021-07-20T08:51:14","date_gmt":"2021-07-20T08:51:14","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=1117"},"modified":"2021-09-08T12:06:42","modified_gmt":"2021-09-08T12:06:42","slug":"what-is-scheduling","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/","title":{"rendered":"What is Scheduling ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"what-is-scheduling\" class=\"color-purple\" style=\"text-align: justify;\">What is Scheduling ?<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Scheduling is an essential part of a Multiprogramming operating systems.<\/li>\n<li>Such operating systems allow more than one process to be loaded into the executable memory at a given time and the loaded process shares from the CPU using time multiplexing.<\/li>\n<li>The Operating System maintains the following important process scheduling queues \u2212\n<ul>\n<li>Job queue \u2212 This queue preserves all the processes in the system.<\/li>\n<li>Ready queue \u2212 This queue keeps a set of all processes residing in main memory, ready and waiting to execute. A new process is always placed in this queue.<\/li>\n<li>Device queues \u2212 The processes which are blocked due to inaccessibility of an I\/O device establish this queue.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"ImageContent\" style=\"text-align: justify;\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling.jpg\" alt=\" Scheduling\" \/><\/div>\n<\/div>\n<p style=\"text-align: justify;\" align=\"center\">What is Scheduling<\/p>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>The OS can use different procedures to manage each queue (FIFO, Round Robin, Priority, etc.).<\/li>\n<li>The OS scheduler determines how to move from processes between the ready and run queues which can only have one entry per processor core on the system; in the above diagram, it has been combined with the CPU.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"schedulers-are-of-three-types\" class=\"color-purple\">Schedulers are of three types:<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Long-Term Scheduler<\/li>\n<li>Short-Term Scheduler<\/li>\n<li>Medium-Term Scheduler<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"long-term-scheduler\" class=\"color-purple\">Long Term Scheduler:<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>It is also called a job scheduler.<\/li>\n<li>It selects processes from the queue and loads into memory for execution.<\/li>\n<li>The long-term scheduler may not be accessible or minimal.<\/li>\n<li>No long-term scheduler in the time-sharing operating systems.<\/li>\n<li>Use of long-term scheduler when a process changes the state from new to ready.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"short-term-scheduler\" class=\"color-purple\">Short Term Scheduler:<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Short term scheduler is also known as CPU scheduler.<\/li>\n<li>It is used to improve system performance.<\/li>\n<li>It is change from ready state to running state of the process.<\/li>\n<li>Short term scheduler is faster than compared to long term scheduler.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"medium-term-scheduler\" class=\"color-purple\">Medium Term Scheduler:<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\">\n<div class=\"hddn\">\n<ul>\n<li style=\"text-align: justify;\">Medium-term scheduling is a part of swapping.<\/li>\n<li style=\"text-align: justify;\">Medium Term Scheduler has removed the processes from the memory.<\/li>\n<li style=\"text-align: justify;\">To remove the process from memory and make space to the other processes, the postponed process is moved to the secondary storage.<\/li>\n<li style=\"text-align: justify;\">This process is called swapping.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer : Scheduling is an essential part of a Multiprogramming operating systems&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[7762],"tags":[195,201,491,360,5937,15899,368,203,199,214,7877,209,7874,7894,7882,7876,205,7870,7889,7886,7872,7868,222,484,362,196,212,213,207,366,7893,361,204,7888,7887,7890,7875,7880,7879,7869,7799,367,7892,206,7881,7884,7883,7867,7885,7871,7873,7891,975,200,7865,7866,197,280,364,7878,7864],"class_list":["post-1117","post","type-post","status-publish","format-standard","hentry","category-operating-system","tag-accenture-interview-questions-and-answers","tag-allstate-solutions-pvt-ltd-interview-questions-and-answers","tag-applied-materials-interview-questions-and-answers","tag-atos-interview-questions-and-answers","tag-aveva-software-interview-questions-and-answers","tag-barracuda-networks-interview-questions-and-answers","tag-bmc-software-interview-questions-and-answers","tag-capgemini-interview-questions-and-answers","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-cheduling-in-os","tag-collabera-technologies-interview-questions-and-answers","tag-cpu-scheduling","tag-cpu-scheduling-algorithm-in-os","tag-cpu-scheduling-algorithms","tag-cpu-scheduling-in-operating-systems","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-describe-the-differences-among-short-term-medium-term-and-long-term-scheduling","tag-disk-scheduling","tag-disk-scheduling-in-operating-system","tag-fcfs-scheduling","tag-fifo-scheduling","tag-flipkart-interview-questions-and-answers","tag-genpact-interview-questions-and-answers","tag-hcl-technologies-interview-questions-and-answers","tag-ibm-interview-questions-and-answers","tag-indecomm-global-services-interview-questions-and-answers","tag-infosys-technologies-interview-questions-and-answers","tag-mphasis-interview-questions-and-answers","tag-netapp-interview-questions-and-answers","tag-online-scheduling-system","tag-opentext-technologies-interview-questions-and-answers","tag-oracle-corporation-interview-questions-and-answers","tag-preemptive-and-nonpreemptive-scheduling","tag-preemptive-scheduling","tag-priority-scheduling","tag-process-scheduling","tag-process-scheduling-algorithms","tag-process-scheduling-in-operating-system","tag-production-scheduling-techniques","tag-prokarma-sof-interview-questions-and-answers","tag-rbs-india-development-centre-pvt-ltd-interview-questions-and-answers","tag-real-time-scheduling-in-operating-system","tag-sap-labs-india-pvt-ltd-interview-questions-and-answers","tag-scheduling-algorithms","tag-scheduling-algorithms-in-operating-system","tag-scheduling-algorithms-in-os","tag-scheduling-criteria","tag-scheduling-criteria-in-operating-system","tag-scheduling-criteria-in-os","tag-scheduling-in-operating-system","tag-scheduling-system","tag-tata-consultancy-service-interview-questions-and-answers","tag-tech-mahindra-interview-questions-and-answers","tag-types-of-scheduling-algorithms","tag-types-of-scheduling-in-operations-management","tag-unitedhealth-group-interview-questions-and-answers","tag-virtusa-consulting-services-pvt-ltd-interview-questions-and-answers","tag-wells-fargo-interview-questions-and-answers","tag-what-is-schedule","tag-what-is-scheduling-in-os"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Scheduling ? - Operating System Interview Questions<\/title>\n<meta name=\"description\" content=\"What is Scheduling ? - Scheduling is an essential part of a Multiprogramming operating systems. Such operating systems allow more than one process to be loaded\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Scheduling ? - Operating System Interview Questions\" \/>\n<meta property=\"og:description\" content=\"What is Scheduling ? - Scheduling is an essential part of a Multiprogramming operating systems. Such operating systems allow more than one process to be loaded\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-20T08:51:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-08T12:06:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling.jpg\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/\",\"name\":\"What is Scheduling ? - Operating System Interview Questions\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling.jpg\",\"datePublished\":\"2021-07-20T08:51:14+00:00\",\"dateModified\":\"2021-09-08T12:06:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is Scheduling ? - Scheduling is an essential part of a Multiprogramming operating systems. Such operating systems allow more than one process to be loaded\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/#primaryimage\",\"url\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling.jpg\",\"contentUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling.jpg\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Scheduling ? - Operating System Interview Questions","description":"What is Scheduling ? - Scheduling is an essential part of a Multiprogramming operating systems. Such operating systems allow more than one process to be loaded","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:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/","og_locale":"en_US","og_type":"article","og_title":"What is Scheduling ? - Operating System Interview Questions","og_description":"What is Scheduling ? - Scheduling is an essential part of a Multiprogramming operating systems. Such operating systems allow more than one process to be loaded","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/","og_site_name":"Wikitechy","article_published_time":"2021-07-20T08:51:14+00:00","article_modified_time":"2021-09-08T12:06:42+00:00","og_image":[{"url":"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling.jpg"}],"author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/","name":"What is Scheduling ? - Operating System Interview Questions","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling.jpg","datePublished":"2021-07-20T08:51:14+00:00","dateModified":"2021-09-08T12:06:42+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is Scheduling ? - Scheduling is an essential part of a Multiprogramming operating systems. Such operating systems allow more than one process to be loaded","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling\/#primaryimage","url":"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling.jpg","contentUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/operating-system\/what-is-scheduling.jpg"},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/1117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=1117"}],"version-history":[{"count":3,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/1117\/revisions"}],"predecessor-version":[{"id":3060,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/1117\/revisions\/3060"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=1117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=1117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=1117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}