Quiz 2 Flashcards
(34 cards)
What is multiplexing in the context of socket APIs?
Sending data from multiple applications over a single channel.
What is demultiplexing in the context of socket APIs?
Receiving data from a single channel and delivering it to the correct application.
How is a connection identified for an incoming packet?
By a four-tuple: source IP, source port, destination IP, and destination port.
What is the main difference between circuit-switched and packet-switched networks?
Circuit-switched networks use a dedicated path; packet-switched networks send data in independent packets.
Define bandwidth.
The maximum rate at which data can be transferred, measured in bits per second (bps).
Define latency.
The time it takes for a packet to travel from source to destination.
Define throughput.
The actual rate of successful data transfer, usually less than bandwidth due to network overhead.
Define jitter.
The variation in latency between packets.
What is the formula for transfer time?
TransferTime = RTT + (transferSize / bandwidth)
How is effective throughput calculated?
Effective Throughput = transferSize / TransferTime
What is bandwidth-delay product (BDP)?
BDP = bandwidth × RTT, indicating how much data can be in transit at any time.
What is a host?
A node that is the source or destination of data.
What is a node?
Any device connected to a network (e.g., router, printer, host).
What is a packet?
A unit of data with a header and payload sent over a network.
What are the two types of transmission media?
Physical (guided) and wireless (unguided).
What are examples of physical media?
Twisted pair, coaxial cable, fiber optic.
What are examples of wireless media?
WiFi, satellite, cellular.
What is a key feature of twisted pair cables?
Twists reduce interference; common types include Cat 5, Cat 6, Cat 7, and Cat 8.
What is a key use of coaxial cables?
Cable TV networks.
What is fiber used for?
Long-distance, high-bandwidth communication using light pulses.
When is wireless most often used?
In LANs, cellular, and satellite networks where mobility or cable-free access is important.
In a given scenario, how do you choose the best medium?
Consider distance, bandwidth needs, interference, and installation cost.
What is encoding in networking?
Converting bits into signals for transmission over a medium.
What is decoding?
Converting received signals back into bits.