What is the primary function of a Gateway in networking?

Review the verified answer and explanation for this PPSC Punjab Public Service Commission past-paper question on CampusFin.

What is the primary function of a Gateway in networking? Answer: To connect two different networks with different protocols

A gateway connects two different networks that may use different communication protocols or architectures. It acts as an entry and exit point, forwarding data between networks and enabling communication between them.

Question context

This question is part of 🌐 Networking within the broader 💾 Computer Science subject and appears in the PPSC Punjab Public Service Commission preparation collection. Reviewing the answer together with nearby questions helps reinforce the underlying concept and identify how it may appear in competitive exams.