EECS 3213 (Priority Deck)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/136

encourage image

There's no tags or description

Looks like no tags are added yet.

137 Terms

1
New cards

What is circuit switching?

Establishing a dedicated end-to-end circuit before transmitting.

2
New cards

What is packet switching?

Splitting data into packets and transmitting them over shared network links without reserving a dedicated path.

3
New cards

What defines connectionless packet-switched service?

Packets can be transmitted without establishing a connection between the sender and receiver beforehand.

4
New cards

Circuit vs packet switching: key trade-off?

Circuits reserve capacity and can offer QoS; packets use capacity efficiently but may incur delay or loss.

5
New cards

Large vs small packets: main trade-off?

Large packets reduce header overhead (i.e. require fewer headers for the same amount of data transmitted) but make a retransmission costlier if lost or corrupted.

6
New cards

How does a bus topology operate?

Devices share a backbone; frames propagate along it. Simultaneous sends can collide.

7
New cards

How does a ring topology regulate access?

Each device connects to two neighbours; a circulating token grants permission to transmit.

8
New cards

Star topology: hub vs switch?

Hub broadcasts to all connected stations; switch forwards known frames only toward the destination.

9
New cards

What happens if a link fails in mesh, star, bus, or ring?

Mesh: alternate links remain. Star: one device affected. Bus backbone: whole LAN affected. Ring: may break ring.

10
New cards

What does IP best-effort delivery mean?

IP tries to forward packets but does not guarantee delivery, correct order, or freedom from corruption.

11
New cards

How is an IP address divided conceptually?

Net ID identifies the destination network; Host ID identifies a host within that network.

12
New cards

Why can routers use Net ID instead of a route for every host?

Hosts on the same network share a Net ID, so routers can use one routing entry for the entire network instead of one per host.

13
New cards

Why use network layering?

Abstract away underlying technologies so applications can use common services across different networks.

14
New cards

What is a networking protocol?

Rules and conventions governing communication between peer entities at the same layer.

15
New cards

What is a service in a layered architecture?

A function provided by one layer to the layer immediately above it.

16
New cards

What are peer processes?

Corresponding entities at the same network layer on different machines.

17
New cards

SDU vs PDU?

SDU: data passed down by the upper layer. PDU: that data plus the current layer’s protocol information.

18
New cards

What is encapsulation?

Each downward layer adds its own header or control information around the data.

19
New cards

Name the seven OSI layers, top to bottom.

Application, Presentation, Session, Transport, Network, Data Link, Physical.

20
New cards

Name the five practical TCP/IP layers, top to bottom.

Application, Transport, Network, Data Link, Physical.

21
New cards

What is the Physical Layer responsible for?

Transmitting bits as physical signals, including defining their signal levels, bit interval, and data rate.

22
New cards

What is the Data Link Layer responsible for?

Hop-to-hop frame delivery over a link, including framing, MAC addressing, error control, flow control, and access control.

23
New cards

What does Medium Access Control (MAC) do?

Decides which station may transmit when several share the same medium.

24
New cards

Data Link vs Network Layer: delivery scope?

Data Link moves frames across one link/hop; Network routes packets across multiple links/networks.

25
New cards

What functions belong to the Network Layer?

Logical addressing, routing, congestion control, and fragmentation/reassembly.

26
New cards

Network vs Transport: where is delivery targeted?

Network gets packets to the destination host; Transport gets data to the destination process.

27
New cards

Which addressing mechanism reaches the correct application on a host?

Transport-layer port addressing (the destination port number).

28
New cards

MAC vs IP vs port address: what does each identify?

MAC: local network interface (what allows you to connect to a network, such as wifi adapter or ethernet port); IP: host/network across the Internet; port: process/application on that host.

29
New cards

Why can't routers efficiently use MAC addresses for WAN routing?

MAC addresses identify devices on a LAN but don't indicate their network's location. Routes cannot be efficiently grouped by network, making routing tables too large.

30
New cards

How do Data Link and Transport Layer flow/error control differ?

Data Link control operates hop-by-hop between neighbouring devices, while Transport control operates end-to-end between the sending and receiving processes.

31
New cards

What are the data-unit names from Transport down to Physical?

Transport: segment; Network: packet; Data Link: frame; Physical: bit.

