Quiz 2 Flashcards

(34 cards)

1
Q

What is multiplexing in the context of socket APIs?

A

Sending data from multiple applications over a single channel.

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

What is demultiplexing in the context of socket APIs?

A

Receiving data from a single channel and delivering it to the correct application.

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

How is a connection identified for an incoming packet?

A

By a four-tuple: source IP, source port, destination IP, and destination port.

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

What is the main difference between circuit-switched and packet-switched networks?

A

Circuit-switched networks use a dedicated path; packet-switched networks send data in independent packets.

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

Define bandwidth.

A

The maximum rate at which data can be transferred, measured in bits per second (bps).

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

Define latency.

A

The time it takes for a packet to travel from source to destination.

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

Define throughput.

A

The actual rate of successful data transfer, usually less than bandwidth due to network overhead.

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

Define jitter.

A

The variation in latency between packets.

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

What is the formula for transfer time?

A

TransferTime = RTT + (transferSize / bandwidth)

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

How is effective throughput calculated?

A

Effective Throughput = transferSize / TransferTime

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

What is bandwidth-delay product (BDP)?

A

BDP = bandwidth × RTT, indicating how much data can be in transit at any time.

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

What is a host?

A

A node that is the source or destination of data.

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

What is a node?

A

Any device connected to a network (e.g., router, printer, host).

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

What is a packet?

A

A unit of data with a header and payload sent over a network.

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

What are the two types of transmission media?

A

Physical (guided) and wireless (unguided).

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

What are examples of physical media?

A

Twisted pair, coaxial cable, fiber optic.

17
Q

What are examples of wireless media?

A

WiFi, satellite, cellular.

18
Q

What is a key feature of twisted pair cables?

A

Twists reduce interference; common types include Cat 5, Cat 6, Cat 7, and Cat 8.

19
Q

What is a key use of coaxial cables?

A

Cable TV networks.

20
Q

What is fiber used for?

A

Long-distance, high-bandwidth communication using light pulses.

21
Q

When is wireless most often used?

A

In LANs, cellular, and satellite networks where mobility or cable-free access is important.

22
Q

In a given scenario, how do you choose the best medium?

A

Consider distance, bandwidth needs, interference, and installation cost.

23
Q

What is encoding in networking?

A

Converting bits into signals for transmission over a medium.

24
Q

What is decoding?

A

Converting received signals back into bits.

25
What is a signal?
A physical representation of data (like voltage or light).
26
What is a bit period?
Time taken to transmit a single bit.
27
What is bit rate?
Number of bits transmitted per second.
28
What is a symbol?
A group of bits transmitted together.
29
What is symbol rate?
Number of symbols transmitted per second (baud rate).
30
What is NRZ encoding?
Uses steady voltage: high for 1, low for 0. Simple but poor for synchronization.
31
What is Manchester encoding?
Mid-bit transitions: high-to-low for 0, low-to-high for 1. Better synchronization but uses more bandwidth.
32
How does Manchester solve NRZ's problem?
It includes a transition in every bit period, which helps synchronize clocks.
33
Why is clock synchronization important?
So the receiver samples the signal at the correct time to decode bits accurately.
34
What should you be able to do with encoding diagrams?
Identify bit sequences and draw signal representations using NRZ or Manchester schemes.