arrow
arrow
arrow
Which statement correctly defines the Common Gateway Interface (CGI)?
Question

Which statement correctly defines the Common Gateway Interface (CGI)?

A.

A platform that acts as a standalone application to send and receive data.

B.

A program responsible for starting the server.

C.

A program that executes separately.

D.

Both (b) and (c).

E.

An interface that accepts and returns data and can be written in any language that produces an executable file.

Correct option is E

Common Gateway Interface (CGI) is a standard for web servers to execute external programs, typically to process user input and return dynamic content. CGI scripts can be written in languages like Python, Perl, and C.
Important Key Points:
1. CGI enables interaction between web servers and applications.
2. It supports dynamic web pages by processing user requests.
3. Produces outputs (e.g., HTML) to be sent back to the client.
Knowledge Booster:
· Platform: CGI is not standalone; it integrates with the web server.
· Server Startup: This is managed by system scripts, not CGI.
· Languages: CGI scripts can be written in any language capable of generating executable files.

Free Tests

Free
Must Attempt

RBI Asst Prelims 2026: Quant Advance level Test 01

languageIcon English
  • pdpQsnIcon35 Questions
  • pdpsheetsIcon35 Marks
  • timerIcon20 Mins
languageIcon English
Free
Must Attempt

RBI Asst Prelims 2026: Reasoning Advance level Test 01

languageIcon English
  • pdpQsnIcon35 Questions
  • pdpsheetsIcon35 Marks
  • timerIcon20 Mins
languageIcon English
Free
Must Attempt

NABARD Development Assistant Mains 2026 Full Mock Test -01

languageIcon English
  • pdpQsnIcon150 Questions
  • pdpsheetsIcon150 Marks
  • timerIcon105 Mins
languageIcon English
test-prime-package

Access ‘IBPS SO IT Officer’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
383k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow