CN · Network Layer & IP interview questions

42 CN · Network Layer & IP questions from the Computer Science Fundamentals bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Sign up free to see every answer with its explanation and ask the AI tutor.

Practice CN · Network Layer & IP free

1. What is IPv4 address?

Junior
  1. A.a globally unique, Internet-routable address assigned to a host by an authority or provider
  2. B.the protocol that maps a known IP address to its MAC address on the local link
  3. C.a 32-bit logical address, written as four dotted decimals, that identifies a host on a network
  4. D.writing an address with a slash and prefix length, like /24, to express the network portion compactly

Answer + AI explanation with a free account

2. Which term means: "a 32-bit logical address, written as four dotted decimals, that identifies a host on a network"?

Junior
  1. A.default gateway
  2. B.TTL (time to live)
  3. C.IPv4 address
  4. D.subnet mask

Answer + AI explanation with a free account

3. Which statement is correct?

Junior
  1. A.IPv4 address — a 32-bit logical address, written as four dotted decimals, that identifies a host on a network
  2. B.IPv4 address — the router address a host sends packets to when the destination lies outside its own subnet
  3. C.IPv4 address — an IP header field decremented at each hop that discards a packet when it reaches zero to stop loops
  4. D.IPv4 address — a 32-bit value that splits an IP address into its network and host portions

Answer + AI explanation with a free account

4. What is IPv6 address?

Junior
  1. A.writing an address with a slash and prefix length, like /24, to express the network portion compactly
  2. B.translating private internal addresses to a public address so many hosts share one public IP
  3. C.a 128-bit logical address, written in eight hexadecimal groups, that vastly expands the address space
  4. D.routing builds the path-selection tables, while forwarding moves each arriving packet to the chosen next hop

Answer + AI explanation with a free account

5. Which term means: "a 128-bit logical address, written in eight hexadecimal groups, that vastly expands the address space"?

Junior
  1. A.TTL (time to live)
  2. B.IPv6 address
  3. C.fragmentation
  4. D.CIDR notation

Answer + AI explanation with a free account

6. Which statement is correct?

Junior
  1. A.IPv6 address — translating private internal addresses to a public address so many hosts share one public IP
  2. B.IPv6 address — an IP header field decremented at each hop that discards a packet when it reaches zero to stop loops
  3. C.IPv6 address — the protocol that maps a known IP address to its MAC address on the local link
  4. D.IPv6 address — a 128-bit logical address, written in eight hexadecimal groups, that vastly expands the address space

Answer + AI explanation with a free account

7. What is subnet mask?

Junior
  1. A.a globally unique, Internet-routable address assigned to a host by an authority or provider
  2. B.splitting an IP packet larger than the link MTU into smaller pieces reassembled at the destination
  3. C.a 32-bit value that splits an IP address into its network and host portions
  4. D.dividing one large network into smaller logical subnetworks by borrowing host bits for the network part

Answer + AI explanation with a free account

8. Which term means: "a 32-bit value that splits an IP address into its network and host portions"?

Junior
  1. A.private IP address
  2. B.ARP (Address Resolution Protocol)
  3. C.subnet mask
  4. D.CIDR notation

Answer + AI explanation with a free account

9. Which statement is correct?

Junior
  1. A.subnet mask — translating private internal addresses to a public address so many hosts share one public IP
  2. B.subnet mask — a 32-bit value that splits an IP address into its network and host portions
  3. C.subnet mask — splitting an IP packet larger than the link MTU into smaller pieces reassembled at the destination
  4. D.subnet mask — a 32-bit logical address, written as four dotted decimals, that identifies a host on a network

Answer + AI explanation with a free account

10. What is default gateway?

Junior
  1. A.a 32-bit logical address, written as four dotted decimals, that identifies a host on a network
  2. B.a globally unique, Internet-routable address assigned to a host by an authority or provider
  3. C.the router address a host sends packets to when the destination lies outside its own subnet
  4. D.writing an address with a slash and prefix length, like /24, to express the network portion compactly

