Exam 1 Flashcards

(39 cards)

1
Q

5 layers of the Networking Stack

A

Application

Transport

Network

Link

Physical

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

Application Layer

A

Serves application content

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

Transport Layer

A

Multiplexing/demultiplexing & provides reliable transmission

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

Network Layer

A

IP-based routing across networks

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

Link Layer

A

MAC-based, device-to-device forwarding

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

Physical Layer

A

Puts bits on a wire

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

What layers does the “edge” touch

A

Touches all 5 layers

{Application, Transport, Network, Link, Physical}

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

What layers does the “core” touch

A

Routers: touch bottom 3 layers {Network, Link, Physical}

Switches: touch bottom 2 layers {Link, Physical}

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

What are the residential access types

A

Dial-up

Cable

DSL

Fiber

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

Dial-Up

A

Very slow, runs on existing telephone infrastructure

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

Cable

A

Pretty fast, high bandwidth, bandwidth shared with neighborhood

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

DSL

A

Sort of fast (slower than cable), runs on dedicated telephone infrastructure, dedicated per-home lines

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

Fiber

A

Very fast and super high bandwidth

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

Guided Media

A

Twisted Pair – copper lines, typically dedicated

Coax – copper lines, often used FDM to carry separate signals on different frequencies

Fiber – fast & high bandwidth

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

Broadcast Media

A

Radio Waves

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

Shared use of broadcast mediums

A

Frequency Division Multiplexing (FDM)

Time Division Multiplexing (TDM)

17
Q

Latency

A

Time to send a bit between devices

Typically measured in milliseconds

18
Q

Throughtput

A

Quantity transmitted between devices per unit of time

Typically measured in bits per second

quantity / unit of time

bits / second

19
Q

4 Sources of Packet Delay

A

Transmission

Propagation

Processing

Queueing

20
Q

Reasons for Packet Loss

A

TTL expires (packet stuck in loop)

Data mangled/corrupted along the way and not delivered to application

Congestion – intermediate router/buffer filled & dropped packets

Poor Flow Control – Sender overloading the receiver

21
Q

Types of application network models

A

Client-Server

Peer-to-Peer

Decentralized (peer-to-peer without any central server)

22
Q

what does DNS stand for

A

Domain Name System

23
Q

What does DNS accomplish

A

Hostname to IP Address Translation

24
Q

what is congestion control

A

ability to adapt to congested networks

AIMD algorithm
(Additive Increase Multiplicative Decrease)

25
what is flow control
Don't overwhelm the receiver requires knowledge of what the reciever can handle
26
Transmission Control Protocol (TCP)
Reliable transmission Sequence numbers ACK/NACK Resending lost/corrupted packets Timeouts to detect pack loss
27
User Datagram Protocol (UDP)
Fast (very little overhead; send at whatever rate you want) Does support a little checksum analysis Requires implementing any other desired features on top
28
when to use TCP / UDP
Use UDP when you need: ⚡ Low latency & fast transmission – No handshake, packets are sent immediately. ⚡ Minimal overhead – No retransmissions or flow control, reducing delay. ⚡ Tolerable data loss – Some packet loss does not break the application. Use TCP when you need: ✅ Reliable data transfer – Ensures all packets arrive in order and without errors. ✅ Error checking & correction – Automatically retransmits lost packets. ✅ Ordered data delivery – Maintains the correct sequence of packets. ✅ Connection-oriented communication – Uses a handshake (SYN-ACK-ACK) before data exchange. Summary: Use TCP when reliability is critical. Use UDP when speed and low latency matter more than reliability.
29
What are the 3 tiers used in DNS
Root Top Level Domain Organization DNS
30
explain Root DNS Servers
official contact of last resort by name servers that can not resolve name internet would not function without it
31
Top Level Domain (TLD) servers
responsible for .com .org .net .edu etc and all top level country domains (.uk, .fr, .jp)
32
Organizational DNS servers
organization's own DNS server(s). Provides authoritative hostname to IP mappings for organization's named hosts
33
Multiplexing & Demultiplexing for TCP
TCP sockets via {Src IP, Src Port, Dst IP, Dst Port}
34
Multiplexing & Demultiplexing for UDP
UDP sockets via { Dst Port}
35
Explain Frequency Division Multiplexing (FDM)
each call allocated its own band, can transmit at max rate of the narrow band [=========] [=========]
36
Explain Time Division Multiplexing (TDM)
time divided into slots each call allocated periodic slot(s), can transmit at maximum rate of (wider) frequency band only during its time slot [ || || || || ]
37
what is packet switching
Packet switching is a method of transmitting data in which messages are broken into small packets before being sent across a network. Each packet is transmitted independently and may take different routes to reach its destination, where they are reassembled in the correct order. ✅ Efficient use of network resources – Packets can take the least congested path. ✅ Scalability – Works well for large, distributed networks like the Internet. ✅ Fault tolerance – If a route fails, packets can be rerouted dynamically. ✅ Supports multiple users simultaneously – Different packets from various sources can share the same network infrastructure.
38
what is circuit switching
Circuit switching is a method of communication where a dedicated communication path is established between two devices for the duration of the session. This path remains reserved and exclusive, ensuring a continuous and ordered data flow. ✅ Guaranteed bandwidth – Since the path is dedicated, bandwidth remains constant. ✅ Low latency & no packet loss – No congestion since the path is exclusive. ✅ Ordered delivery – Data always arrives in sequence, making reordering unnecessary. ❌ Inefficient resource usage – Even during silence, the circuit remains occupied. ❌ Slow setup time – Establishing the connection takes time before communication begins. Circuit switching is ideal for applications requiring continuous, real-time communication, such as voice calls, while packet switching is more efficient for data transmission over shared networks like the Internet.
39
What state is initialized during the TCP handshake
sequence numbers and flow control capabilities