unit 2 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does a packet of data in a unit contain?

A
  • packet header
  • payload
  • trailer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the packet header include?

A
  • destination address
  • packet number
  • originator’s address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Process of packet switching:

A
  • Data is broken down into packets
  • Each packet could take a diff route
  • A router controls the route a packet takes
  • Packets may arrive out of order
  • Once last packet arrives packets are reordered.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Different methods of data transmission:

A
  • serial
  • parallel
  • simplex
  • half-duplex
  • full-duplex
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Serial data transmission

A

A transmission method where data is sent one bit at a time down a single wire.

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

what is packet switching?

A

A method of transmitting data packets across a network.

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

Advantages & disadvantages of serial

A

Ad
- sent one bit at a time, arrives in order of sequence, less chance of data getting mixed up.
- sent along single wire so less chance of interference(error in data)
-only one wire is needed for a serial tansmission cable, so cheap to buy

Dis
-data sent one bit at a time so data transmission is slower.
- additional data may need to be sent to indicate to the recievinf device when transmission has started(start and stop bit).

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

Parallel

A

a transmission method where data is sent multiple bits at a time down multiple wires.

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

Advantages & disadvantages of parallel

A

Ad
- data sent multiple bits at a time, transmission is quicker.
- no need to convert to serial transmission to transmit data across a network.
Dis
- as data sent multiple bits at time, bits not arrived in order, increases risk of skewed data.
-multiple wires means more chance of interference, more errors in data.
- multiple wires, expensive

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

simplex

A

transmission method where data is transmitted in a single direction only.

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

half-duplex

A

transmission method where data is transmitted in both directions, but in one direction at a time.

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

full duplex

A

transmission method where data is transmitted in both directons at the same time.

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

what is the USB interface and how is it used to transmit data?

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

advantages & disadvantages of USB interface

A

Ad
- simple interface. USB cable to devixe can only fit into USB one way. Less errors in connecting devices are made.
- Speed of USB connection is high, data can be transferred quickly.
- A USB connection can be used to charge a device.

Dis
- length of a USB cable is limited
- Transmission speed high but not as high as other types of connection.

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

Types of error detection methods that check data after transmission

A

-parity check
-checksum
-echo check

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

Why do we need to check for errors?

A

in process of data transmission errors can occur due to interference. E.g data loss, data gain

17
Q

parity check

A

error detection method that adds an additional bit to each byte to create an odd or even sum. If even amount of 1´s, even parity.

18
Q

checksum

A

error detection method that performs a calculation on the data to create a checksum value.Checksum values are compared after transmission to see if they match.

19
Q

error check

A

error detection method that send a copy of the transmitted data back to the sender to be compared with the original data sent.

20
Q

ARQ(automatic repeated request)

A

error detection method that uses acknowldgement and timeout to see if data has arrived correctly after transmission.

21
Q

negative acknowldegement

A
  • sending device transmits the first data packet.
  • recieving device recieves the data packet and checks it for errors.
  • If recieving device detects no errors, no further action is taken.
  • if recieving device does detect errors it will send a negatiev acknowledgement back to sender.
  • If sender recieves - ack then means data sent incorrectly so can resend data packet.
  • timeout set by sending device, if doesnt recieve - ack before time out, it doesnt wait to send next data packet.
22
Q

positive acknowledgement

A

-sending device transmits the first data packet.
- receiving device receives the data packet and checks it for errors.
- once receiving device knows has been sent data error free, sends + ack.
- if sending device no receive + ack within set timeframe, timeout occurs.
- when timeout occurs, the sending device resends data packet. Keep doimg this when timeout occurs unil gets a + ack.

23
Q

encryption

A

A method of securing data for storage of transmission that scrambles it and makes it meaningless.

24
Q

encryption key

A

type of algorith used to encrypt data

24
Q

plain text

A

data before encryption

25
Q

cipher text

A

data after transmission

26
Q

Symmetric encryption & method

A

Type of encryption that uses same key to encrypt and decrypt data.

  • plain text encrypted into cipher using encryption key.
  • cipher text and encryption key sent separately to receiving device.
  • same key used to decrypt the cipher text back into plain text.
27
Q

Asymmetric encryption & method

A

Type of encryption that uses two diff keys to encrypt and decrypt.

-plain text encrypted into cipher text using a public key. Type of encryption algorithm,
- cipher text transmitted to recieving device.
- cipher text cannot be decrypted using public key, decrypted using private key.