Answer + AI explanation with a free account

11. Which term means: "the router address a host sends packets to when the destination lies outside its own subnet"?

Junior
  1. A.routing vs forwarding
  2. B.ARP (Address Resolution Protocol)
  3. C.subnet mask
  4. D.default gateway

Answer + AI explanation with a free account

12. Which statement is correct?

Junior
  1. A.default gateway — routing builds the path-selection tables, while forwarding moves each arriving packet to the chosen next hop
  2. B.default gateway — the router address a host sends packets to when the destination lies outside its own subnet
  3. C.default gateway — an IP header field decremented at each hop that discards a packet when it reaches zero to stop loops
  4. D.default gateway — a 32-bit logical address, written as four dotted decimals, that identifies a host on a network

Answer + AI explanation with a free account

13. What is subnetting?

Mid
  1. A.the router address a host sends packets to when the destination lies outside its own subnet
  2. B.dividing one large network into smaller logical subnetworks by borrowing host bits for the network part
  3. C.a network-layer protocol for diagnostics and error reporting, used by ping and traceroute
  4. D.a 128-bit logical address, written in eight hexadecimal groups, that vastly expands the address space

Answer + AI explanation with a free account

14. Which term means: "dividing one large network into smaller logical subnetworks by borrowing host bits for the network part"?

Mid
  1. A.private IP address
  2. B.CIDR notation
  3. C.subnetting
  4. D.default gateway

Answer + AI explanation with a free account

15. Which statement is correct?

Mid
  1. A.subnetting — routing builds the path-selection tables, while forwarding moves each arriving packet to the chosen next hop
  2. B.subnetting — a 128-bit logical address, written in eight hexadecimal groups, that vastly expands the address space
  3. C.subnetting — dividing one large network into smaller logical subnetworks by borrowing host bits for the network part
  4. D.subnetting — splitting an IP packet larger than the link MTU into smaller pieces reassembled at the destination

Answer + AI explanation with a free account

16. What is CIDR notation?

Mid
  1. A.routing builds the path-selection tables, while forwarding moves each arriving packet to the chosen next hop
  2. B.an IP header field decremented at each hop that discards a packet when it reaches zero to stop loops
  3. C.a globally unique, Internet-routable address assigned to a host by an authority or provider
  4. D.writing an address with a slash and prefix length, like /24, to express the network portion compactly

Answer + AI explanation with a free account

17. Which term means: "writing an address with a slash and prefix length, like /24, to express the network portion compactly"?

Mid
  1. A.fragmentation
  2. B.routing vs forwarding
  3. C.CIDR notation
  4. D.NAT (Network Address Translation)

Answer + AI explanation with a free account

18. Which statement is correct?

Mid
  1. A.CIDR notation — writing an address with a slash and prefix length, like /24, to express the network portion compactly
  2. B.CIDR notation — a network-layer protocol for diagnostics and error reporting, used by ping and traceroute
  3. C.CIDR notation — dividing one large network into smaller logical subnetworks by borrowing host bits for the network part
  4. D.CIDR notation — a 32-bit value that splits an IP address into its network and host portions

Answer + AI explanation with a free account

19. What is private IP address?

Mid
  1. A.a globally unique, Internet-routable address assigned to a host by an authority or provider
  2. B.a network-layer protocol for diagnostics and error reporting, used by ping and traceroute
  3. C.dividing one large network into smaller logical subnetworks by borrowing host bits for the network part
  4. D.an address from reserved ranges like 10.0.0.0/8 that is not routable on the public Internet

Answer + AI explanation with a free account

20. Which term means: "an address from reserved ranges like 10.0.0.0/8 that is not routable on the public Internet"?

Mid
  1. A.subnetting
  2. B.public IP address
  3. C.private IP address
  4. D.CIDR notation

Answer + AI explanation with a free account

21. Which statement is correct?

