2. data transmission Flashcards

1
Q

how is data transmitted

A

by breaking it down into smaller chunks called packets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is a packet

A

A packet is a small unit of data that can be transmitted from a sending device to a receiving device via a network communication protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is the sturcture of a packet, and what does each layer contain

A

packet header:
senders and receivers ip address, packet number
payload:
data/ part of the message
trailer:
bits to show the end of the packet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is packet switching and explain its process

A

a way of transmitting data, process:
- Data is broken down into packets
- Each packet could take a different route
- A router controls the route a packet takes
- Packets may arrive out of order
-Once the last packet has arrived, packets
are reordered

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are the 2 transmission methods

A

serial and parallel transmission

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

descirbe serial transmission

A

a single wire is used to connect the sending device to the receiving device. Bits are transmitted one at a time.
more reliable over long distances, slow so not suitable for transmission of large files over short distances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

describe parallel transmission

A

multiple wires are used to connect the sending device and the receiving device. Several bits are sent simultaneously down the wires
faster, however bits can arrive out of order so might need rearranging before complete transmission, expensive method to implement over longer distances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what are the types of data transmission

A

Simplex data transmission
Half-duplex data transmission
Full-duplex data transmission

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

describe simplex data transmission

A

only one device can transmit data; as such, data moves in one direction only eg only from senders device to receiving, for example using a usb cable to send info to a printer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

describe half duplex transmission

A

here both the sending device and the receiving device can transmit data, but not at the same time. This means that data can move in both directions, but only in one direction at a time. eg walkie talkies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

describe full duplex transmission

A

where both the receiving device and the sending device can send and receive data at the same time, i.e. data is transmitted in both directions simultaneously eg. iphone call

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what dos usb stand for

A

universal serial bus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is a USB

A

a hardware device that enables you to connect your peripheral devices to your computer so that those devices can exchange data with the computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

USB uses what type of transmission

A

serial, through one mire one bit at a time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

advantages of using USB

A

-universal, used in almost all common devices
-can transfer power as well as data, even at the same time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

disadvantages of using USB

A

-there are multiple different connectors (updates, changes the size and pattern of the usb)

17
Q

why were error detection methods established

A

to ensure that transmission errors are detected as early as possible as many errors can happen during data transmission due to interference, e.g. data loss, data gain and data change

18
Q

what does parity check use

A

using a parity bit at the end or start of the binary number and sent along with the data

19
Q

how does parity check work

A

there are two established checks
even parity check: total number of 1’s in a byte is even
odd parity check: total number of 1’s in a byte is odd
The sending and receiving computers must both agree on which parity to use – even or odd, if the type of parity check isnt the same for the sender and receiver, an error has been made

20
Q

what is a disadvantage of parity check

A

they cannot tell us exactly which bit has been corrupted or changed during transmission

21
Q

what is a checksum

A

another type of error detection method. In this method, data is sent in blocks together with a calculated value known as the checksum. receiver calculates the checksum if equal to senders checksum= no error different= error during transmission

22
Q

what are the rules for checksum

A

1- if number of bytes in a block is less or equal to 255 than that is the checksum number
2- if bigger than:
-divide sum of bytes in block by 256
-convert this value int integer and round down
-multiple integer value by 256
-subtract,sum of bytes- calculated value

23
Q

describe echo check

A

method of error detection where the receiving computer sends back an exact copy of the data to the sending computer. The sending computer then compares the data it originally sent to the data it has received back. the sending computer performs the error checking and not the receiving computer,

24
Q

state one disadvantage of echo check

A

is difficult to tell whether the data was corrupted in transit to the destination or on its way back. Another disadvantage is speed, because the complete data has to be sent twice.

25
Q

what is a check digit

A

A check digit is an extra digit added to a number calculated from the existing digits in the number and used to check the integrity of the data entered.

26
Q

what are some uses for check digit

A

ISBN, barcodes, product codes etc

27
Q

how do you calculate if an ISBN has been transmitted correctly using check digit

A

1- remove last digit of number
2- create a pattern of 1 and 3 under each value remaining eg:
1 6 2 0
1 3 1 3
3- multiply each value by the pattern beneath eg:
(1x1)=1
(6x3)=18
(2x1)=2
(0X3)=0
4-add all the answers together and round the total down eg:
(1+18+2+0)= 21=20
5.subtract un rounded answer by rounded eg:
21-20= 1
6. compare value obtained by check digit

28
Q

what is an automatic repeat request (arq)

A

A set of rules used for error control during transmission. A receiving computer may request the sending computer to resend the packet if errors are detected.

29
Q

Describe the ARQ

A

1- when data is received to receivers end the computer sends a short message called an acknowledgment, indicating weather there was any errors, (positive acknowledgment= no errors, negative acknowledgment= errors)

  1. if there was a negative acknowledgment, the receiving computer will request the sending computer to resend the data
  2. process is repeated until receiving computer receives complete package or until the time out has run out (defined fix time)
30
Q

what is encryption

A

a type of security measure, in which a message is made unreadable to anyone without the decryption key/ algorithm

31
Q

what is un encrypted text called

A

plain text

32
Q

what is encrypted text called

A

cipher text

33
Q

what are the two types of encryption

A

symmetric and asymmetric

34
Q

describe symmetric encryption

A

A simple method of encryption where the same key is used to encypt and decrypt the data.
less safe, because of malicious user intercepts key it can decrypt message very easily

35
Q

describe asymmetric encryption

A

A more complex method of encryption where two different keys are used to encypt and decrypt the data, a public key (used by everyone visiting a website) and a private key (receivers key used to decrypt).
more reliable compared to symmetric encryption