Unit 6 Communications Flashcards
What is the difference between serial and parallel transmission?
Serial data cables include the USB (Universal Serial Bus)
Parallel cables are a ribbon of several smaller cables used primarily for connecting internal components
Serial data transmission: bits are sent one after another along the same data line
This means that only one line is needed to transmit data in one direction. (Two lines are required for two-way communication, plus a common signal ground wire)
Parallel data transmission: several bits (e.g. one byte of data) are sent simultaneously along separate lines or channels
This means that an 8-bit block of data will require 8 data channels, plus some extra for control information
How does serial transmission work?
Using serial communication, bits are sent one after the other
For two-way communication, an extra line is required
Serial connections were reliable but slow
How does parallel transmission work?
Multiple bits are sent simultaneously
For two-way communication, twice the number of lines are required
What are the problems with parallel transmission?
Skew and crosstalk
What is skew?
As each individual wire has slightly different properties, bits travel at slightly different speeds along each of the wires. This produces a problem known as skew
What is crosstalk?
This refers to electromagnetic interference between two adjacent channels or parallel wires
It gets more pronounced as the frequency (speed of transmission) increases
If the data is corrupted, it has to be retransmitted
What is more reliable over long distances, parallel or serial?
Parallel transmission can be used only over very short distances of up to about 2m
Serial transmission is reliable over very long distances at very high frequencies
Which has better connections serial or parellel?
Serial connectors such as USB (Universal Serial Bus) connectors are much smaller and cheaper than parallel connectors
A PC has several USB ports for connecting peripherals
What is Synchronous data transmission?
Synchronous data transmission: all data transfers are timed to coincide with an internal clock pulse
The data is sent as one long stream or block of data, with no gaps in the transmission
The receiver counts the bits and reconstructs bytes
What is asynchronous data transmission?
Using asynchronous data transmission, each byte is sent separately the moment it is available instead of waiting for a clock signal
Each byte is preceded by a start bit and ends with a stop bit or stop ‘period’ – a short time gap between each set of bits
What is the parity bit?
The parity bit or check bit is added as the 8th bit as a form of error detection
Odd or even parity may be used
This bit is set to a 1 or 0 to make the total number of 1s or 0s in the byte (including the parity bit) odd or even depending on the machine
What are positives and negatives of asynchronous data?
Asynchronous transmission is relatively slow owing to the increased number of bits being sent
It is a cheap and effective form of serial transmission well suited to low-speed connections such as keyboard and mouse
What is latency?
Latency is the time delay between the moment the first byte or packet of a communication starts and when it is received at its destination
What is a protocol?
The set of rules relating to communication between devices is called a protocol
What does the protocol need to define?
The protocol needs to define, for example:
Standards for physical connections and cabling
The rate of transmission (bit rate or baud rate)
Data format
Whether transmission is synchronous or asynchronous
Error checking procedures, e.g. odd or even parity
Any pieces of equipment which use the same communication protocol can be linked together
What is bit rate?
Bit rate is the number of bits (0’s and 1’s) transmitted in one second over a wired or wireless data link
What does a faster signal change indicate?
The faster the signal change, the greater the number of bits per second (bps)
What is baud rate?
Baud rate is the rate at which the signal in a communications channel changes state
It is usually measured in megabits per second (Mbit/s)
What is the difference between baseband and broadband?
Baseband carries one signal at a time. A bit is represented by a high or low voltage in the cable
In baseband, bit rate is the same as baud rate
At each signal change, one symbol is transmitted
A symbol in this case is 1 bit
Broadband carries multiple signals on a fixed carrier wave. Bits are sent as variations on the wave
What are the advantages of serial transmission over parallel?
No risk of skew (bits travelling at different speeds and confusing the original message)
- No risk of crosstalk (electromagnetic interference between wires)
- Cheaper to implement and occupies less space
What is the relationship between bit rate and baud rate?
Baud rate is the rate at which the signal changes
Bit rate is bits per second
Bit rate = baud rate x number of bits per signal
What is bandwidth?
Bandwidth is a measure of the maximum capacity of a communications channel
In computer networks, the term bandwidth is used as a synonym for data transfer rate
It is usually expressed in bps, Mbps or Gbps
There is a direct relationship between bandwidth and bit rate
What is a local area network (LAN)?
Local Area Network: two or more computers connected together within a small geographical area, for example confined to one building or site
What is a bus topology?
Bus topology: an arrangement where nodes are connected in a daisy chain by a single central communications channel