2. Data transmission Flashcards
What happens to data before it is transmitted?
Data is broken down into packets before it is transmitted
What are the components of a data packet?
- Packet Header
- Payload (Actual data)
- Trailer
What does the packet header contain?
- Packet number
- Destination IP address
- Sender’s address
Describe the process of packet switching.
- Data is broken into packets
- Packets are given sequence numbers
- Packets are sent through different routes
- Routers determine the fastest route
- Packets arrive out of order
- Packets are reordered upon arrival
What is the difference between serial and parallel transmission?
Serial transmission: Sends one bit at a time down a single wire
Parallel transmission: Sends multiple bits simultaneously over multiple wires
What are the features of serial transmission?
- Used for long distances
- Reliable (no risk of data skewing)
- Less expensive (fewer wires)
- Slower than parallel transmission
What are the features of parallel transmission?
- Faster than serial transmission
- Best for short distances
- Can suffer from data skewing
- More expensive (more wires required)
What are the 3 modes of data transmission?
- Simplex: One direction only
- Half-duplex: Two directions, but not simultaneously
- Full-duplex: Two directions simultaneously
How is data transmitted using USB?
- USB uses serial transmission
- The computer detects the device automatically
- The appropriate driver is loaded automatically
What are the benefits of using USB?
- Universal standard
- Easy to connect (fits only in 1 way)
- Supports various data rates
- Provides power (5 V)
What are the drawbacks of using USB?
- Older USB versions may not be supported
- Maximum cable length is 5m
- Slower than Ethernet
Why is error detection necessary in data transmission?
Errors may occur due to electrical interference, packet switching issues, or data skewing
How does a parity check work?
- A parity bit is added to the data to check for errors
- Odd or even parity is used to detect changes in bits
What is a checksum, and how does it work?
- A checksum is a value calculated from the data using an algorithim
- The receiver recalculates the checksum to verify the data
What is an echo check?
- The receiving computer sends back the received data
- If it matches the original data, no error has occurred