In web browsing, what is the primary purpose served by cookies?
वेब ब्राउज़िंग में, कुकीज द्वारा परोसा जाने वाला प्राथमिक उद्देश्य क्या है?
Answer और ExplanationAnswer and explanation
Answer: (B) To store small pieces of data on the user's device related to website preferences
क्यों
कुकी एक छोटी टेक्स्ट फ़ाइल है जिसे वेबसाइट आपके ब्राउज़र से रखने को कहती है। यह आपका लॉगिन, भाषा या शॉपिंग कार्ट याद रखती है, ताकि हर बार लौटने पर साइट आपको अजनबी न समझे।
अन्य विकल्प क्यों नहीं
•
(A) कुकी सादा डेटा है, प्रोग्राम नहीं, इसलिए वायरस की तरह चल या फैल नहीं सकती (हालाँकि ट्रैकिंग कुकी गोपनीयता की चिंता बढ़ाती हैं)।
•
(C) ब्राउज़र में ऑडियो मीडिया प्लेयर और कोडेक सँभालते हैं।
•
(D) फ़ाइल संपीड़न ZIP जैसे टूल करते हैं, कुकी नहीं।
इस प्रश्न के आस-पास
•
सेशन कुकी ब्राउज़र बंद होते ही मिट जाती हैं; परसिस्टेंट कुकी समाप्त होने तक रहती हैं।
•
फ़र्स्ट-पार्टी कुकी उसी साइट की होती हैं जिसे आप खोलते हैं; थर्ड-पार्टी कुकी दूसरे डोमेन की, प्रायः विज्ञापन के लिए।
•
कैश गति के लिए पेज फ़ाइलें रखता है; कुकी साइट के लिए आपके बारे में छोटा डेटा रखती हैं।
•
कैश और कुकी साफ़ करने से अक्सर न खुलने वाले या पुरानी सामग्री दिखाने वाले पेज ठीक हो जाते हैं, पर साइटों से लॉग-आउट हो जाते हैं।
Why
A cookie is a small text file that a website asks your browser to keep. It remembers things like your login, language or shopping cart, so that the site does not treat you as a stranger every time you return.
Why not the others
•
(A) A cookie is plain data, not a program, so it cannot run or spread as a virus (though tracking cookies raise privacy worries).
•
(C) Audio in a browser is handled by media players and codecs.
•
(D) File compression is done by tools such as ZIP, not by cookies.
Around this question
•
Session cookies vanish when the browser closes; persistent cookies stay until they expire.
•
First-party cookies come from the site you visit; third-party cookies come from other domains, often for advertising.
•
Cache stores page files for speed; cookies store small data about you for the site.
•
Clearing cache and cookies often fixes pages that fail to load or show old content, but you will be logged out of sites.
Source: Delhi Police Head Constable · 08 Jan 2026 · Shift 1। Solution: Prashant Sir, Sarvagya।Source: Delhi Police Head Constable · 08 Jan 2026 · Shift 1. Solution by Prashant Sir, from Sarvagya.