{"id":8758,"date":"2019-02-22T12:14:00","date_gmt":"2019-02-22T12:14:00","guid":{"rendered":"https:\/\/www.monsterindia.com\/career-advice\/commonly-asked-operating-system-interview-questions-8758\/"},"modified":"2021-12-30T12:38:34","modified_gmt":"2021-12-30T12:38:34","slug":"commonly-asked-operating-system-interview-questions","status":"publish","type":"post","link":"https:\/\/www.foundit.com.ph\/career-advice\/commonly-asked-operating-system-interview-questions\/","title":{"rendered":"Commonly asked Operating System Interview Questions"},"content":{"rendered":"\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\"><strong>What is an Operating System?<\/strong> <\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">An operating system is system software that directs computer hardware and software resources. It also offers common services for computer programs. Time-sharing operating systems program tasks for proficient use of the system. It might also include accounting software for cost provision of processor time, printing, mass storage and other resources.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\"><strong>Explain the Concept of Reentrancy.<\/strong><\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">A Reentrant procedure is one in which numerous users can share one copy of a program at the same time.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">Reentrancy has 2 key aspects. The program code cannot fix itself and the local data for each user method must be stored independently. The constant part is the code and the transitory part is the pointer back to the calling program and local variables used by the program.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">Each implementation instance is called activation. It executes the code in the stable part but has its own copy of local parameters\/variables. The temporary part related to each instigation is the activation record. Usually the activation record is kept on the stack.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">A Reentrant process can be interrupted and called by an interrupting program. It still executes correctly on returning to the procedure.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\"><strong>What is a Binary Semaphore? What is its Use?<\/strong> <\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">A binary semaphore is one which takes 0&amp;1 as values. They are used to synchronise concurrent processes and apply mutual exclusion.<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\"><strong>What is Thrashing?<\/strong> <\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">It is an experience in virtual memory schemes when the central processing unit changes pages rather than fulfilling instructions. This is due to an excessive number of page faults. <\/span><\/p>\n\n\n\n<p><strong><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">You may also like:<\/span><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\"><a href=\"https:\/\/www.monsterindia.com\/career-advice\/watch-your-moves-the-importance-of-body-language-in-an-interview\/\" target=\"_blank\" rel=\"noopener\">Watch your moves: The importance of body language in an interview<\/a><\/span><\/li><li><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\"><a href=\"https:\/\/www.monsterindia.com\/career-advice\/what-hiring-managers-want-to-listen-from-a-prospective-employee-during-an-interview\/\" target=\"_blank\" rel=\"noopener\">What Hiring Managers want to listen from a Prospective Employee during an Interview<\/a><\/span><\/li><\/ul>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\"><strong>What is Response Time and Turnaround Time?<\/strong> <\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">Response time is the interlude between the submission of a request and the first answer to that request. Turnaround time is the interlude between the proposal of a job and its completion. <\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\"><strong>List the Coffman\u2019s Conditions That Result in a Deadlock?<\/strong> <\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">1. Hold and Wait \u2013 A process may be given some resources while waiting for others. <\/span><br><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">2. No Prevention \u2013 No resource can be effectively removed from a process holding it. <\/span><br><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">3. Circular Wait \u2013 A locked chain of processes exist so each process holds at least one resource required by another process in the chain. <\/span><br><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">4. Mutual Exclusion \u2013 Only one method may use a critical resource at a time. <\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt;\"><strong><span style=\"font-family: verdana, geneva, sans-serif;\">What are Short, Long and Medium \u2013 Term Scheduling?<\/span><\/strong><\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">\u2022 Long-term scheduler defines which programs are admitted to the processing system. It manages the degree of multiprogramming. Once entered it becomes a procedure. <\/span><br><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">\u2022 Medium term scheduling is part of the swapping function. This links to procedures that are in a deferred or blocked state. They are exchanged out of real-memory until they are ready to perform. The swapping-in choice is based on memory-management criteria. <\/span><br><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">\u2022 The short-term scheduler also known as a dispatcher, implements most frequently and makes the finest-grained decision about which process will be executed next. This scheduler is evoked whenever an event occurs. It may result in the interruption of one process by pre-emption. <\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt;\"><strong><span style=\"font-family: verdana, geneva, sans-serif;\">What is the Working Set and Resident Set of a Process?<\/span><\/strong><\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">The Resident Set is that part of the procedure image that is actually in real-memory at a particular time. The Resident Set subset is the Working Set that is actually needed for execution. (Connect this to the variable-window size method for exchange techniques).<\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\"><strong>What is Cycle Stealing?<\/strong><\/span><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">Cycle Stealing is met in the context of Direct Memory Access (DMA). The DMA controller can use the data bus when the CPU does not need it. Alternatively, it may power the CPU to temporarily interrupt the operation. This method is called cycle stealing which can be completed at specific break points in a directive cycle.<\/span><\/p>\n\n\n\n<p><strong><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">Looking for Operating System Jobs in top cities? Click at the links below:<\/span><\/strong><\/p>\n\n\n\n<p><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">\u2022 <a title=\"Operating System Jobs in Bengaluru\" href=\"https:\/\/www.monsterindia.com\/search\/operating-system-jobs-in-bengaluru-bangalore\" target=\"_blank\" rel=\"noopener\">Operating System Jobs in Bengaluru<\/a><\/span><br><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">\u2022 <a title=\"Operating System Jobs in&nbsp;Pune\" href=\"https:\/\/www.monsterindia.com\/search\/operating-system-jobs-in-pune\" target=\"_blank\" rel=\"noopener\">Operating System Jobs in&nbsp;Pune<\/a><\/span><br><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">\u2022 <a title=\"Operating System Jobs in&nbsp;Gurgaon\" href=\"https:\/\/www.monsterindia.com\/search\/operating-system-jobs-in-gurgaon\" target=\"_blank\" rel=\"noopener\">Operating System Jobs in&nbsp;Gurgaon<\/a><\/span><br><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">\u2022 <a title=\"Operating System Jobs in Mumbai\" href=\"https:\/\/www.monsterindia.com\/search\/operating-system-jobs-in-mumbai\" target=\"_blank\" rel=\"noopener\">Operating System Jobs in Mumbai<\/a><\/span><br><span style=\"font-size: 12pt; font-family: verdana, geneva, sans-serif;\">\u2022 <a title=\"Operating System Jobs\" href=\"https:\/\/www.monsterindia.com\/search\/operating-system-jobs\" target=\"_blank\" rel=\"noopener\">Operating System Jobs<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is an Operating System? An operating system is system software that directs computer hardware and software resources. It also offers common services for computer programs. Time-sharing operating systems program tasks for proficient use of the system. It might also include accounting software for cost provision of processor time, printing, mass storage and other resources. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11613,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[147],"tags":[],"class_list":{"0":"post-8758","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-interview-questions"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/posts\/8758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/comments?post=8758"}],"version-history":[{"count":1,"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/posts\/8758\/revisions"}],"predecessor-version":[{"id":11614,"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/posts\/8758\/revisions\/11614"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/media\/11613"}],"wp:attachment":[{"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/media?parent=8758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/categories?post=8758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.foundit.com.ph\/career-advice\/wp-json\/wp\/v2\/tags?post=8758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}