32
New cards

Which stack layers does a router normally implement?

Physical, Data Link, and Network (three layers in the 5-layer model).

33
New cards

Which addresses do TCP, IP, and Data Link headers carry?

TCP: ports; IP: source/destination IP addresses; Data Link: source/destination MAC addresses.

34
New cards

Do hosts on different LAN technologies need to understand each other’s Data Link protocols?

No. Each uses its local link technology; IP connects the dissimilar networks.

35
New cards

ipconfig vs ipconfig /all?

ipconfig displays basic network settings (IP address, subnet mask, gateway). ipconfig /all displays additional details, including MAC addresses, DNS servers, and DHCP information.

36
New cards

What do ping and tracert test?

ping: whether a destination is reachable and round-trip delay.
tracert: identifies routers (hops) along the path to a destination and measures round-trip times to those hops.

37
New cards

Analog vs digital DATA?

Analog data has continuously varying values; digital data has discrete values.

38
New cards

Analog vs digital SIGNAL?

Analog signal: continuous amplitudes. Digital signal: limited discrete signal levels.

39
New cards

What are the three sine-wave parameters?

Peak amplitude A, frequency f, and phase φ (offset relative to time zero).

40
New cards

What phase puts a sine wave at its positive maximum at t = 0?

+90° or +π/2 radians.

41
New cards

What does a periodic vs nonperiodic composite spectrum look like?

Periodic: discrete frequency spikes. Nonperiodic: a continuous range of frequencies.

42
New cards

What are the axes of time-domain vs frequency-domain plots?

Time domain: amplitude vs time. Frequency domain: amplitude vs frequency.

43
New cards

In a frequency-domain spike plot, what do location and height mean?

Horizontal position = component frequency; spike height = peak amplitude.

44
New cards

How is signal bandwidth defined?

Highest frequency minus lowest frequency present: B = f_high − f_low.

45
New cards

What is the frequency bandwidth of a pure sine wave?

0 Hz: it contains just one frequency, regardless of the frequency value.

46
New cards

What is the theoretical bandwidth of an ideal digital signal?

Infinite: abrupt changes (in a signal’s amplitude over time) require an unlimited set of frequency components.

47
New cards

Signal bandwidth vs channel bandwidth?

Signal: frequencies the signal contains. Channel: frequencies the medium passes satisfactorily.

48
New cards

Low-pass channel vs band-pass channel?

Low-pass passes from 0 Hz to a cutoff; band-pass passes a range starting above 0 Hz.

49
New cards

Three main signal impairments?

Attenuation (loss of strength), delay distortion (shape changes), and noise (unwanted signals).

50
New cards

What does the sign of a power change in dB mean?

Negative dB = power loss; positive dB = gain; 0 dB = no change.

51
New cards

dB vs dBm vs dBW?

dB: how much signal power has increased or decreased compared to another power level. dBm: absolute power referenced to 1 mW. dBW: absolute power referenced to 1 W.

52
New cards

What is delay distortion?

Different frequencies arrive with different delays, changing signal shape and causing intersymbol interference (when one transmitted symbol can overlap with the next, making it harder for the receiver to distinguish them).

side note: symbol = one unit of information transmitted as a signal. Usually represented by a pulse or particular signal state.

53
New cards

What does signal-to-noise ratio (SNR) measure?

Useful signal power divided by noise power; higher SNR generally means clearer transmission.

54
New cards

What transmission uses low-pass vs band-pass channels?

Baseband digital transmission: low-pass. Broadband/carrier-based transmission: band-pass.

side notes:
Baseband: sends digital signals directly through medium, without shifting them onto a carrier frequency.

Broadband: uses a high frequency carrier wave to transmit data through modulation.

55
New cards

How are digital data and analog data sent as digital signals?

Digital data → line coding; analog data → PCM (digitization).

56
New cards

What methods support digital transmission of digital data?

Line coding maps bits to digital signals; block coding adds redundant bits before line coding.

57
New cards

What is line coding?

Mapping a stream of binary data bits onto discrete digital signal levels.

58
New cards

What are the two big design concerns for line coding?

Avoid unwanted DC components and maintain clock synchronization.

