EoY (chapter 2: Data Packets, Data Transmission Methods, Error Checking Methods (Not ISBN or Modulo11) Flashcards
1
Q
Basic info about data packets
A
- sometimes called datagrams
- usually 64KiB (quite small data) since it’s easier to control than large amounts
2
Q
packet structure?
A
- packet header
- payload
- trailer
3
Q
what is in the packet header?
A
- IP address of the sending device
- IP address of the receiving device
- sequence number of the packet (to make sure the packets can be reassembled)
- packet size (to check if all the packets have arrived intact)
- value indicating how many total packets there are in the transmission
4
Q
what is in the payload?
A
- the actual data being sent in the packet (usually around 64KiB)
5
Q
what is in the trailer?
A
- some way of identifying the end of the packet
- an error checking method (CRCs)
6
Q
what is packet switching?
A
a method of data transmission in which a message is broken up into a number of packets
7
Q
how does packet switching work?
A
- file is split into packets
- each packet follows it’s own route
- routers determine the route of each packet (it always chooses the shortest possible path available)
- packets reach the destination and are reassembled
8
Q
benefits of packet switching
A
- no need to tie up a single communication line
- possible to overcome failed or busy lines by re-routing packets
- relatively easy to expand packet usage
- high transmission rate
9
Q
drawbacks of packet switching
A
- packets can get lost and need to be re-sent
- prone to errors with real-time streaming
- there is a delay while packets are being re-ordered at the destination
10
Q
types of data transmission
A
- simplex
- (full) duplex
- half duplex
- serial
- parallel
- asynchronous
- synchronous
- USB
11
Q
simplex?
A
data is transmitted one way only (ex. computer to printer)
12
Q
duplex?
A
data transmitted both was at the same time (ex. online gaming or face chatting)
13
Q
half duplex?
A
data transmitted both ways, but NOT at the same time (ex. walkie-talkie)
14
Q
serial?
A
- one bit sent at a time over a single wire
- (ex. computer to printer)
- sending data externally between devices
15
Q
parallel?
A
- multiple bits sent at the same time using multiple wires
- (ex. computer to modem)
- sending data internally