Computer Networks midterm Exam
Questions and Answers
What is the internet? - Answer-- Millions of connected computing devices
- communication links
- packet switches
Protocols - Answer-control sending and receiving messages
How do protocols work? - Answer-- TCP connection request
-TCP connection reply
- instruction
- output
2 Types of packet switching - Answer-- DSL (digital service lines)
- Cable
2 Types of circuit switching - Answer-- Frequency-division multiplexing (FDM)
- Time-division multiplexing (TDM)
FDM - Answer-Consistently gets fraction of bandwidth
TDM - Answer-Gets all bandwidth periodically during brief intervals
Circuit vs. Packet switching - Answer-- reservation vs no reservation
- circuit --- preallocates regardless of demand
- packet --- allocates depending on demand
Dnodal - Answer-Dproc+ Dqueue+ Dtrans+ Dprop
Transmission delay - Answer-time it takes to output
= L/R
Propagation delay - Answer-tome it takes when actually processing
= d/s
Queuing delay - Answer-La/R
L = pkt length
R = link bandwidth
a = average pkt rate
Throughput - Answer-the rate at which the sending process can deliver bits to the
receiving process
Questions and Answers
What is the internet? - Answer-- Millions of connected computing devices
- communication links
- packet switches
Protocols - Answer-control sending and receiving messages
How do protocols work? - Answer-- TCP connection request
-TCP connection reply
- instruction
- output
2 Types of packet switching - Answer-- DSL (digital service lines)
- Cable
2 Types of circuit switching - Answer-- Frequency-division multiplexing (FDM)
- Time-division multiplexing (TDM)
FDM - Answer-Consistently gets fraction of bandwidth
TDM - Answer-Gets all bandwidth periodically during brief intervals
Circuit vs. Packet switching - Answer-- reservation vs no reservation
- circuit --- preallocates regardless of demand
- packet --- allocates depending on demand
Dnodal - Answer-Dproc+ Dqueue+ Dtrans+ Dprop
Transmission delay - Answer-time it takes to output
= L/R
Propagation delay - Answer-tome it takes when actually processing
= d/s
Queuing delay - Answer-La/R
L = pkt length
R = link bandwidth
a = average pkt rate
Throughput - Answer-the rate at which the sending process can deliver bits to the
receiving process