1. Home
  2. Explore
  3. Computer Science
  4. TCP/IP Model Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

TCP/IP Model Overview

  • 31Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Protocols and Standards

What is a protocol in networking?

31 questions

  1. 1

    What is a protocol in networking?

    Model answer

    A protocol is a set of rules defining how data should be communicated between devices over a network.

    Explanation

    Protocols are the languages that computers use to communicate; without a common protocol, devices cannot exchange data.

  2. 2

    Why are vendor-neutral standards important in networking?

    Model answer

    Vendor-neutral standards allow devices from different manufacturers to communicate with each other by following agreed-upon specifications.

    Explanation

    Without standards, each vendor's proprietary protocols would be incompatible, making cross-vendor communication difficult or impossible.

  3. 3

    What was the name of the early network that evolved into today's Internet, and what protocol did it initially use?

    Model answer

    ARPANET; it initially used NCP (Network Control Program).

    Explanation

    ARPANET came online in 1969 and used NCP before TCP/IP was developed.

  4. 4

    Who developed the early version of TCP, and when did ARPANET fully switch to TCP/IP?

    Model answer

    Vint Cerf and Bob Kahn developed TCP in 1974; ARPANET fully switched to TCP/IP on January 1, 1983.

    Explanation

    TCP was later split into TCP and IP, forming the foundation of the TCP/IP suite.

  5. 5

    Name the two main standards organizations for networking and one key standard each develops.

    Model answer

    IEEE develops Ethernet (802.3) and Wi-Fi (802.11); IETF defines protocols like TCP, IP, UDP, HTTP, and DNS.

    Explanation

    The IEEE focuses on LAN technologies while the IETF focuses on Internet protocols; both create open standards.

  6. 6

    What is an RFC, and which organization publishes them?

    Model answer

    An RFC (Request for Comments) is a document that publishes Internet standards; they are published by the IETF.

    Explanation

    RFCs are freely available online and define protocols like TCP and IP.

  7. 7

    What is the purpose of a layered networking model?

    Model answer

    A layered model groups related network functions into layers, where each layer has a specific role, uses services from the layer below, and provides services to the layer above.

    Explanation

    Layering helps organize complex networking tasks and allows modularity and interoperability.

  8. 8

    In the mail analogy, what does each layer represent in the TCP/IP model?

    Model answer

    The Content layer corresponds to the Application layer, the Recipient layer to the Transport layer, the Address layer to the Internet layer, the Local Delivery layer to the Local Network layer, and the Infrastructure layer to the Physical layer.

    Explanation

    The mail analogy helps visualize how each layer has a distinct role in delivering messages.

  9. 9

    What is the difference between the four-layer TCP/IP model and the five-layer model used in this course?

    Model answer

    The five-layer model splits the Link layer into a Local Network layer and a Physical layer, whereas the four-layer model combines them.

    Explanation

    The five-layer model provides clearer separation between logical and physical aspects of local delivery.

  10. 10

    What is the role of the Physical layer (Layer 1)?

    Model answer

    The Physical layer sends and receives bits as electrical, optical, or radio signals over the physical medium.

    Explanation

    It defines cables, connectors, signal levels, and link speeds.

  11. 11

    What is a hop in networking, and do switches count as hops?

    Model answer

    A hop is one step along the path between two devices, such as from one router to the next; switches do not count as hops.

    Explanation

    Switches extend the local network but do not forward packets between networks, so they are not considered hops.

  12. 12

    What is the role of the Local Network layer (Layer 2)?

    Model answer

    The Local Network layer provides hop-to-hop delivery within a local area network using MAC addresses and switches.

    Explanation

    It ensures messages are passed from one device to the next within the same LAN, using protocols like Ethernet and Wi-Fi.

  13. 13

    What are the two key protocols at the Local Network layer?

    Model answer

    Ethernet and Wi-Fi.

    Explanation

    These are the most common Layer 2 protocols for wired and wireless local networks.

  14. 14

    What is a MAC address and where is it used?

    Model answer

    A MAC (Media Access Control) address is a unique identifier assigned to a network interface, used for local delivery within a LAN at Layer 2.

    Explanation

    MAC addresses are used to frame delivery between directly connected devices.

  15. 15

    What is the role of the Internet layer (Layer 3)?

    Model answer

    The Internet layer provides end-to-end delivery between hosts across multiple networks using IP addresses and routers.

    Explanation

    It focuses on getting the message from source to destination host, ignoring individual hops.

  16. 16

    Name two protocols that operate at the Internet layer.

    Model answer

    IP (v4 and v6) and ICMP.

    Explanation

    IP handles addressing and routing; ICMP provides error reporting and diagnostics.

  17. 17

    How does a router use IP addresses?

    Model answer

    Routers examine the destination IP address in a packet to forward it toward the destination host.

    Explanation

    Routers operate primarily at Layer 3, using IP addresses for routing decisions.

  18. 18

    What is the role of the Transport layer (Layer 4)?

    Model answer

    The Transport layer provides end-to-end communication between application processes using port numbers.

    Explanation

    It uses port numbers to deliver data to the correct process on the destination host.

  19. 19

    What is a port number in the Transport layer?

    Model answer

    A port number is a numeric identifier used to identify a specific process or service on a host.

    Explanation

    For example, port 80 is typically used by web servers, and port 21 by file servers.

  20. 20

    Name the two most prominent Transport layer protocols.

    Model answer

    TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).

    Explanation

    TCP provides reliable, connection-oriented service; UDP provides connectionless, unreliable but faster service.

  21. 21

    What is the role of the Application layer (Layer 5/7)?

    Model answer

    The Application layer defines how application processes format, send, and interpret data for network communication.

    Explanation

    It includes protocols like HTTP, FTP, and email protocols that application use to exchange data.

  22. 22

    Name three Application layer protocols and their typical uses.

    Model answer

    HTTP/HTTPS for web browsing, FTP for file transfers, and SMTP/POP3/IMAP for email.

    Explanation

    These protocols define message formats and rules for specific application tasks.

  23. 23

    What is encapsulation in the TCP/IP model?

    Model answer

    Encapsulation is the process where each layer adds a header (and sometimes a trailer) to the data as it moves down the stack before transmission.

    Explanation

    Headers contain control information needed by the corresponding layer on the receiving device.

  24. 24

    What is decapsulation?

    Model answer

    Decapsulation is the process of removing headers and trailers layer by layer as the message moves up the stack at the receiving device.

    Explanation

    It reverses encapsulation to deliver the original data to the application.

  25. 25

    What are the names of the PDUs at Layers 2, 3, and 4?

    Model answer

    At Layer 2: frame; at Layer 3: packet; at Layer 4: segment (TCP) or datagram (UDP).

    Explanation

    These terms refer to the data unit at each layer after encapsulation.

  26. 26

    What is a payload in the context of PDUs?

    Model answer

    The payload is the contents of a PDU excluding that layer's own header and trailer.

    Explanation

    For example, in a frame, the payload is the packet; in a packet, the payload is the segment or datagram.

  27. 27

    Explain adjacent-layer interaction.

    Model answer

    Adjacent-layer interaction is when each layer provides a service to the layer directly above and uses services from the layer directly below.

    Explanation

    For example, the Transport layer provides process-to-process service to the Application layer using the Internet layer's host-to-host delivery.

  28. 28

    Explain same-layer interaction.

    Model answer

    Same-layer interaction is when the same layer on two different devices communicate with each other using their respective headers.

    Explanation

    For example, the Transport layer on one host sends segments addressed to the Transport layer on the destination host using port numbers.

  29. 29

    How many layers does the OSI model have, and what are they?

    Model answer

    The OSI model has 7 layers: Application, Presentation, Session, Transport, Network, Data Link, Physical.

    Explanation

    Though developed by ISO, the OSI model is now mainly used as a reference and teaching tool.

  30. 30

    Why did TCP/IP become dominant over OSI?

    Model answer

    TCP/IP used a bottom-up approach and was simpler to implement, while OSI's top-down, bureaucratic process produced complex protocols that were deployed too late.

    Explanation

    TCP/IP's practical, open standards proved more successful in real-world networks.

  31. 31

    What is a key benefit of the layered model regarding protocol changes?

    Model answer

    Because layers are modular, protocols at one layer can be changed or improved without affecting the other layers, as long as they maintain the same interface.

    Explanation

    For example, switching from Ethernet to Wi-Fi at Layers 1 and 2 does not require changes to TCP or HTTP.

1 of 31
Question 1 of 31

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent