{"id":3239,"date":"2025-06-09T13:31:19","date_gmt":"2025-06-09T13:31:19","guid":{"rendered":"https:\/\/diznr.com\/?p=3239"},"modified":"2025-06-09T13:31:19","modified_gmt":"2025-06-09T13:31:19","slug":"interrupt-gate-2001-previous-year-solved-gate-questions-for-cse","status":"publish","type":"post","link":"https:\/\/www.reilsolar.com\/pdf\/interrupt-gate-2001-previous-year-solved-gate-questions-for-cse\/","title":{"rendered":"Interrupt -Gate 2001- Previous year solved gate questions for cse."},"content":{"rendered":"<p>Interrupt -Gate 2001- Previous year solved gate questions for cse.<\/p>\n<p>[fvplayer id=&#8221;313&#8243;]<\/p>\n<p class=\"\" data-start=\"0\" data-end=\"128\">Certainly! Let&#8217;s delve into the <strong data-start=\"32\" data-end=\"49\">GATE CSE 2001<\/strong> questions related to <strong data-start=\"71\" data-end=\"85\">interrupts<\/strong>, providing detailed explanations for each.<\/p>\n<hr class=\"\" data-start=\"130\" data-end=\"133\" \/>\n<h3 class=\"\" data-start=\"135\" data-end=\"188\">\ud83e\udde0 <strong data-start=\"142\" data-end=\"188\">Question 1: Purpose of Software Interrupts<\/strong><\/h3>\n<p class=\"\" data-start=\"190\" data-end=\"250\"><strong data-start=\"190\" data-end=\"203\">Question:<\/strong><br data-start=\"203\" data-end=\"206\" \/><em data-start=\"206\" data-end=\"250\">A processor needs a software interrupt to:<\/em><\/p>\n<p class=\"\" data-start=\"252\" data-end=\"441\"><strong data-start=\"252\" data-end=\"264\">Options:<\/strong><br \/>\nA. Test the interrupt system of the processor<br data-start=\"310\" data-end=\"313\" \/>B. Implement co-routines<br data-start=\"337\" data-end=\"340\" \/>C. Obtain system services which need execution of privileged instructions<br data-start=\"413\" data-end=\"416\" \/>D. Return from subroutine<\/p>\n<p class=\"\" data-start=\"443\" data-end=\"538\"><strong data-start=\"443\" data-end=\"464\">\u2705 Correct Answer:<\/strong> C. Obtain system services which need execution of privileged instructions<\/p>\n<p class=\"\" data-start=\"540\" data-end=\"1006\"><strong data-start=\"540\" data-end=\"556\">Explanation:<\/strong><br data-start=\"556\" data-end=\"559\" \/>Software interrupts, often invoked via system calls, allow user-level applications to request services from the operating system. These services typically require execution in a <strong data-start=\"737\" data-end=\"756\">privileged mode<\/strong> to access hardware or critical system resources. By triggering a software interrupt, control is transferred to the OS, which can safely execute the necessary privileged instructions on behalf of the application.<\/p>\n<hr class=\"\" data-start=\"1008\" data-end=\"1011\" \/>\n<h3 class=\"\" data-start=\"1013\" data-end=\"1058\">\ud83d\udd04 <strong data-start=\"1020\" data-end=\"1058\">Question 2: Mode Transition in CPU<\/strong><\/h3>\n<p class=\"\" data-start=\"1060\" data-end=\"1191\"><strong data-start=\"1060\" data-end=\"1073\">Question:<\/strong><br data-start=\"1073\" data-end=\"1076\" \/><em data-start=\"1076\" data-end=\"1191\">A CPU has two modes\u2014privileged and non-privileged. In order to change the mode from privileged to non-privileged:<\/em><\/p>\n<p class=\"\" data-start=\"1193\" data-end=\"1437\"><strong data-start=\"1193\" data-end=\"1205\">Options:<\/strong><br \/>\nA. A hardware interrupt is needed<br data-start=\"1239\" data-end=\"1242\" \/>B. A software interrupt is needed<br data-start=\"1275\" data-end=\"1278\" \/>C. A privileged instruction (which does not generate an interrupt) is needed<br data-start=\"1354\" data-end=\"1357\" \/>D. A non-privileged instruction (which does not generate an interrupt) is needed<\/p>\n<p class=\"\" data-start=\"1439\" data-end=\"1537\"><strong data-start=\"1439\" data-end=\"1460\">\u2705 Correct Answer:<\/strong> C. A privileged instruction (which does not generate an interrupt) is needed<\/p>\n<p class=\"\" data-start=\"1539\" data-end=\"2006\"><strong data-start=\"1539\" data-end=\"1555\">Explanation:<\/strong><br data-start=\"1555\" data-end=\"1558\" \/>Transitioning from <strong data-start=\"1577\" data-end=\"1591\">privileged<\/strong> to <strong data-start=\"1595\" data-end=\"1613\">non-privileged<\/strong> mode is typically executed by the operating system after completing a system-level task. This transition is achieved through a <strong data-start=\"1741\" data-end=\"1767\">privileged instruction<\/strong> that sets the processor&#8217;s mode bit accordingly. Unlike transitions from non-privileged to privileged mode, which require an interrupt (e.g., system call), this operation doesn&#8217;t generate an interrupt.<\/p>\n<hr class=\"\" data-start=\"2008\" data-end=\"2011\" \/>\n<h3 class=\"\" data-start=\"2013\" data-end=\"2066\">\u23f1\ufe0f <strong data-start=\"2020\" data-end=\"2066\">Question 3: Interrupting a Running Process<\/strong><\/h3>\n<p class=\"\" data-start=\"2068\" data-end=\"2146\"><strong data-start=\"2068\" data-end=\"2081\">Question:<\/strong><br data-start=\"2081\" data-end=\"2084\" \/><em data-start=\"2084\" data-end=\"2146\">Which of the following does not interrupt a running process?<\/em><\/p>\n<p class=\"\" data-start=\"2148\" data-end=\"2225\"><strong data-start=\"2148\" data-end=\"2160\">Options:<\/strong><br \/>\nA. A device<br data-start=\"2172\" data-end=\"2175\" \/>B. Timer<br data-start=\"2183\" data-end=\"2186\" \/>C. Scheduler process<br data-start=\"2206\" data-end=\"2209\" \/>D. Power failure<\/p>\n<p class=\"\" data-start=\"2227\" data-end=\"2269\"><strong data-start=\"2227\" data-end=\"2248\">\u2705 Correct Answer:<\/strong> C. Scheduler process<\/p>\n<p class=\"\" data-start=\"2271\" data-end=\"2716\"><strong data-start=\"2271\" data-end=\"2287\">Explanation:<\/strong><br data-start=\"2287\" data-end=\"2290\" \/>The <strong data-start=\"2294\" data-end=\"2307\">scheduler<\/strong> is a component of the operating system responsible for managing process execution. It decides which process runs at a given time but doesn&#8217;t inherently interrupt processes. Interrupts are typically generated by hardware events (like devices or timers) or critical failures (like power loss). Therefore, the scheduler itself doesn&#8217;t cause interrupts; it responds to them.<\/p>\n<hr class=\"\" data-start=\"2718\" data-end=\"2721\" \/>\n<p class=\"\" data-start=\"2723\" data-end=\"2825\">For a comprehensive understanding and further practice, you might find this video explanation helpful:<\/p>\n<div class=\"not-prose mb-3 flex flex-col gap-4 text-base\">\n<div><\/div>\n<\/div>\n<p class=\"\" data-start=\"2869\" data-end=\"2958\">Feel free to explore more resources or ask for additional clarifications on these topics!<\/p>\n<h3><a href=\"https:\/\/ksrce.ac.in\/admin\/file_manager\/source\/ECE\/Question%20Bank\/03.EMBEDDED%20SYSTEM%20-%20QUESTION%20BANK.pdf\" target=\"_blank\" rel=\"noopener\">Interrupt -Gate 2001- Previous year solved gate questions for cse.<\/a><\/h3>\n<h3 class=\"LC20lb MBeuO DKV0Md\"><a href=\"https:\/\/vidyatcklmr.ac.in\/admin\/upload\/pdf\/11631689212015schemeS4CSE.pdf\" target=\"_blank\" rel=\"noopener\">KTUQBANK.COM<\/a><\/h3>\n<h3 class=\"LC20lb MBeuO DKV0Md\"><a href=\"https:\/\/rlacollege.edu.in\/pdf\/Question-papers\/Computer%20Science\/Operating-System-1.pdf\" target=\"_blank\" rel=\"noopener\">B.SC. (HONS) COMPUTER SCIENCE IV SEM. PAPER 401<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Interrupt -Gate 2001- Previous year solved gate questions for cse. [fvplayer id=&#8221;313&#8243;] Certainly! Let&#8217;s delve into the GATE CSE 2001 questions related to interrupts, providing detailed explanations for each. \ud83e\udde0 Question 1: Purpose of Software Interrupts Question:A processor needs a software interrupt to: Options: A. Test the interrupt system of the processorB. Implement co-routinesC. Obtain [&hellip;]<\/p>\n","protected":false},"author":66,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[78],"tags":[],"class_list":["post-3239","post","type-post","status-publish","format-standard","hentry","category-operating-system"],"_links":{"self":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/posts\/3239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/users\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/comments?post=3239"}],"version-history":[{"count":0,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/posts\/3239\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/media?parent=3239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/categories?post=3239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/tags?post=3239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}