What problem may occur if two programs modify the same shared file at the same time?एक साझा फाइल को दो कार्यक्रम एक साथ बदलें तो कौन सी समस्या हो सकती है?
Answer and explanationउत्तर और व्याख्या
Correct answer:सही उत्तर: Conflicting changes or data inconsistencyपरस्पर विरोधी बदलाव या आँकड़ा असंगति
The governing concept is concurrent access to shared data. When two programs write the same file simultaneously without suitable coordination, one update may overwrite part of the other, or the final contents may combine incompatible changes. This can produce data inconsistency or corruption. A file lock, controlled synchronization, or transaction mechanism can reduce the risk. The display and memory claims are unrelated, so C is correct.मुख्य अवधारणा साझा आँकड़ों तक एक साथ पहुँच है। यदि दो कार्यक्रम बिना समन्वय के एक ही फाइल में उसी समय लिखें, तो एक कार्यक्रम का बदलाव दूसरे को मिटा सकता है या दोनों के असंगत बदलाव मिल सकते हैं। इससे आँकड़ा असंगति अथवा फाइल में खराबी उत्पन्न हो सकती है। फाइल ताला और उचित समन्वयन इस जोखिम को घटाते हैं। मॉनिटर और स्मृति वाले विकल्प असंबंधित हैं, इसलिए C सही है।
Student feedback
Was this question useful?
👍 0 Helpful 👎 0 Not helpful
Yes 0% No 0%
0 responsesStudent Reviews
No published reviews yet.