Networks - Circuit/Packet Switching Flashcards

1
Q

What is packet switching?

A

A method of communication.

Data is communicated using packets across a network, via the most efficient route (which can vary for each packet).

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

Packet switching advantages

A

Multiple routes can be used between devices. If one path breaks, another can be used.

Multiple methods to ensure data arrives intact. For example, checksums/cyclic redundancy checks

Packets can be transferred over very large networks to allow communication globally.

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

Packet switching disadvantages

A

Time is spent deconstructing and reconstructing the data packets.

Must wait for all packets to arrive before data can be received.

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

What is circuit switching?

A

A direct link is created between two devices. This direct link is maintained for the duration of the entire conversation between devices.

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

What does circuit switching require?

A

The two devices to transfer and receive data at the same rate.

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

Circuit Switching Advantages

A

Data arrives in a logical order which
results in a quicker reconstruction of the
data.

Enables two users to hold a call without
delay in speech.

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

Circuit Switching Disadvantages

A

Bandwidth is wasted during periods of time in which no data is being sent.

Devices must transfer and receive data at the same rate.

Using switches means electrical interference may be produced which can corrupt or destroy data.

Ties up sections of the network which cannot be used by others data until transmission has been completed

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

What is the difference between circuit switching and packet switching?

A

Packet switching involves breaking the message into smaller parts (packets), as opposed to sending a whole message in one go.

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

What is the TCP/IP Stack

A

A stack of networking protocols. It sets out the rules for handling packets at each stage in their journey.

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

With the TCP protocol, once all of the packets have ______ an acknowledgement message is sent to the ______ ______ as confirmation.

A

With the TCP protocol, once all of the packets have ARRIVED an acknowledgement message is sent to the ORIGINAL COMPUTER as confirmation.

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

What happens with the TCP protocol if a packet is missing or corrupted?

A

The receiver sends a request for that particular packet to be resent.

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

What three components do packets consist of?

A

Trailer (end of packet flag, checksum)
Payload (data)
Header

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

What is an ideal payload size for packets?

A

500-1500 bytes.

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

Why are packets kept small?

A

To ensure individual packets don’t take excessive time to transfer, preventing other packets from moving.

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

What does the header contain?

A

Senders IP
- For replies to be sent appropriately

Recipients IP
- For appropriate direction across the network

Packet number + Overall number of packets
- To assist in reassembling the data

Time To Live (TTL) or hop limit

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

What does the trailer contain?

A

Error checking components that verify the data received in the payload hasn’t been corrupted on transfer.

17
Q

What techniques does the trailer use for the receiving host to check the data?

A

Checksums or Cyclical Redundancy Checks (CRCs)

  • The same checksum is recalculated at the destination end
  • If it doesn’t match, data is corrupted, new data requested.
18
Q

What is the internet (in terms of packet switching)?

A

One vast packet switched network consisting of billions of nodes and connections.