Connection restored!
Notification Center
Loading notifications...
Loading announcements...
INCOMING 1v1 DUEL! 10:00
@friend challenged you!
Topic · Room #HQ-0000
Accept & Join
Mention Scholar ↑↓ Enter / Click
Last time you were studying on Page 2.
STUDY & LEARNING DECK

Govt Exam PYQs

Showing 25 of 4040 total questions (Latest Added First).

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

Try clearing filters or unchecking "Saved" / "Hide".

Question 2451 NEW
Most Important MEDIUM
In Paging, what is the data structure maintained by the OS for each process to map Logical Page Numbers to Physical Frame Numbers?
पेजिंग (Paging) में, लॉजिकल पेज नंबर को फिजिकल फ्रेम नंबर से मैप करने के लिए OS द्वारा प्रत्येक प्रोसेस के लिए कौन सा डेटा स्ट्रक्चर रखा जाता है?
A
Page Table
पेज टेबल (Page Table)
Correct
B
Symbol Table
सिंबल टेबल
C
Routing Table
राउटिंग टेबल
D
Partition Table
पार्टिशन टेबल
Solution Breakdown:
-> The Page Table contains the base physical address (Frame number) of each page stored in RAM. -> Hence, Option (A) is the correct answer.
-> पेज टेबल में प्रत्येक लॉजिकल पेज के संगत RAM फ्रेम का पता स्टोर रहता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2452 NEW
Most Important EASY
What is the difference between a "Logical Address" and a "Physical Address" in an Operating System?
ऑपरेटिंग सिस्टम में "लॉजिकल एड्रेस" (Logical Address) और "फिजिकल एड्रेस" (Physical Address) में क्या अंतर है?
A
Both are generated by the hard disk
दोनों हार्ड डिस्क द्वारा बनाए जाते हैं
B
Physical address is generated by the CPU
फिजिकल एड्रेस CPU द्वारा बनाया जाता है
C
Logical address is only for printers
लॉजिकल एड्रेस केवल प्रिंटर के लिए होता है
D
Logical (Virtual) address is generated by the CPU, whereas Physical address is the actual hardware location in RAM
लॉजिकल (वर्चुअल) एड्रेस CPU द्वारा जनरेट किया जाता है, जबकि फिजिकल एड्रेस RAM में वास्तविक हार्डवेयर लोकेशन होता है
Correct
Solution Breakdown:
-> The MMU (Memory Management Unit) translates the CPU's Logical Address into the actual Physical Address in RAM. -> Hence, Option (D) is the correct answer.
-> CPU लॉजिकल एड्रेस बनाता है और MMU उसे RAM के फिजिकल एड्रेस में बदलता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 2453 NEW
Most Important MEDIUM
Using the same free partitions (`100 KB`, `500 KB`, `200 KB`, `300 KB` in order), which partition will be allocated to a `212 KB` process using "First Fit"?
उन्हीं खाली पार्टिशन (`100 KB`, `500 KB`, `200 KB`, `300 KB`) में "फर्स्ट फिट" (First Fit) का उपयोग करके `212 KB` के प्रोसेस को कौन सा पार्टिशन मिलेगा?
A
100 KB
100 KB
B
300 KB
300 KB
C
500 KB
500 KB
Correct
D
200 KB
200 KB
Solution Breakdown:
-> Scanning from left to right: `100 KB` is too small, and the very first hole large enough for `212 KB` is `500 KB`. -> Hence, Option (C) is the correct answer.
-> बाएं से दाएं देखने पर `212 KB` के लिए पहला पर्याप्त बड़ा स्थान `500 KB` है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 2454 NEW
Most Important MEDIUM
If free memory partitions are of sizes `100 KB`, `500 KB`, `200 KB`, and `300 KB` (in order), which partition will be allocated to a `212 KB` process using "Best Fit"?
यदि खाली मेमोरी पार्टिशन क्रमशः `100 KB`, `500 KB`, `200 KB` और `300 KB` हैं, तो "बेस्ट फिट" (Best Fit) का उपयोग करके `212 KB` के प्रोसेस को कौन सा पार्टिशन मिलेगा?
A
500 KB
500 KB
B
300 KB
300 KB
Correct
C
200 KB
200 KB
D
100 KB
100 KB
Solution Breakdown:
-> Only `500 KB` and `300 KB` are large enough for `212 KB`; Best Fit picks the smallest sufficient hole, which is `300 KB`. -> Hence, Option (B) is the correct answer.
-> `212 KB` के लिए पर्याप्त सबसे छोटा पार्टिशन `300 KB` है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 2455 NEW
Most Important MEDIUM
Which memory allocation strategy always allocates the LARGEST available free memory hole to a new process?
कौन सी मेमोरी आवंटन रणनीति नए प्रोसेस को हमेशा सबसे बड़ा उपलब्ध खाली मेमोरी स्थान (Largest hole) आवंटित करती है?
A
Worst Fit
वर्स्ट फिट (Worst Fit)
Correct
B
Best Fit
बेस्ट फिट
C
First Fit
फर्स्ट फिट
D
Quick Fit
क्विक फिट
Solution Breakdown:
-> Worst Fit allocates the largest hole so that the remaining leftover portion is still large enough to be useful for another process. -> Hence, Option (A) is the correct answer.
-> वर्स्ट फिट सबसे बड़ा खाली ब्लॉक चुनती है ताकि बचा हुआ हिस्सा भी आगे काम आ सके। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2456 NEW
Most Important MEDIUM
Which memory allocation strategy searches the entire list of free holes and allocates the SMALLEST hole that is still big enough for the process?
कौन सी मेमोरी आवंटन रणनीति सभी खाली स्थानों की जांच करती है और प्रोसेस के लिए पर्याप्त सबसे छोटा खाली स्थान (Smallest hole) आवंटित करती है?
A
First Fit
फर्स्ट फिट
B
Worst Fit
वर्स्ट फिट
C
Next Fit
नेक्स्ट फिट
D
Best Fit
बेस्ट फिट (Best Fit)
Correct
Solution Breakdown:
-> Best Fit minimizes immediate leftover space in the chosen hole, though it can create many tiny unusable leftover fragments over time. -> Hence, Option (D) is the correct answer.
-> बेस्ट फिट सबसे छोटा उपयुक्त खाली स्थान चुनती है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 2457 NEW
Most Important MEDIUM
In dynamic memory allocation, which strategy allocates the VERY FIRST free memory hole that is large enough to hold the process?
डायनामिक मेमोरी आवंटन में, कौन सी रणनीति प्रोसेस को रखने के लिए पर्याप्त बड़े सबसे पहले खाली मेमोरी होल (First hole) को आवंटित करती है?
A
Best Fit
बेस्ट फिट
B
Worst Fit
वर्स्ट फिट
C
First Fit
फर्स्ट फिट (First Fit)
Correct
D
Random Fit
रैंडम फिट
Solution Breakdown:
-> First Fit searches from the beginning of memory and stops as soon as it finds the first hole big enough—making it the fastest allocation strategy. -> Hence, Option (C) is the correct answer.
-> फर्स्ट फिट सबसे तेज़ रणनीति है क्योंकि यह पहला पर्याप्त बड़ा खाली स्थान मिलते ही आवंटित कर देती है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 2458 NEW
Most Important MEDIUM
Which technique is used by an Operating System to eliminate "External Fragmentation" by shifting all allocated processes together to create one large contiguous free memory block?
सभी आवंटित प्रोसेस को एक तरफ खिसकाकर एक बड़ा खाली मेमोरी ब्लॉक बनाने और "एक्सटर्नल फ्रैग्मेंटेशन" को दूर करने की तकनीक क्या कहलाती है?
A
Spooling
स्पूलिंग
B
Compaction
कॉम्पैक्शन (Compaction)
Correct
C
Thrashing
थ्रैशिंग
D
Buffering
बफरिंग
Solution Breakdown:
-> Compaction shuffles memory contents to merge all small scattered free holes into a single large contiguous block (though it requires dynamic relocation and CPU time). -> Hence, Option (B) is the correct answer.
-> कॉम्पैक्शन बिखरे हुए खाली मेमोरी टुकड़ों को जोड़कर एक बड़ा खाली ब्लॉक बना देता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 2459 NEW
Most Important MEDIUM
In contiguous memory allocation, what is "External Fragmentation"?
कंटीगुअस मेमोरी आवंटन (Contiguous memory allocation) में "एक्सटर्नल फ्रैग्मेंटेशन" (External Fragmentation) क्या होता है?
A
Total free RAM is enough to satisfy a request, but it is broken into small non-contiguous holes so the process cannot be loaded
कुल खाली RAM तो पर्याप्त है, लेकिन वह छोटे-छोटे अलग-अलग टुकड़ों में बंटी होने के कारण नया प्रोसेस लोड नहीं हो पाता
Correct
B
Wasted space inside an allocated fixed block
आवंटित ब्लॉक के अंदर बर्बाद जगह
C
A physically cracked RAM stick
टूटी हुई RAM स्टिक
D
Full hard disk space
हार्ड डिस्क का भर जाना
Solution Breakdown:
-> External fragmentation happens in variable-size partitioning when free memory gets scattered into tiny unusable gaps between allocated processes. -> Hence, Option (A) is the correct answer.
-> जब खाली मेमोरी छोटे-छोटे बिखरे टुकड़ों में बंट जाती है और एक साथ उपलब्ध नहीं होती, तो उसे एक्सटर्नल फ्रैग्मेंटेशन कहते हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2460 NEW
Most Important EASY
Which component of the Operating System is responsible for allocating and deallocating RAM space to running programs?
ऑपरेटिंग सिस्टम का कौन सा कार्य चल रहे प्रोग्रामों को RAM स्पेस आवंटित (Allocate) और मुक्त (Deallocate) करने के लिए जिम्मेदार होता है?
A
Memory Management
मेमोरी प्रबंधन (Memory Management)
Correct
B
Print Management
प्रिंट प्रबंधन
C
Disk Formatting
डिस्क फॉर्मेटिंग
D
Network Routing
नेटवर्क राउटिंग
Solution Breakdown:
-> Memory Management tracks every byte of primary memory (RAM), deciding which process gets memory, how much, and when to reclaim it. -> Hence, Option (A) is the correct answer.
-> मेमोरी प्रबंधन यह तय करता है कि किस प्रोसेस को कितनी RAM देनी है और काम पूरा होने पर उसे कब खाली करना है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2461 NEW
📜 PYQs EASY
Which statement best explains why modern Operating Systems use "Multithreading"?
कौन सा कथन सबसे अच्छी तरह बताता है कि आधुनिक ऑपरेटिंग सिस्टम "मल्टीथ्रेडिंग" (Multithreading) का उपयोग क्यों करते हैं?
A
To slow down the CPU
CPU को धीमा करने के लिए
B
To allow a single application (like a web browser) to perform multiple tasks concurrently (e.g., loading a page while playing audio) with low memory overhead
एक ही एप्लिकेशन (जैसे वेब ब्राउज़र) को कम मेमोरी खर्च में एक साथ कई कार्य करने की अनुमति देने के लिए
Correct
C
To disable the hard disk
हार्ड डिस्क बंद करने के लिए
D
To run without RAM
बिना RAM के चलने के लिए
Solution Breakdown:
-> Multithreading boosts responsiveness, resource sharing, and utilization of multi-core CPUs. -> Hence, Option (B) is the correct answer.
-> मल्टीथ्रेडिंग से एप्लिकेशन अधिक तेज़ और रिस्पॉन्सिव बनते हैं और मल्टी-कोर CPU का पूरा उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 2462 NEW
📜 PYQs MEDIUM
Match the OS Term with its Exact Role: 1. PCB — (a) Breaks circular wait by checking Safe State 2. Dispatcher — (b) Stores PID, state, and registers of a process 3. Banker's Algorithm — (c) Solves critical section using `wait()` and `signal()` 4. Semaphore — (d) Gives CPU control to the selected process
OS शब्द को उसकी सटीक भूमिका से सुमेलित करें: 1. PCB — (a) सेफ स्टेट जांचकर डेडलॉक से बचाता है 2. डिस्पैचर — (b) प्रोसेस की PID, स्टेट और रजिस्टर स्टोर करता है 3. बैंकर एल्गोरिदम — (c) `wait()` और `signal()` से क्रिटिकल सेक्शन हल करता है 4. सेमाफोर — (d) चुने हुए प्रोसेस को CPU का नियंत्रण सौंपता है
A
1-b, 2-d, 3-a, 4-c
1-b, 2-d, 3-a, 4-c
Correct
B
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
C
1-b, 2-a, 3-d, 4-c
1-b, 2-a, 3-d, 4-c
D
1-d, 2-b, 3-a, 4-c
1-d, 2-b, 3-a, 4-c
Solution Breakdown:
-> Correct matches: PCB (Stores process info), Dispatcher (Gives CPU control), Banker's Algorithm (Safe State), Semaphore (`wait()`/`signal()`). -> Hence, Option (A) is the correct answer.
-> सही मिलान: 1-b, 2-d, 3-a, 4-c। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2463 NEW
📜 PYQs MEDIUM
Match the Scheduling Algorithm with its Key Feature: 1. FCFS — (a) Uses a fixed Time Quantum for time-sharing 2. SJF — (b) Can cause Starvation; solved by Aging 3. Round Robin — (c) Simplest; suffers from Convoy Effect 4. Priority Scheduling — (d) Gives minimum possible Average Waiting Time
शेड्यूलिंग एल्गोरिदम को उसकी मुख्य विशेषता से सुमेलित करें: 1. FCFS — (a) टाइम-शेयरिंग के लिए निश्चित टाइम क्वांटम का उपयोग 2. SJF — (b) स्टार्वेशन हो सकता है; एजिंग से हल होता है 3. राउंड रॉबिन — (c) सबसे सरल; कॉनवॉय इफेक्ट से प्रभावित 4. प्रायोरिटी शेड्यूलिंग — (d) न्यूनतम औसत प्रतीक्षा समय देता है
A
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
B
1-c, 2-a, 3-d, 4-b
1-c, 2-a, 3-d, 4-b
C
1-d, 2-c, 3-a, 4-b
1-d, 2-c, 3-a, 4-b
D
1-c, 2-d, 3-a, 4-b
1-c, 2-d, 3-a, 4-b
Correct
Solution Breakdown:
-> Correct matches: FCFS (Convoy Effect), SJF (Minimum Avg Waiting Time), Round Robin (Time Quantum), Priority (Starvation/Aging). -> Hence, Option (D) is the correct answer.
-> सही मिलान: 1-c, 2-d, 3-a, 4-b। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 2464 NEW
📜 PYQs EASY
What is a "Job Queue" vs. a "Ready Queue" in an Operating System?
ऑपरेटिंग सिस्टम में "जॉब क्यू" (Job Queue) और "रेडी क्यू" (Ready Queue) में क्या अंतर है?
A
Both are located on the printer
दोनों प्रिंटर पर होते हैं
B
Ready Queue holds deleted files
रेडी क्यू में डिलीट फाइलें होती हैं
C
Job Queue holds all processes submitted to the system, whereas Ready Queue holds only those processes loaded in RAM and waiting for the CPU
जॉब क्यू में सिस्टम को सौंपे गए सभी प्रोसेस होते हैं, जबकि रेडी क्यू में केवल वे प्रोसेस होते हैं जो RAM में लोड हैं और CPU का इंतज़ार कर रहे हैं
Correct
D
Both are identical
दोनों एक ही हैं
Solution Breakdown:
-> The Long-Term Scheduler moves processes from the Job Queue (disk) into the Ready Queue (RAM). -> Hence, Option (C) is the correct answer.
-> जॉब क्यू में सभी प्रोसेस और रेडी क्यू में RAM में मौजूद तैयार प्रोसेस होते हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 2465 NEW
📜 PYQs MEDIUM
Evaluate the following statements: (I) Threads of the same process share the same Heap memory and open files. (II) Context switching between two threads of the same process is slower than switching between two different processes.
निम्नलिखित कथनों का मूल्यांकन करें: (I) एक ही प्रोसेस के थ्रेड्स एक ही हीप मेमोरी और खुली फाइलें साझा करते हैं। (II) एक ही प्रोसेस के दो थ्रेड्स के बीच कॉन्टेक्स्ट स्विचिंग, दो अलग प्रोसेस के बीच स्विचिंग से धीमी होती है।
A
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
B
Only (I) is true
केवल (I) सत्य है
Correct
C
Only (II) is true
केवल (II) सत्य है
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Statement (I) is true. Statement (II) is false because thread switching is much FASTER than full process switching since memory maps don't need to change. -> Hence, Option (B) is the correct answer.
-> कथन (I) सत्य है, जबकि थ्रेड स्विचिंग प्रोसेस स्विचिंग से काफी तेज़ होती है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 2466 NEW
📜 PYQs MEDIUM
Evaluate the following statements: (I) Round Robin scheduling is a Preemptive scheduling algorithm. (II) FCFS scheduling can suffer from the Convoy Effect.
निम्नलिखित कथनों का मूल्यांकन करें: (I) राउंड रॉबिन एक प्रीएम्प्टिव शेड्यूलिंग एल्गोरिदम है। (II) FCFS शेड्यूलिंग में कॉनवॉय इफेक्ट (Convoy Effect) की समस्या हो सकती है।
A
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
Correct
B
Only (I) is true
केवल (I) सत्य है
C
Only (II) is true
केवल (II) सत्य है
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Both statements are standard OS scheduling facts. -> Hence, Option (A) is the correct answer.
-> दोनों कथन बिल्कुल सही हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2467 NEW
📜 PYQs MEDIUM
What are the two main ways an Operating System performs "Deadlock Recovery" after a deadlock is detected?
डेडलॉक का पता चलने के बाद ऑपरेटिंग सिस्टम "डेडलॉक रिकवरी" (Deadlock Recovery) किन दो मुख्य तरीकों से करता है?
A
Buying more RAM or a new CPU
अधिक RAM या नया CPU खरीदना
B
Formatting the disk or reinstalling Windows
डिस्क फॉर्मेट करना या विंडोज़ रीइंस्टॉल करना
C
Turning off the monitor or keyboard
मॉनिटर या कीबोर्ड बंद करना
D
Process Termination (aborting deadlocked processes) or Resource Preemption (forcibly taking resources back)
प्रोसेस टर्मिनेशन (अटके हुए प्रोसेस बंद करना) या रिसोर्स प्रीएम्प्शन (संसाधन वापस लेना)
Correct
Solution Breakdown:
-> Aborting one or more deadlocked processes or preempting resources breaks the circular wait cycle. -> Hence, Option (D) is the correct answer.
-> डेडलॉक रिकवरी के लिए अटके प्रोसेस को समाप्त किया जाता है या उनसे संसाधन वापस लिए जाते हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 2468 NEW
📜 PYQs EASY
What is "Throughput" as a CPU scheduling performance metric?
CPU शेड्यूलिंग प्रदर्शन मापदंड के रूप में "थ्रूपुट" (Throughput) क्या होता है?
A
The total time a process waits
प्रोसेस के इंतज़ार का कुल समय
B
The size of the hard disk
हार्ड डिस्क का आकार
C
The total number of processes completed per unit of time
प्रति इकाई समय में पूरे होने वाले प्रोसेस की कुल संख्या
Correct
D
The speed of the mouse
माउस की गति
Solution Breakdown:
-> A good CPU scheduler aims to MAXIMIZE CPU Utilization and Throughput while MINIMIZING Turnaround Time, Waiting Time, and Response Time. -> Hence, Option (C) is the correct answer.
-> प्रति इकाई समय में पूरे होने वाले कार्यों की संख्या 'थ्रूपुट' कहलाती है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 2469 NEW
📜 PYQs MEDIUM
How does a "Multilevel Feedback Queue" (MLFQ) improve upon a standard Multilevel Queue?
"मल्टीलेवल फीडबैक क्यू" (MLFQ) सामान्य मल्टीलेवल क्यू से किस प्रकार बेहतर है?
A
It disables multitasking
यह मल्टीटास्किंग बंद कर देता है
B
It allows processes to dynamically move between different priority queues based on their CPU behavior, preventing starvation
यह प्रोसेस को उनके CPU व्यवहार के आधार पर विभिन्न प्राथमिकता कतारों के बीच जाने की अनुमति देता है, जिससे स्टार्वेशन रुकता है
Correct
C
It uses no RAM
इसमें RAM नहीं लगती
D
It only runs on MS-DOS
यह केवल MS-DOS पर चलता है
Solution Breakdown:
-> MLFQ is the most flexible scheduling approach used in modern operating systems like Windows and Linux. -> Hence, Option (B) is the correct answer.
-> MLFQ में प्रोसेस अपनी प्राथमिकता बदलकर एक क्यू से दूसरी क्यू में जा सकते हैं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 2470 NEW
📜 PYQs MEDIUM
What is "Multilevel Queue Scheduling"?
"मल्टीलेवल क्यू शेड्यूलिंग" (Multilevel Queue Scheduling) क्या होती है?
A
Dividing the Ready Queue into multiple separate queues (e.g., Foreground interactive processes and Background batch processes), each with its own scheduling algorithm
रेडी क्यू को कई अलग-अलग कतारों (जैसे फोरग्राउंड और बैकग्राउंड प्रोसेस) में बांटना, जहाँ प्रत्येक का अपना शेड्यूलिंग एल्गोरिदम होता है
Correct
B
Running only one queue
केवल एक क्यू चलाना
C
Deleting all queues
सभी क्यू डिलीट करना
D
Printing multiple documents
कई दस्तावेज़ प्रिंट करना
Solution Breakdown:
-> For example, interactive foreground tasks may use Round Robin while background batch tasks use FCFS. -> Hence, Option (A) is the correct answer.
-> मल्टीलेवल क्यू में विभिन्न प्रकार के प्रोसेस के लिए अलग-अलग कतारें बनाई जाती हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2471 NEW
📜 PYQs EASY
Which of the following is NOT a valid CPU Scheduling Algorithm?
निम्नलिखित में से कौन सा एक वैध CPU शेड्यूलिंग एल्गोरिदम नहीं है?
A
Round Robin
राउंड रॉबिन
B
Shortest Job First (SJF)
शॉर्टेस्ट जॉब फर्स्ट
C
First-Come, First-Served (FCFS)
फर्स्ट-कम, फर्स्ट-सर्व्ड
D
Bubble Sort
बबल सॉर्ट (Bubble Sort)
Correct
Solution Breakdown:
-> Bubble Sort is a data sorting algorithm, NOT an OS CPU scheduling algorithm. -> Hence, Option (D) is the correct answer.
-> बबल सॉर्ट डेटा सॉर्टिंग एल्गोरिदम है, CPU शेड्यूलिंग एल्गोरिदम नहीं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 2472 NEW
📜 PYQs MEDIUM
Using the same 3 processes (burst times: P1 = 4 ms, P2 = 6 ms, P3 = 2 ms, all arriving at time 0), what is the Average Waiting Time using SJF (Shortest Job First)?
उन्हीं 3 प्रोसेस (P1=4 ms, P2=6 ms, P3=2 ms, आगमन समय 0) के लिए SJF (शॉर्टेस्ट जॉब फर्स्ट) में औसत प्रतीक्षा समय क्या होगा?
A
4.67 ms
4.67 ms
B
5 ms
5 ms
C
2.67 ms
2.67 ms
Correct
D
1 ms
1 ms
Solution Breakdown:
-> SJF execution order (shortest first): P3 (2 ms) -> P1 (4 ms) -> P2 (6 ms). -> Waiting times: P3 = 0 ms, P1 = 2 ms, P2 = 2 + 4 = 6 ms. Average $= \frac{0 + 2 + 6}{3} = \frac{8}{3} \approx 2.67\text{ ms}$. -> Hence, Option (C) is the correct answer.
-> SJF क्रम: P3 -> P1 -> P2। -> औसत वेटिंग टाइम $= \frac{8}{3} = 2.67\text{ ms}$। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 2473 NEW
📜 PYQs MEDIUM
If a system has 3 processes (P1, P2, P3) arriving at time 0 with CPU burst times of 4 ms, 6 ms, and 2 ms respectively, what is the Average Waiting Time using FCFS scheduling?
यदि 3 प्रोसेस (P1, P2, P3) समय 0 पर क्रमशः 4 ms, 6 ms और 2 ms के बर्स्ट टाइम के साथ आते हैं, तो FCFS में औसत प्रतीक्षा समय (Average Waiting Time) क्या होगा?
A
2 ms
2 ms
B
4.67 ms
4.67 ms
Correct
C
6 ms
6 ms
D
12 ms
12 ms
Solution Breakdown:
-> Waiting times in FCFS order (P1 -> P2 -> P3): P1 = 0 ms, P2 = 4 ms, P3 = 4 + 6 = 10 ms. -> Average Waiting Time $= \frac{0 + 4 + 10}{3} = \frac{14}{3} \approx 4.67\text{ ms}$. -> Hence, Option (B) is the correct answer.
-> वेटिंग टाइम: P1=0, P2=4, P3=10। -> औसत वेटिंग टाइम $= \frac{14}{3} = 4.67\text{ ms}$। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 2474 NEW
📜 PYQs MEDIUM
What is a "Safe State" in Deadlock Avoidance (Banker's Algorithm)?
डेडलॉक अवॉइडेंस (बैंकर एल्गोरिदम) में "सेफ स्टेट" (Safe State) क्या होती है?
A
A state where there exists at least one safe sequence of process execution so all processes can finish without ever entering a deadlock
एक ऐसी अवस्था जिसमें प्रोसेस के निष्पादन का कम से कम एक ऐसा सुरक्षित क्रम मौजूद हो जिससे सभी प्रोसेस बिना डेडलॉक के पूरे हो सकें
Correct
B
A state where the computer is turned off
जब कंप्यूटर बंद हो
C
A state where no antivirus is needed
जब एंटीवायरस की ज़रूरत न हो
D
A state where RAM is 100% empty
जब RAM पूरी तरह खाली हो
Solution Breakdown:
-> Every Safe State is guaranteed to be deadlock-free (though an Unsafe State does not automatically mean a deadlock has occurred yet—only that it *might*). -> Hence, Option (A) is the correct answer.
-> सेफ स्टेट यह गारंटी देती है कि सिस्टम में डेडलॉक नहीं होगा। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2475 NEW
📜 PYQs MEDIUM
What is the difference between a "Binary Semaphore" and a "Counting Semaphore"?
"बाइनरी सेमाफोर" और "काउंटिंग सेमाफोर" में क्या मुख्य अंतर है?
A
Binary semaphore is hardware, Counting is software
बाइनरी हार्डवेयर और काउंटिंग सॉफ्टवेयर है
B
Both can only hold the value 0
दोनों में केवल 0 होता है
C
Counting semaphore can only hold 0 or 1
काउंटिंग सेमाफोर में केवल 0 या 1 होता है
D
A Binary Semaphore can only take values 0 or 1 (like a lock), whereas a Counting Semaphore can take any non-negative integer value to manage multiple identical resources
बाइनरी सेमाफोर का मान केवल 0 या 1 हो सकता है, जबकि काउंटिंग सेमाफोर का मान कोई भी गैर-ऋणात्मक पूर्णांक हो सकता है
Correct
Solution Breakdown:
-> Binary semaphores provide mutual exclusion; counting semaphores control access to a pool of $N$ identical resources. -> Hence, Option (D) is the correct answer.
-> बाइनरी सेमाफोर 0 या 1 मान लेता है और काउंटिंग सेमाफोर अनेक संसाधनों का प्रबंधन करता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Prev 97 98 99 100 101 Next
ESSENTIAL STUDY KIT

Master Govt Exam PYQs Faster with Recommended Resources

Pair your daily MCQ practice with these educator-picked books, practice sets, and typing gear tailored for this syllabus.

Visit Exam Store
Dell KB216 Wired Multimedia USB Keyboard (Black)
Typing Keyboards Best for Mangal Typing Amazon
Dell KB216 Wired Multimedia USB Keyboard (Black)

Soft chiclet keys and zero lag — the best keyboard for UPP Computer Operator and DSSSB 40+ WPM Hindi/English typing tests.

₹299 ₹999 70% OFF
Affiliate Disclosure: HappyQuiz may earn a small commission on qualifying purchases at no extra cost to you.
Saved to your dashboard!