Save as PDF

Opens your browser print dialog — select "Save as PDF" to download.

Total No. of Questions: 8
Total No. of Printed Pages: 4
[2]
Roll No :

AD/CD/CS/SD-405 (GS)

B.Tech., IV Semester

Examination, June 2024

Grading System (GS)

Operating Systems

Time: Three Hours
Maximum Marks: 70

Note: i) Attempt any five questions.

किन्हीं पाँच प्रश्नों को हल कीजिए।

ii) All questions carry equal marks.

सभी प्रश्नों के समान अंक हैं।

iii) In case of any doubt or dispute the English version question should be treated as final.

किसी भी प्रकार के संदेह अथवा विवाद की स्थिति में अंग्रेजी भाषा के प्रश्न को अंतिम माना जावेगा।

1.

a) What are the five major activities of an operating system in regards to process management?

प्रक्रिया प्रबंधन के संबंध में एक ऑपरेटिंग सिस्टम की पाँच प्रमुख गतिविधियाँ क्या हैं?

2.

a) Why do some systems keep track of the type of file, while others leave it to the user or simply do not implement multiple file types? Which system is better?

कुछ सिस्टम, फाइल के प्रकार पर नज़र क्यों रखते हैं, जबकि अन्य उपयोगकर्ता पर छोड़ देते हैं या एकाधिक फाइल प्रकारों को लागू नहीं करते हैं? कौन सा सिस्टम बेहतर है?

b) Consider a file system on a disk that has both logical and physical block sizes of 512 bytes. Assume that the information about each file is already in memory. For each of three allocation strategy (continuous, linked and indexed), how is the logical to physical address mapping accomplished in this system? (for indexed allocation - assume that a file is always less than 512 blocks long).

एक डिस्क पर एक फाइल सिस्टम पर विचार करें जिसमें 512 बाइट्स के तार्किक और भौतिक दोनों ब्लॉक आकार हैं। मान लें कि प्रत्येक फाइल के बारे में जानकारी पहले से ही मेमोरी में है। तीन आवंटन रणनीतियों (निरंतर, लिंक और अनुक्रमित) में से प्रत्येक के लिए, इस प्रणाली में तार्किक से भौतिक पता मानचित्रण कैसे पूरा किया जाता है? (अनुक्रमित आवंटन के लिए मान लें कि एक फाइल हमेशा 512 ब्लॉक्स से कम लंबी होती है)।

3.

a) What resources are used when a thread is created? How do they differ from those when a process is created?

थ्रेड बनाते समय किन संसाधनों का उपयोग किया जाता है? जब कोई प्रक्रिया बनाई जाती है तो वे उनसे कैसे भिन्न होते हैं?

4.
Diagram for Question

a) In a multiprogramming and time sharing environment several users share system simultaneously. This situation can result in various security problems. Explain your answer?

मल्टीप्रोग्रामिंग और टाइम शेयरिंग वातावरण में कई उपयोगकर्ता एक साथ सिस्टम साझा करते हैं। इस स्थिति के परिणामस्वरूप विभिन्न सुरक्षा समस्याएँ उत्पन्न हो सकती हैं।

b) What are two such problems?

ऐसी दो समस्याएँ क्या हैं?

c) Can we ensure the same degree of security in a time shared machine as we have in a dedicated machine? Explain your answer?

क्या हम टाइम शेयरिंग मशीन में उतनी ही सुरक्षा सुनिश्चित कर सकते हैं जितनी एक डेडिकेटेड मशीन में होती है? अपना जवाब समझाएँ।

[3]
[4]
5.

a) What is the meaning of the term busy waiting? What another kind of waiting are there in an operating system? Can busy waiting be avoided altogether? Explain your answer.

व्यस्त प्रतीक्षा (बिजी वेटिंग) शब्द का क्या अर्थ है? ऑपरेटिंग सिस्टम में अन्य किस प्रकार की प्रतीक्षा होती है? क्या व्यस्त प्रतीक्ष�� (बिजी वेटिंग) से पूरी तरह बचा जा सकता है? अपना जवाब समझाएँ।

b) Consider the following segment table. Can a system detect that some page is missing? If your answer "Yes" explain how it can? If your answer "No, explain how the system can deal with the starvation problem.

Diagram for Question

निम्नलिखित तालिका पर विचार करें:

Find the physical address for the following logical address:

  1. 0430
  2. 110
  3. 2500
  4. 3400

निम्नलिखित तार्किक पते के ���िए भौतिक पते क्या हैं?

  1. 0430
  2. 110
  3. 2500
  4. 3400
6.

a) To build a robust distributed systems, you must know what kinds of failures can occur. List three possible types of failures in a distributed system.

एक मजबूत वितरित सिस्टम (डिस्ट्रिब्यूटेड सिस्टम) बनाने के लिए, आपको पता होना चाहिए कि किस प्रकार की वि��लताएँ हो सकती हैं। वितरित प्रणाली (डिस्ट्रिब्यूटेड सिस्टम) में तीन संभावित प्रकार की विफलताओं की सूची बनाएँ।

b) What are the benefits of a DFS when compared to a file system in a centralized system?

एक केंद्रीकृत प्रणाली में फाइल सिस्टम की तुलना में DFS के क्या लाभ हैं?

7.

a) Why Semaphore is important in OS? Explain Binary and counting semaphores with suitable example.

OS में सेमाफोर क्यों महत्वपूर्ण हैं? बाइनरी और काउंटिंग सेमाफोर को उपयुक्त उदाहरण के साथ समझाएँ।

b) What is Overlay? How to dynamic linking and loading perform in memory management?

ओवरले क्या है? मेमोरी प्रबंधन में डायनामिक लिंकिंग और लोडिंग कैसे करें?

8.

a) Write short notes on following (any two):

  1. Synchronization
  2. Paging
  3. System Calls

निम्नलिखित पर संक्षिप्त नोट्स लिखें (कोई दो):

  1. सिंक्रोनाइजेशन
  2. पेजिंग
  3. सिस्टम कॉल