What is the main difference between a relative path and an absolute path?सापेक्ष पथ और पूर्ण पथ में मुख्य अंतर क्या है?
Answer and explanationउत्तर और व्याख्या
Correct answer:सही उत्तर: An absolute path gives the complete route from the root while a relative path is based on the current locationपूर्ण पथ मूल स्थान से पूरा मार्ग देता है जबकि सापेक्ष पथ वर्तमान स्थान के आधार पर मार्ग देता है
The governing concept is the reference point used to locate a file. An absolute path starts at a fixed root or drive and identifies the complete location independently of the current folder. A relative path describes the route from the current working folder, so the same text can identify different locations in different contexts. Therefore option B is correct; the other choices make false universal claims about paths.यह प्रश्न फाइल का स्थान बताने वाले संदर्भ-बिंदु की अवधारणा जाँचता है। पूर्ण पथ मूल निर्देशिका या ड्राइव से शुरू होकर फाइल का पूरा स्थान बताता है और वर्तमान फोल्डर पर निर्भर नहीं होता। सापेक्ष पथ वर्तमान कार्यशील फोल्डर से मार्ग बताता है, इसलिए अलग संदर्भों में उसका अर्थ बदल सकता है। अतः विकल्प B सही है; अन्य विकल्प पथों के बारे में गलत सामान्यीकरण करते हैं।
Student feedback
Was this question useful?
👍 0 Helpful 👎 0 Not helpful
Yes 0% No 0%
0 responsesStudent Reviews
No published reviews yet.