2 Flashcards
Structure of a packet
-Header
-Payload
-Trailer
State three components of the header
Destination address
Originator’s address
Packet number
payload
content to be sent
trailer
has data that indicates the end of the packet and error checking information
packet switching
1) Data is broken down into packets
2) As packets are sent through the network they could each take a different route
3) The router will control the route the packets go through
4) as packets arrive they may be out of order so it will need to be rearranged
serial transmission
one bit is sent at a time over a single wire
parallel transmission
many bits are send at a time over multiple wires
simplex
data can only travel in one direction
half-duplex
data travels in both directions but not at the same time (along only one cable)
full-duplex
data can move in both directions simultaneously using two cables
advantages and disadvantages of parallel
advantages:
- faster
- can send multiple bits at the same time
disadvantages:
- crosstalk (a signal in one line creates disturbance in another line)
- skew (as each wire has different properties, the data may arrive at different times, so you must wait until all the bits are sent until you can send the next set of bits. This slows down the data transfer - to solve this the transmission distance needs to be decreased)
advantages and disadvantages of serial transmission
advantages:
- no issue of crosstalk or skew
- cheaper as there is only one wire
- better for long transmission distances
disadvantages:
- slower fro short distances
A CPU communicates with RAM using parallel transmission.
Describe the reasons why parallel transmission is used over serial transmission
in this case.
- RAM and CPU are located very close together on a motherboard meaning they don’t really suffer from skewing.
- The lines on the CPU/RAM and motherboard are all hard wired with enough distance between them meaning they don’t suffer from crosstalk
- There are large amounts of data need to be transmitted between CPU and RAM so using
parallel transmission more data can be transmitted more quickly
USB
Universal serial bus (USB) is a serial cable that is commonly used to connect external devices to computers, laptops, tablets and smartphones
disadvantages and advantages of USB
BENEFITS
It cannot be inserted incorrectly
Supports different transmission speeds
High speed transmission
Automatically detected (not connected) // automatically downloads drivers
Powers the device (for data transfer)
Backward compatible