TCP/IP Questions and Answers
TCP/IP (Transmission Control Protocol/Internet Protocol) is the core communication suite of the internet. It is a common topic in programming interview questions with answers for networking roles at Cisco, Infosys, and TCS. TCP ensures reliable data transmission, while IP manages addressing and routing. Understanding layers, handshakes, and error control mechanisms is essential for both network engineers and developers. Practicing network programming and TCP/IP interview questions with answers sharpens your conceptual clarity and boosts your readiness for placement tests.
TCP/IP
Showing 10 of
19 questions
11. Which of the following is the decimal and hexadecimal equivalents of the binary number 10011101?
- 155, 0x9B
- 157, 0x9D
- 159, 0x9F
- 185, 0xB9
12. Which statements are true regarding ICMP packets? They acknowledge receipt of a TCP segment. They guarantee datagram delivery. They can provide hosts with information about network problems. They are encapsulated within IP datagrams.
- 1 only
- 2 and 3
- 3 and 4
- 2, 3 and 4
13. Which of the following are layers in the TCP/IP model? Application Session Transport Internet Data Link Physical
- 1 and 2
- 1, 3 and 4
- 2, 3 and 5
- 3, 4 and 5
15. Which statements are true regarding ICMP packets? ICMP guarantees datagram delivery. ICMP can provide hosts with information about network problems. ICMP is encapsulated within IP datagrams. ICMP is encapsulated within UDP datagrams.
- 1 only
- 2 and 3
- 1 and 4
- All of the above
16. Which of the following are TCP/IP protocols used at the Application layer of the OSI model? IP TCP Telnet FTP TFTP
- 1 and 3
- 1, 3 and 5
- 3, 4 and 5
- All of the above
17. What protocol is used to find the hardware address of a local device?
- RARP
- ARP
- IP
- ICMP
19. What is the address range of a Class B network address in binary?
- 01xxxxxx
- 0xxxxxxx
- 10xxxxxx
- 110xxxxx