StudyFox
कीमतेंब्लॉगएक्सटेंशनमुफ़्त टूल
  • कीमतें
  • ब्लॉग
  • एक्सटेंशन
  • मुफ़्त टूल
  • शुरू करेंसाइन इन
StudyFox

अपने नोट्स, PDF और स्लाइड्स को फ़्लैशकार्ड, क्विज़, नोट्स और माइंड मैप में बदलें।

StudyFox खोलें

स्टडी टूल्स

  • होमवर्क हेल्पर
  • नोट मेकर
  • फ़्लैशकार्ड मेकर
  • क्विज़ मेकर
  • माइंड मैप मेकर

प्रोडक्ट

  • कीमतें
  • Chrome एक्सटेंशन
  • मुफ़्त एक्सटेंशन
  • स्टडी सेट देखें
  • ब्लॉग

सहायता

  • सहायता केंद्र
  • संपर्क करें
  • गोपनीयता नीति
  • सेवा की शर्तें

तुलना करें

  • Chegg का विकल्प
  • Course Hero का विकल्प
  • Coursology का विकल्प
  • Photomath का विकल्प
  • Gauthmath का विकल्प
  • PhotoSolve का विकल्प
  • CollegeTools का विकल्प
  • Transcript का विकल्प
  • SmartSolve का विकल्प
  • Homeworkify का विकल्प
  • AnswersAi का विकल्प
  • StudyX का विकल्प
  • Quizlet का विकल्प
  • Anki का विकल्प
  • Knowt का विकल्प
  • Brainscape का विकल्प
  • सभी तुलनाएँ

© 2026 StudyFox AI. सर्वाधिकार सुरक्षित।

  • X
  • Discord
  • Instagram
ExploreEngineering & TechComputer ScienceComputer Networking: OSI Model, TCP/IP and Subnetting

Quiz · Medium

Computer Networking: OSI Model, TCP/IP and Subnetting

OSI layers, TCP vs UDP, the three-way handshake, DNS, DHCP, ARP, NAT, common ports, IPv4 vs IPv6 and subnet math. Good for networking courses and CompTIA Network+ prep.

by Kill h.15 questionsCreated Nov 8, 2026, 08:04 PM
Computer Science· Computer NetworksTags#networking#osi-model#tcp-ip#subnetting

15 questions

  1. 1

    In the OSI model shown, at which layer does TCP operate?

    • A

      Layer 3, Network

    • B

      Layer 7, Application

    • Layer 4, Transport

    • D

      Layer 2, Data Link

    TCP and UDP are transport protocols: they handle end-to-end delivery between applications using port numbers. IP, which routes packets between networks, is at layer 3.

  2. 2

    At which OSI layer does a router forward packets using IP addresses?

    • A

      Layer 2, Data Link

    • Layer 3, Network

    • C

      Layer 4, Transport

    • D

      Layer 1, Physical

    Routers read IP addresses and choose paths between networks (layer 3). Switches forward frames within a local network using MAC addresses (layer 2).

  3. 3

    Which protocol is usually preferred for live video calls and online games?

    • A

      TCP, because it guarantees every packet arrives in order

    • B

      ICMP, because it is the fastest

    • C

      FTP, because it handles streaming

    • UDP, because it has low overhead and does not wait to resend lost packets

    In real-time media, a late packet is useless, so retransmitting it (as TCP does) only adds delay. UDP lets the app skip lost data and keep going. TCP suits web pages, email and file transfers, where every byte matters.

  4. 4

    What is the order of the TCP three-way handshake?

    • A

      ACK → SYN → SYN-ACK

    • B

      SYN → ACK → FIN

    • C

      HELLO → ACK → READY

    • SYN → SYN-ACK → ACK

    The client sends SYN, the server replies SYN-ACK, and the client confirms with ACK. Both sides have now agreed on starting sequence numbers. FIN is used to close a connection.

  5. 5

    What does DNS do?

    • A

      Assigns IP addresses to devices on a network

    • B

      Encrypts web traffic

    • Translates domain names like example.com into IP addresses

    • D

      Maps IP addresses to MAC addresses

    DNS is the internet's phone book and normally uses port 53. Assigning addresses is DHCP's job, and mapping IP to MAC is ARP's.

  6. 6

    Which port does HTTPS use by default?

    • A

      80

    • B

      22

    • C

      25

    • 443

    HTTPS uses 443. HTTP uses 80, SSH 22 and SMTP 25. Common ports come up often in IT certification exams.

  7. 7

    How long are IPv4 and IPv6 addresses?

    • A

      IPv4 is 64 bits; IPv6 is 128 bits

    • IPv4 is 32 bits; IPv6 is 128 bits

    • C

      IPv4 is 32 bits; IPv6 is 64 bits

    • D

      Both are 48 bits

    IPv4 gives about 4.3 billion () addresses, which ran out. IPv6 gives . 48 bits is the length of a MAC address.

  8. 8

    How many usable host addresses are in a /24 subnet such as 192.168.1.0/24?

    • A

      256

    • B

      255

    • 254

    • D

      24

    A /24 leaves 8 host bits: addresses. Subtract 2, the network address (.0) and the broadcast address (.255), to get 254 usable hosts.

  9. 9

    How many usable host addresses are in a /26 subnet?

    • A

      64

    • B

      30

    • C

      126

    • 62

    32 − 26 = 6 host bits, so addresses, minus 2 for network and broadcast = 62. A /27 gives 30, and a /25 gives 126.

  10. 10

    Which of these is a private IPv4 address?

    • 192.168.1.10

    • B

      8.8.8.8

    • C

      172.32.0.5

    • D

      11.0.0.1

    The private ranges are 10.0.0.0/8, 172.16.0.0/12 (172.16–172.31) and 192.168.0.0/16. 172.32.0.5 is just outside the 172 range, a common trick. 8.8.8.8 is Google's public DNS.

  11. 11

    A laptop joins Wi-Fi and automatically receives an IP address, subnet mask, gateway and DNS server. Which protocol did that?

    • A

      DNS

    • DHCP

    • C

      ARP

    • D

      NAT

    DHCP hands out network settings through the DORA exchange: Discover, Offer, Request, Acknowledge. DNS only resolves names.

  12. 12

    A host knows the IP address of another device on its local network but needs its MAC address to send a frame. Which protocol does it use?

    • A

      DNS

    • B

      DHCP

    • ARP

    • D

      ICMP

    ARP broadcasts "who has this IP?" and the owner replies with its MAC address, which is then cached. DNS maps names to IPs, not IPs to MACs.

  13. 13

    What does NAT on a home router do?

    • Translates many private internal addresses to one public IP address

    • B

      Assigns domain names to devices

    • C

      Encrypts all outgoing traffic

    • D

      Blocks all incoming traffic

    NAT rewrites the source address (and port) of outgoing packets and tracks the mappings so replies get back to the right device. It is a big reason IPv4 has lasted this long.

  14. 14

    A browser gets HTTP status code 404. What does it mean?

    • A

      The server had an internal error

    • B

      The resource moved permanently

    • The server could not find the requested resource

    • D

      The request succeeded

    4xx codes are client errors, and 404 is Not Found. 500 is an internal server error, 301 is Moved Permanently, and 200 is OK.

  15. 15

    What is a default gateway?

    • A

      The DNS server a host uses first

    • B

      The switch port a host is plugged into

    • C

      The MAC address of the host's network card

    • The router address a host sends traffic to when the destination is outside its local subnet

    Hosts deliver local traffic directly. Anything for another network goes to the default gateway, usually the router, which forwards it on. A wrong gateway means local access works but the internet does not.