2. Data Transmission Flashcards
1
Q
Contents of a packet
A
- header
- payload
- trailer
2
Q
Contents of the header
A
- destination IP address
- originator’s IP address
- sequence number of the packet
3
Q
Packet switching
A
- data is broken/split/divided into packets
- each packet (could) take a different route
- a router controls the route/path a packet takes
- … selecting the shortest/fastest available route/path
- packets may arrive out of order
- once the last packet has arrived, packets are reordered
- if a packet is missing/corrupted, it is requested again
4
Q
Advantages of packet-switching
A
- Minimal interference and corruption (packets can be resent individually)
- Saves time and internet bandwidth (packets can be resent individually)
- Faster (each packet finds the quickest way around the network)
- Harder to hack (each packet contains minimal data, travels through network separately)
5
Q
Benefits of serial transmission
A
- data won’t be skewed
- less chance of interference/crosstalk/corruption/error
- transmission speed is adequate
6
Q
Benefits of parallel transmission
A
- faster transmission speed across short distances
7
Q
Advantages of USB
A
- devices are automatically detected and drivers are automatically loaded for communication
- cable connectors fit in only one way, preventing incorrect connections and ensuring compatible data transmission
- lots of support available from online and from retailers, as USB usage is standardised
- several different data transmission rates are supported
- newer USB standards are backwards compatible with older USB standards
8
Q
Disadvantages of USB
A
- maximum cable length is roughly 5 meters, so it cannot be used over long distances
- older versions of USB have limited transmission rates
- very old USB standards may not be supported in the near future
9
Q
Parity check
A
- every byte transmitted has one of its bits allocated as a parity bit
- the sender and receiver must agree before transmission whether they are using odd or even parity
- if the parities do not match an error has occurred
- although it cannot identify where the error is, the error can be pinpointed if a block check is used (there are horizontal and vertical parity checks)
10
Q
Checksum
A
- calculated using an algorithm from the data before transmission
- value is transmitted along with the data
- receiving computer recalculates this sum with the same algorithm using the data received
- if the checksums received and recalculated do not match, an error has occurred
- this packet can be requested to be resent
11
Q
Echo check
A
- transmits the received data back to the sender who checks the data to see if any errors occurred during transmission
- if so the data is resent
- not reliable as an error could have occurred during the second leg
12
Q
Check digit
A
- used to detect errors in numeric data entry (e.g. incorrect digits entered, omitted or extra digits, phonetic errors)
- a calculation is performed on the inputted data
- the calculated digit is compared to a stored value
- if it matches, the data entered is correct
- e.g. ISBN numbers and barcodes
13
Q
ARQ
A
- notifies the sender that an error has occurred and that the data received is incorrect
- if an error is detected the receiver sends a negative acknowledgement transmission to indicate the data is corrupted
- if no error is detected the receiver sends a positive acknowledgement transmission meaning the data is correct
- if the receiver does not send any acknowledgement transmission then the sender waits for a certain time period (known as time-out) before automatically resending the data
- this process is repeated until all data has been received and acknowledged