logo

AQA A-Level Computer Science practice

What is the role of a socket in the TCP/IP stack?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

The Transmission Control Protocol/Internet Protocol (TCP/IP)

Exam-style question

Try this first

What is the role of a socket in the TCP/IP stack?.

  1. A.It provides an endpoint for communication by associating an IP address with a port.
  2. B.It converts a MAC address into a programming language.
  3. C.It replaces all four TCP/IP layers with one layer.
  4. D.It permanently stores every packet sent across the internet.

Answer and explanation

Concise answer

It provides an endpoint for communication by associating an IP address with a port.

Why this is correct

A socket identifies an endpoint for network communication. The combination of an IP address and a port allows data to be directed to the appropriate device and process.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions