सामान्य विज्ञान व तंत्रज्ञान ASO Mains 2012 MEDIUM

................हा एक असा प्रचलित प्रोग्रॅम आहे जो HTTP पद्धती (GET आणि POST) आणि एनविरॉनमेंट व्हेरीएबल (परिवर्ती) वापरून बाहेरील प्रोग्रॅमला माहिती पाठवितो, तसेच ज्या संरूपामध्ये ब्राऊजर समजू शकतो, त्या संरूपामध्ये योग्य HTTP शिर्षक (हेडर) वापरून परिणाम परत पाठवितो.

EN ................ is a standard specification that uses HTTP methods (GET and POST) and environment variables to pass data to an external program and return the formatted output with appropriate HTTP headers to the browser:
A
ASP
B
JSP
✓
CGI
✓ योग्य उत्तर (Correct Answer)
D
HTML
जाहिरात • ADVERTISEMENT
verified योग्य उत्तर: पर्याय (3) - सविस्तर स्पष्टीकरण

योग्य उत्तर: पर्याय (3) CGI (Common Gateway Interface)

स्पष्टीकरण:

वेब सर्व्हरवर बाहेरील प्रोग्रॅम्स चालवून ब्राऊझर आणि सर्व्हर-साईड प्रोग्रॅम्स यांच्यात संवाद घडवून आणण्यासाठी प्रमाणित मानली जाणारी यंत्रणा म्हणजे CGI (Common Gateway Interface) होय:

• CGI चे कार्य:
• जेव्हा एखादा वापरकर्ता वेबपेजवरील फॉर्म भरून सबमिट करतो (GET किंवा POST पद्धतीद्वारे), तेव्हा वेब सर्व्हर तो डेटा CGI प्रोग्रॅमकडे (उदा. Perl, C, C++, Python मधील स्क्रिप्ट) पाठवतो.
• हा डेटा पाठवण्यासाठी सर्व्हर पर्यावरण परिवर्तींचा (Environment Variables) आणि स्टँडर्ड इनपुटचा (stdin) वापर करतो.
• CGI प्रोग्रॅम त्या डेटावर प्रक्रिया करतो (उदा. डेटाबेसमध्ये नोंद करणे) आणि योग्य HTTP हेडरसह (उदा. `Content-Type: text/html`) तयार केलेले निकाल वेब सर्व्हरमार्फत ब्राऊझरकडे परत पाठवतो.
• इतर पर्याय:
• *ASP / JSP:* मायक्रोसॉफ्ट आणि जावाच्या आधुनिक सर्व्हर-साईड स्क्रिप्टिंग तंत्रज्ञानाचे प्रकार.
• *HTML:* केवळ वेबपेजची रचना करणारी मार्कअप भाषा.
💡 MPSC परीक्षा टीप परीक्षेसाठी महत्त्वपूर्ण संकल्पना व शॉर्टकट

CGI ची निर्मिती 1993 मध्ये NCSA (National Center for Supercomputing Applications) द्वारे वेब सर्व्हरला अधिक गतिमान (Dynamic) बनवण्यासाठी करण्यात आली होती.

translate English Explanation / स्पष्टीकरण:

Correct Answer: Option (3) CGI

Explanation:

The standard protocol specification that enables a web server to communicate with external application scripts using HTTP request methods (GET/POST) and environment variables is CGI (Common Gateway Interface):

• Operational Mechanism of CGI:
• When a client submits an HTML form via HTTP GET or POST, the web server executes a designated CGI program (written in languages like Perl, C, or Python).
• The server passes request metadata through environment variables (e.g., `QUERY_STRING`, `REQUEST_METHOD`, `REMOTE_ADDR`) and user data through standard input (`stdin`).
• The CGI executable processes the transaction and writes standard output (`stdout`) incorporating appropriate HTTP headers (e.g., `Content-Type: text/html; charset=utf-8`) back to the web server, which routes it to the client browser.
• Other technologies:
• *ASP (Active Server Pages) & JSP (JavaServer Pages):* Server-side scripting frameworks that embed code directly inside HTML.
• *HTML:* Static document formatting markup.
💡 MPSC EXAM TIP High-Yield Exam Strategy Tip

CGI was developed in 1993 by the NCSA (National Center for Supercomputing Applications) for the NCSA HTTPd web server to enable dynamic content generation.

जाहिरात • ADVERTISEMENT

📱 ५०,०००+ MPSC सराव प्रश्न व टेस्ट सिरीज मोफत!

MPSC गट-क, गट-ब आणि राज्यसेवा परीक्षेच्या सर्व मागील वर्षांच्या प्रश्नपत्रिका (PYQs) थेट मोबाईलवर सोडवा.

Google Play वरून ॲप मिळवा 📲
📄 MPSC मागील वर्षांच्या अधिकृत प्रश्नपत्रिका व आन्सर की डाऊनलोड करा:

२००२ ते २०२६ पर्यंतच्या सर्व संयुक्त गट-ब, गट-क व राज्यसेवा प्रश्नपत्रिका PDF मोफत उपलब्ध.

सर्व प्रश्नपत्रिका PDF (Year Wise) → Combine Study Guide →