Side notes:

  • DC component: Nonzero average voltage. Undesirable because some equipment blocks DC, and it wastes energy.

  • Clock synchronization: Long sequences of identical bits may lack signal transitions, making bit boundaries unclear (e.g., 8 vs. 9 bits).


59
New cards

What is unipolar line coding, and its weakness?

Represents bits using 0 V and one nonzero voltage (e.g., +5 V). Causes unwanted DC components and poor synchronization during long sequences of identical bits.

60
New cards

NRZ-L vs NRZ-I: what encodes bits?

NRZ-L: The voltage level represents the bit (e.g. +5V = 0, -5V = 1).

NRZ-I: A voltage transition represents 1; no transition represents 0.

Side notes:

  • Both are polar line-coding schemes (digital data → digital signal).

  • NRZ-L: Long sequences of identical bits cause synchronization problems.

  • NRZ-I: Transitions on 1s help synchronization, but long runs of 0s remain problematic.

  • NRZ = “Non-return to zero”


61
New cards

Which bit runs cause synchronization problems in NRZ-L and NRZ-I?

NRZ-L: long runs of either bit. NRZ-I: long runs of 0s (since voltage only changes when the bit = 1)

62
New cards

What is RZ line coding, and what is its trade-off?

RZ (Return-to-Zero) is a polar line-coding scheme that uses positive/negative voltage levels to represent bits, returning to 0 V halfway through each bit. It provides good synchronization but requires more bandwidth.

63
New cards

What is Manchester encoding, and what is its trade-off?

Manchester is a polar line-coding scheme where a mid-bit voltage transition represents each bit:

  • 0: Positive → Negative

  • 1: Negative → Positive

Provides reliable clock synchronization but requires greater bandwidth.

64
New cards

What is Differential Manchester, and how does it encode 0 vs. 1?

Differential Manchester is a polar line-coding scheme that always has a mid-bit voltage transition for synchronization.

  • 0: Additional voltage transition at the beginning of the bit.

  • 1: No additional transition at the beginning.


65
New cards

How does AMI coding encode bits?

AMI (Alternate Mark Inversion) is a bipolar line-coding scheme that uses three voltage levels. How it works:

  • 0: Zero voltage.

  • 1: Alternating positive and negative voltages (e.g. +-5V)

Requires less bandwidth than Manchester, but long runs of 0s can cause synchronization problems.

66
New cards

What is AMI’s main synchronization weakness?

A long run of 0s has no transitions, so the receiver may lose bit timing.

67
New cards

What does B8ZS scrambling do?

Replaces eight consecutive AMI zeros with 000VB0VB to introduce timing transitions.

68
New cards

What is 2B1Q line coding and its trade-off?

2B1Q (2 Binary, 1 Quaternary) is a multilevel line-coding scheme that represents pairs of bits using one of four voltage levels.

Advantages: Reduced bandwidth requirements.

Disadvantages: Harder to distinguish voltage levels (more noise-sensitive), and long runs of identical bit pairs cause synchronization problems.

69
New cards

Line coding vs block coding?

  • Line coding: Converts a stream of bits into a digital signal.

  • Block coding: Groups bits and maps them to codewords containing extra (redundant) bits for synchronization and error detection, before line coding.


70
New cards

How does 4B/5B block coding help NRZ-I?

Replaces each group of 4 bits with a 5-bit codeword, ensuring no more than 3 consecutive zeros occur. This creates enough voltage transitions for NRZ-I to maintain synchronization.

71
New cards

Data rate vs signal (baud) rate?

Data rate = bits per second; baud rate = signal elements per second. One element may encode several bits.

72
New cards

Which two methods digitize analog data for digital transmission?

Pulse Code Modulation (PCM) and Delta Modulation (DM).

73
New cards

What is PCM used for?

Converting analog data into digital bits through sampling, quantization, and binary encoding.

74
New cards

What are the three stages of Pulse Code Modulation (PCM)?

Sampling in time → quantization of amplitude → binary encoding.

Side note (how it works):

  1. Sampling: Measure the analog signal's amplitude at regular time intervals.

  2. Quantization: Round each measurement to the nearest permitted amplitude level.

  3. Binary encoding: Convert each quantized value into a binary code (0s and 1s).


75
New cards

What is the Nyquist sampling rule?

To reproduce a band-limited analog signal, sample at least twice its highest frequency: f_s ≥ 2f_max.

76
New cards

Why is bandwidth alone insufficient to sample a band-pass signal?

Sampling depends on f_max, not just bandwidth; you must know where the band ends.

77
New cards

What happens when an analog signal is undersampled?

Aliasing. When an analog signal is sampled below the Nyquist rate, its reconstructed waveform can appear to have the wrong frequency.

78
New cards

What is quantization in PCM?

Rounding each sampled amplitude to its nearest allowed discrete level.

79
New cards

How many quantization levels are possible with m bits per sample?

M = 2^m levels; equivalently m = log₂(M) bits per sample.

80
New cards

What is quantization error/noise?

Difference between the original sample and the rounded quantized value; prevents exact recovery.

81
New cards

How is PCM bit rate determined?

Samples per second × bits per sample. (fs x m).

82
New cards

PCM vs Delta Modulation (DM)?

PCM encodes absolute sample amplitudes; DM encodes whether a stepwise approximation moves up or down.

83
New cards

How does Delta Modulation represent each sample?

Using 1 bit to move a staircase approximation of the analog signal up (1) or down (0) by a fixed step.

84
New cards

What two errors can affect Delta Modulation?

Slope-overload distortion (if steps cannot follow fast changes); quantization noise (from fixed-step approximation).

85
New cards

Bit interval vs bit rate?

Bit interval is the time required to send a single bit (s). Bit rate is the number of bits transmitted per second (bps).

86
New cards

Data Rate

Number of data elements (bits) sent in 1 second. unit: bps

87
New cards

Signal Rate

Number of signal elements (pulses) sent in 1 second. unit: baud

88
New cards

Describe Modulation

The process of converting digital data or a low-pass analog signal to band-pass (higher frequency) analog signal.

89
New cards

Types of Digital-to-Analog Modulation

Amplitude Shift Keying (ASK), Frequency Shift Keying (FSK), Phase Shift Keying (PSK), and Quadrature Amplitude Modulation (QAM).

90
New cards

What is Quadrature Amplitude Modulation

Varying the amplitude and phase of a carrier wave based on the digital information to be transmitted.

91
New cards

What is Amplitude Key Shifting (ASK)

Digital modulation that represents bits by varying carrier amplitude (commonly 1 = wave present, 0 = absent), while frequency and phase remain constant.

Simple to implement/demodulate.
Highly susceptible to noise (since noise affects amplitude).

92
New cards

What is Frequency Shift Keying (FSK)

Digital modulation that represents bits using different carrier frequencies (0 = f1, 1 = f2), while phase and amplitude remain constant.

More resistant to noise than ASK, but requires roughly twice the bandwidth.

93
New cards

What is Phase Shift Keying (PSK/BPSK), and what are its implications

Digital modulation that represents bits by changing the carrier’s phase (e.g. 1 = 0 degrees, 0 = 180 degrees), while amplitude and frequency remain constant.

Better noise resistance than ASK while requiring similar bandwidth.

Demodulation is more complex (since phase differences are compared to a reference wave).

94
New cards

What is Quadrature Phase Shift Keying (QPSK)

Digital modulation that uses four carrier phases separated by 90 degrees to represent 2 bits per signal element.


Twice the bit rate of BPSK at the same baud rate, with approximately the same bandwidth.

More phases to distinguish → more susceptible to noise.

95
New cards

Describe a Constellation Diagram

Visually represents the possible signals a modulation scheme can represent.

<p>Visually represents the possible signals a modulation scheme can represent. </p>
96
New cards

What Three Factors Determine the Maximum Data Rate of a Channel?

The bandwidth of the channel, the quality of the channel (noise levels), the number of distinct signal levels used.

97
New cards

State Nyquist’s Law

In a noiseless channel, greater bandwidth and more signal levels allow higher bit rates. More levels are harder to distinguish at the receiver (more susceptible to noise).

98
New cards

State Shannon’s Theorem

Establishes the maximum achievable bit rate of a noisy channel based on bandwidth and SNR, regardless of the number of channels used.

99
New cards
Data Link Layer (Main Goal)

Provide reliable communication over the physical layer interface.

100
New cards
Data Link Layer (Responsibilities)

Framing, physical addressing, error control, medium access control, flow control.