Unit 2 - Data Transmission Flashcards
What are data packets?
Data that is sent over long distances is usually broken up into smaller parts known as data packets. The packets of data are usually quite small, typically 64KiB, which are much easier to control than a long continuous stream of data.
Why do you split the data into different packets?
The idea of splitting up data in this way means each packet an be sent along a different route to its destination. This would clearly be of great benefit if a particular transmission route was out of action or very busy. The only obvious drawback of splitting data into packets is the need to reassemble the data when it reaches its destination.
What are the 3 parts of a data packet?
- the header
- the payload
- the trailer
What does the packet header consist of?
- The IP address of the sending device (sender)
- the IP address of the receiving device (destination)
- the sequence number of the packet (allowing correct reassembly)
- packet size (in bytes)
What is the payload?
The payload is the contents that need to be sent (the actual data in the packets - 64 KiB)
What is the packet trailer?
- some way of identifying the end of the packet
- Has a checksum (an error checking method) for the destination to check it transmitted correctly (it is error-free)
What is packet switching?
Packet switching is a way of transmitting data in which a message is broke up into a number of packets. Each packet can then be sent independently from start point to end point.
What is the process of packet switching?
- Break down data into packets
- Send the packets through the network
- Routers control the route taken
- Reorder packets into correct order
How are the different packets taken over different routes to get to their destination? What might happen as a result of this?
- each packet will follow its own path (route)
- routers will determine the route of each packet
- routing selection depends on the number of packets waiting to be processed at each node
- the shortest possible path available is always selected - this may not always be the shortest path that could be taken, since certain parts of
the route may be too busy or not suitable - unfortunately, packets can reach the destination in a different order to that in which they were sent
Describe the process of packet switching:
To send data, such as a file through the Internet, it is first split into fragments known as packets. Packet switching is then undertaken by each router on the network. Each packet is directed to another closer router. Each packet may take a different route through the network. Packets may arrive out of order. Once the last packet has arrived, the packets are reordered.
Is data transmission over a long distance or a short distance?
It is both:
- short distance e.g. computer to a printer
- long distance e.g. computer to another in a global network
What three factors need to be considered when transmitting data?
- the direction of data transmission (for example can data transmit in one direction only, or in other directions)
- the method of transmission (for example, how many bits can be sent at the same time)
- how will data be synchronized (that is, how to make sure the received data is in the correct order)
Name 4 ways data can be transferred from one point to another:
- copper cable using electrical pulses
- wirelessly using radio frequency
- optical fiber using light
- infrared
What is bandwidth?
The amount of data that can be carried t one time, the bigger the bandwidth, the more data that can be carried.
What is serial transmission?
- bits are sent one signal at a time over a single wire - one bit is sent at a time and once that bit has been received the next bit is sent.
- very high data transfer rates can be achieved
What does serial transmission use?
usually uses USB - Universal Serial Bus cables
What is parallel transmission?
- is when several bits of data (usually one byte) are sent down serval channels/wires all at the same time
- each channel/wire transmits one bit
Why shouldn’t you use parallel data transmission for longer distances?
- Parallel data transmission works well over short distances. Over longer distances (for example, over 20 metres), data can become skewed (that is, the data can arrive unsynchronised) and bits can arrive out of order. The longer the wire, the worse this can become.
When is parallel data transmission useful?
It is faster than serial transmission. The internal circuits in a computer use parallel data transmission since the distance travelled between components is very short and high-speed transmission is essential
What is skew?
Each wire in a parallel cable has slightly different properties:
- Signals, therefore, arrive at slightly different times
- The receiver must wait until all lines are received until the next set of bits may be sent
- Transmission needs to be over very short distances to reduce the problem
What is “Crosstalk”?
- Crosstalk may occur when a signal on one line creates a disturbance in another line
- This may cause a bit to be reversed in a parallel line
- The longer a cable is, the more chance there is of crosstalk
What are the advantages of serial transmission?
- By using serial transmission, faster rates are possible without the issues of crosstalk or skew
- This is why modern transmission methods such as SATA (for hard drives) and USB (for external devices) are now most common
- This also allows for longer cables without the risks of greater crosstalk and skew
What is simplex transmission?
- data travels in one direction only e.g. used for sending data from a keyboard to the CPU
What is half-duplex transmission?
Data can travel in both directions along a single cable, but not simultaneously:
- The full bandwidth is available to both the sender and receiver but they cannot send at the same time as receiving
- used in parallel printer cables: text is sent to a printer and the printer can send ‘Out of paper’ messages back, but only when the computer has finished sending text
- walkie-talkies
What is duplex transmission?
Data can travel in both directions simultaneously using two cables:
- Ethernet network cables make use of two twister pairs of cable – one for sending and one for receiving
- Fibre optic cables use two fibres – one for transmitting and one for receiving
What are the advantages of serial over parallel?
- Smaller, simpler, and cheaper connectors such as those used for smartphones
- “Crosstalk” creates interference between parallel lines, and can result in corrupted words which then need to be retransmitted.
- Serial links are more reliable over much greater distances than parallel links (for example telephone lines)
- Less risk of external interference than with parallel (due to fewer wires)
- transmitted bits won’t have the risk of being skewed (that is, out of synchronization)
- less expensive than parallel due to fewer hardware requirements