Module 1 Flashcards
What is the OSI model?
The OSI (Open Systems Interconnection) model is a framework for understanding how communications protocols work. It divides the process of transmitting data over a network into seven layers, each with a specific function.
How many layers does the OSI model have?
The OSI model has seven layers.
What is the function of the Physical layer in the OSI model?
The Physical layer deals with the physical connection between devices, such as cables and switches.
What is the function of the Data Link layer in the OSI model?
The Data Link layer deals with the transmission of data over a physical connection. It is responsible for creating and interpreting packets of data, and providing error checking and correction.
What is the function of the Network layer in the OSI model?
The Network layer deals with the routing of packets between devices. It is responsible for determining the best path for data to take across a network.
What is the function of the Transport layer in the OSI model?
The Transport layer provides end-to-end communication between applications running on different devices. It is responsible for ensuring that data is delivered reliably and in the correct order.
What is the function of the Session layer in the OSI model?
The Session layer establishes, maintains, and terminates connections between applications.
What is the function of the Presentation layer in the OSI model?
The Presentation layer deals with the format of the data being transmitted, such as converting it between different types of encoding.
What is the function of the Application layer in the OSI model?
The Application layer is the top layer, which provides the interface for applications to access the network and send and receive data.
What is the TCP/IP protocol suite?
The TCP/IP (Transmission Control Protocol/Internet Protocol) protocol suite is a set of protocols that are used to transmit data over networks, including the internet. It is the foundation of all internet communication and is based on the four-layer conceptual model (also known as the “Internet Protocol Suite”).
How many layers does the TCP/IP model have?
The TCP/IP model has four layers.
What is the function of the Link Layer in the TCP/IP model?
The Link Layer corresponds to the Data Link layer in the OSI model. It is responsible for establishing and maintaining the physical link between devices, such as through the use of Ethernet.
What is the function of the Internet Layer in the TCP/IP model?
The Internet Layer corresponds to the Network layer in the OSI model. It is responsible for routing packets of data between devices, through the use of the IP (Internet Protocol).
What is the function of the Transport Layer in the TCP/IP model?
The Transport Layer corresponds to the Transport layer in the OSI model. It is responsible for providing end-to-end communication between applications, through the use of the TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).
What is the function of the Application Layer in the TCP/IP model?
The Application Layer corresponds to the Application layer in the OSI model. It is responsible for providing interfaces for applications to access the network and send and receive data. Examples of protocols at this layer include HTTP, FTP, DNS, and SMTP.
Is the TCP/IP protocol suite only used on the Internet?
No, the TCP/IP protocol suite is widely adopted as a standard for communication over networks and it’s also commonly used in local area networks (LANs) and wide area networks (WANs).
What is the TCP protocol?
TCP (Transmission Control Protocol) is a transport layer protocol used to establish a reliable, ordered and error-checked channel between two devices for the communication of data. It is one of the core protocols of the Internet Protocol (IP) suite, and is used by many of the most popular internet applications.
How does TCP establish a connection?
TCP is a connection-oriented protocol. When a device wants to establish a connection with another device, it sends a TCP packet called a SYN (synchronize) packet to initiate the connection. The receiving device responds with a SYN-ACK (synchronize-acknowledge) packet to confirm that the connection has been established.
How does TCP exchange data?
Once the connection is established, the devices can exchange data by sending TCP packets, which include a sequence number and an acknowledgement number. The sequence number is used to keep track of the order of the packets, and the acknowledgement number is used to confirm that packets have been received.
How does TCP close a connection?
When the communication is finished, the connection is closed by sending a FIN (finish) packet from one device to the other, which will be acknowledged with an ACK packet.
What is the main advantage of TCP?
TCP is considered a reliable protocol because it guarantees that packets will be delivered to their destination in the correct order and without errors, if any error occurs, it will retransmit the packet.
What is the main disadvantage of TCP?
The main disadvantage of TCP is that it has a higher overhead and it’s slower than the UDP protocol.
What is the UDP protocol?
UDP (User Datagram Protocol) is a transport layer protocol that is used to send data over a network. It is a connectionless protocol, which means that it does not establish a virtual connection before exchanging data.
How does UDP differ from TCP in terms of error checking and retransmission?
Unlike TCP, UDP does not provide any error-checking or retransmission of lost packets. This means that UDP packets may be lost, duplicated or delivered out of order and the sender or receiver have no way to know it. Because of this, UDP is considered an unreliable protocol.