1) What is a socket in computer networks?
- A socket is network topology to manage a network of devices
- A socket is the combination of IP address and port
- A socket is a network line configuration
- None of the above
Correct answer: 2
A socket is the combination of IP address and port.
Explanation:
A socket is the combination of IP address and port used to communicate between two devices.
2) How many ports can be used in network devices?
- 1024
- 32767
- 65535
- 65536
Correct answer: 4
65536
Explanation:
We can use 65536 ports for communication between devices.
3) What is the maximum number for a port number in computer networks?
- 1024
- 32767
- 65535
- 65536
Correct answer: 3
65535
Explanation:
The maximum port number is 65535 in a computer network.
4) What is the correct range of specific well-known ports, like 80 for HTTP in computer networks?
- 0 – 1023
- 1024 – 49151
- 49152 – 65535
- All the above
Correct answer: 1
0 – 1023
Explanation:
The range 0 - 1023 is used for specific well-known ports.
5) How can we get a list of active ports in the Windows operating system?
- Using netstate –a command from the command line
- Using netstat –a command from the command line
- Using getports -a command from the command line
- None of the above
Correct answer: 2
Using netstat –a command from the command line
Explanation:
In the given options 2nd option is the correct way to get a list of active ports.