2 Flashcards

1
Q

Structure of a packet

A

-Header
-Payload
-Trailer

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

State three components of the header

A

Destination address
Originator’s address
Packet number

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

payload

A

content to be sent

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

trailer

A

has data that indicates the end of the packet and error checking information

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

packet switching

A

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

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

serial transmission

A

one bit is sent at a time over a single wire

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

parallel transmission

A

many bits are send at a time over multiple wires

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

simplex

A

data can only travel in one direction

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

half-duplex

A

data travels in both directions but not at the same time (along only one cable)

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

full-duplex

A

data can move in both directions simultaneously using two cables

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

advantages and disadvantages of parallel

A

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)

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

advantages and disadvantages of serial transmission

A

advantages:
- no issue of crosstalk or skew
- cheaper as there is only one wire
- better for long transmission distances

disadvantages:
- slower fro short distances

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

A CPU communicates with RAM using parallel transmission.
Describe the reasons why parallel transmission is used over serial transmission
in this case.

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

USB

A

Universal serial bus (USB) is a serial cable that is commonly used to connect external devices to computers, laptops, tablets and smartphones

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

disadvantages and advantages of USB

A

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

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

what is encryption

A

The purpose of encryption is to encode a file or data into something that cannot be read or understood

18
Q

need for encryption

A

for privacy and personal information not to be stolen or seen by unwanted poeple

19
Q

Symmetric encryption

A
  • a key is shared between the sender and the receiver
    -This key encrypts the data before it is transmitted
    -The receiver uses the key to decrypt the data
20
Q

Asymmetric encryption

A

In asymmetric encryption, two keys are created by the receiver. Private key and the public key.
This means that anyone can
encrypt the data with public key, but only the receiver can decrypt it with the private key.

21
Q

Decrypt

A

decode encrypted data back into plaintext

22
Q

Encrypt

A

encode data into an unreadable form

23
Q

Plaintext

A

text that hasn’t been encrypted

24
Q

Shared key

A

the secret key that is used to encrypt and decrypt the data

25
Q

Public key

A

a key that anyone may see and use to
encrypt data before it is sent to someone

26
Q

Private key

A

the key used to decrypt data

27
Q

Error checking

A

Parity bits
Check digits
Check sums
Echo checks
Automatic Repeat reQuests (ARQ)

28
Q

Parity bits

A

check hoe many ones a data has. If its supposed to be even then you should have an even number of ones.
If not change the last but to the correct number to make it even. Do the same if the number of ones is supposed to be odd

29
Q

Check digits

A

A check digit is an additional digit at the end of a set of other numbers designed to check for mistakes in input or transmission

30
Q

Checksums

A

The file is run through an algorithm that produces a checksum which it also sends
When the file arrives, the receiving computer generates the checksum and compares it with the checksum that was sent
If the checksums don’t match, the file may have been corrupted or altered in transmission

31
Q

Echo check

A

The data is transmitted to the receiver
The same data is then echoed back to the transmitter
The transmitter compares the data with the original. If it isn’t the same, the data is transmitted again

32
Q

Automatic Repeat reQuests

A

The sender first sends a block of data
The receiving computer then sends back an acknowledgement
When the sender receives the acknowledgement it sends the next block of data
If the acknowledgement is not received after a period of time, a timeout occurs and the data is resent
This process continues until the acknowledgement is received