By signing in you confirm you are 18 or older, or have your parent’s or guardian’s consent.

CDS 2 2025 GK, question 82

Topic: Science and technology

Q82

What are the uses of software ports ?

  1. Connect client computer to server

  2. Connect external devices to computer

  3. Identify different services like email, file transfer

  4. Connecting peripherals like cameras, scanners

Select the answer using the code given below :

  1. (a) 1 and 2
  2. (b) 1 and 3Correct answer
  3. (c) 2 and 3
  4. (d) 2 and 4

Solution.

Answer: (b) 1 and 3

  1. A software (logical) port is a 16-bit number that identifies a particular process or service on a networked computer.
  2. Statement 1 is correct: a client connects to a server process through its port, such as port 443 for a secure web server.
  3. Statement 3 is correct: ports tell services apart, for example 25 for SMTP email and 21 for FTP file transfer.
  4. Statements 2 and 4 are incorrect: external devices and peripherals such as cameras and scanners plug into hardware ports like USB.