Which protocol automatically assigns an IP address to a computer on a network?

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

Which protocol automatically assigns an IP address to a computer on a network? Answer: DHCP

DHCP automatically assigns IP addresses and other network configuration settings to devices on a network. It eliminates the need to manually configure an IP address on every computer.

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.