Mid
  1. A.private IP address — an address from reserved ranges like 10.0.0.0/8 that is not routable on the public Internet
  2. B.private IP address — translating private internal addresses to a public address so many hosts share one public IP
  3. C.private IP address — routing builds the path-selection tables, while forwarding moves each arriving packet to the chosen next hop
  4. D.private IP address — a network-layer protocol for diagnostics and error reporting, used by ping and traceroute

Answer + AI explanation with a free account

22. What is NAT (Network Address Translation)?

Mid
  1. A.an address from reserved ranges like 10.0.0.0/8 that is not routable on the public Internet
  2. B.a 128-bit logical address, written in eight hexadecimal groups, that vastly expands the address space
  3. C.routing builds the path-selection tables, while forwarding moves each arriving packet to the chosen next hop
  4. D.translating private internal addresses to a public address so many hosts share one public IP

Answer + AI explanation with a free account

23. Which term means: "translating private internal addresses to a public address so many hosts share one public IP"?

Mid
  1. A.NAT (Network Address Translation)
  2. B.default gateway
  3. C.ARP (Address Resolution Protocol)
  4. D.private IP address

Answer + AI explanation with a free account

24. Which statement is correct?

Mid
  1. A.NAT (Network Address Translation) — a globally unique, Internet-routable address assigned to a host by an authority or provider
  2. B.NAT (Network Address Translation) — translating private internal addresses to a public address so many hosts share one public IP
  3. C.NAT (Network Address Translation) — the protocol that maps a known IP address to its MAC address on the local link
  4. D.NAT (Network Address Translation) — writing an address with a slash and prefix length, like /24, to express the network portion compactly

Answer + AI explanation with a free account

25. What is ARP (Address Resolution Protocol)?

Mid
  1. A.a 128-bit logical address, written in eight hexadecimal groups, that vastly expands the address space
  2. B.a 32-bit logical address, written as four dotted decimals, that identifies a host on a network
  3. C.an IP header field decremented at each hop that discards a packet when it reaches zero to stop loops
  4. D.the protocol that maps a known IP address to its MAC address on the local link

Answer + AI explanation with a free account

26. Which term means: "the protocol that maps a known IP address to its MAC address on the local link"?

Mid
  1. A.ARP (Address Resolution Protocol)
  2. B.TTL (time to live)
  3. C.CIDR notation
  4. D.routing vs forwarding

Answer + AI explanation with a free account

27. Which statement is correct?

Mid
  1. A.ARP (Address Resolution Protocol) — an address from reserved ranges like 10.0.0.0/8 that is not routable on the public Internet
  2. B.ARP (Address Resolution Protocol) — dividing one large network into smaller logical subnetworks by borrowing host bits for the network part
  3. C.ARP (Address Resolution Protocol) — the protocol that maps a known IP address to its MAC address on the local link
  4. D.ARP (Address Resolution Protocol) — an IP header field decremented at each hop that discards a packet when it reaches zero to stop loops

Answer + AI explanation with a free account

28. What is ICMP?

Mid
  1. A.writing an address with a slash and prefix length, like /24, to express the network portion compactly
  2. B.the protocol that maps a known IP address to its MAC address on the local link
  3. C.a 32-bit value that splits an IP address into its network and host portions
  4. D.a network-layer protocol for diagnostics and error reporting, used by ping and traceroute

Answer + AI explanation with a free account

29. Which term means: "a network-layer protocol for diagnostics and error reporting, used by ping and traceroute"?

Mid
  1. A.fragmentation
  2. B.ICMP
  3. C.default gateway
  4. D.IPv6 address

Answer + AI explanation with a free account

30. Which statement is correct?

Mid
  1. A.ICMP — the router address a host sends packets to when the destination lies outside its own subnet
  2. B.ICMP — a network-layer protocol for diagnostics and error reporting, used by ping and traceroute
  3. C.ICMP — the protocol that maps a known IP address to its MAC address on the local link
  4. D.ICMP — writing an address with a slash and prefix length, like /24, to express the network portion compactly

Answer + AI explanation with a free account

Showing 30 of 42 CN · Network Layer & IP questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a free readiness check

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.

Practice CN · Network Layer & IP free
24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers