Computer Networks Lecture 10: Data Link Layer

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What mechanism for error detection involves appending a redundant bit to every data unit to make the total number of 1s in the unit even?

  • Logical Link Control (LLC)
  • Two-dimensions Parity Check
  • Cyclic Redundancy Check (CRC)
  • Simple Parity Checking (correct)

Which sublayer of the data link layer is responsible for hardware addressing mechanism and controlling physical media access?

  • 802.11 for wireless links
  • Logical Link Control (LLC)
  • Point-to-Point Protocol (PPP)
  • Media Access Control (MAC) (correct)

What is the term used to describe an error where two or more bits in the data unit have changed from 0 to 1 or vice-versa, without necessarily occurring in consecutive bits?

  • Burst Error (correct)
  • Error Correction
  • Flow Control
  • Single-bit Error

Which data link layer protocol is commonly used for wireless links?

<p>802.11 (D)</p> Signup and view all the answers

Which error detection mechanism organizes the block of bits in a table and calculates parity check bits for each row and column to not only detect but also correct errors?

<p>Two-dimensions Parity Check (C)</p> Signup and view all the answers

What is the responsibility of the data link layer?

<p>Transferring datagram from one node to physically adjacent node over a link (A)</p> Signup and view all the answers

What does the data link layer do with packets from the network layer?

<p>Encapsulates them into frames (B)</p> Signup and view all the answers

Which hardware example illustrates the implementation of the data link layer?

<p>Ethernet card and 802.11 card (A)</p> Signup and view all the answers

What is the primary function of the data link layer?

<p>Framing (D)</p> Signup and view all the answers

How does the data link layer transfer frames on the hardware?

<p>Bit-by-bit (C)</p> Signup and view all the answers

What is the responsibility of the data link layer in a computer network?

<p>Transferring datagram from one node to the physically adjacent node over a link by converting data stream to signals bit by bit and sending them over the underlying hardware.</p> Signup and view all the answers

How does the data link layer handle datagrams at the adjacent node?

<p>The data link layer picks up data from the hardware, assembles them into a recognizable frame format, and hands them over to the upper layer.</p> Signup and view all the answers

What is the function of framing in the data-link layer?

<p>Encapsulating packets from the network layer into frames and sending each frame bit-by-bit on the hardware.</p> Signup and view all the answers

Give an example of the implementation of the data link layer in hardware.

<p>Ethernet card and 802.11 card</p> Signup and view all the answers

What is the primary purpose of data link layer protocols in a computer network?

<p>To transfer datagrams by different link protocols over different links, such as Ethernet on one link and 802.11 on another link.</p> Signup and view all the answers

What are the two sub-layers of the data link layer, and what are their respective functions?

<p>Logical Link Control (LLC) and Media Access Control (MAC). LLC deals with framing, flow control, error detection, and correction. MAC is responsible for hardware addressing and controls physical media access.</p> Signup and view all the answers

Explain the difference between single-bit error and burst error in data transmission.

<p>Single-bit error means that only one bit of a data unit is changed, while burst error means that two or more bits in the data unit have changed, not necessarily in consecutive bits.</p> Signup and view all the answers

What is the primary purpose of the Cyclic Redundancy Check (CRC) mechanism in error detection?

<p>The primary purpose of CRC is to detect errors in transmitted data.</p> Signup and view all the answers

How does the simple parity check mechanism improve error detection?

<p>The simple parity check appends a redundant bit to every data unit to ensure that the total number of 1s in the unit, including the parity bit, is even.</p> Signup and view all the answers

What types of errors are addressed by the Error Control function of the data link layer, and how are these errors handled?

<p>Error Control handles errors caused by signal attenuation, noise, and bit flips. These errors are detected and attempted to be recovered through error detection and correction mechanisms.</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Use Quizgecko on...
Browser
Browser