What is the main purpose of file locking?फाइल लॉकिंग का मुख्य उद्देश्य क्या है?
Answer and explanationउत्तर और व्याख्या
Correct answer:सही उत्तर: Prevent conflicting simultaneous editsएक साथ होने वाले असंगत संपादनों से बचाना
The governing concept is controlled concurrent access. A file lock signals that a process or user is reading or modifying a file, allowing the system to restrict conflicting operations or coordinate them. Thus option D is correct because it helps prevent lost updates and inconsistent data. Locking does not enlarge, rename, or hide a file, so A, B, and C are incorrect.मुख्य अवधारणा समवर्ती पहुँच का नियंत्रण है। फाइल लॉक यह संकेत देता है कि कोई प्रक्रिया या उपयोगकर्ता फाइल पढ़ या बदल रहा है। इससे प्रणाली विरोधी कार्यों को रोक या व्यवस्थित कर सकती है और पुराने डेटा के ऊपर नया डेटा लिखे जाने का जोखिम घटता है। इसलिए विकल्प D सही है। लॉकिंग आकार, विस्तार या दृश्यता नहीं बदलती।
Student feedback
Was this question useful?
👍 0 Helpful 👎 0 Not helpful
Yes 0% No 0%
0 responsesStudent Reviews
No published reviews yet.