Lecture 4 - Computer Networks and the Internet

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

1/109

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:08 AM on 9/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

110 Terms

1
New cards

[Queuing Delay] There is a _ for each outbound link at the router.

buffer

2
New cards

[Queuing Delay] If the buffer at the outbound link of the router is full, a new incoming packet will get ___.

dropped

3
New cards

[Queuing Delay] A ___ can happen when multiple senders simultaneously send to one receiver

packet drop

4
New cards

[Queuing Delay] A ___ can happen when a higher transmission rate host sends to a lower transmission rate host, etc.

packet drop

5
New cards

[Queuing Delay] When there is more data flowing in than the router can push out, ___ can occur.

queuing delay

6
New cards

[Queuing Delay] If buffer size is too _ there is not much room for new packets, resulting in a lot of packet loss

small

7
New cards

[Queuing Delay] If buffer size is too _, packets get stuck in ‘traffic jam’ for potentially long periods of time.

large

8
New cards

[Queuing Delay] The sweet spot is when there is just enough _ so that a reasonable number of packet can be queued; if new packets find a full buffer, they will know to take an alternative route, potentially saving time.

buffer

9
New cards

[Throughput] The ___ at any instant is the rate (in bits/second) at which the receiver receives the file

throughput

10
New cards

Provides reliable data transfer, Congestion control, & some security

TCP(Transmission Control Protocol)

11
New cards

Does not include reliable data transfer or congestion control. Very lightweight and fast, however(Good for internet telephony).

UDP(User Datagram Protocol)

12
New cards

The world wide web(WWW) is a ___ running on top of the internet.

network application

13
New cards

World wide web uses the ___ architecture, governed by HTTP(Hypertext Transfer Protocol)

client-server

14
New cards

Consists of objects, such as HTML, JPG image, mp4 video clips

Web Pages

15
New cards

Each object in a web page has an addressable ___.

URL

16
New cards

_ is the base file, and references other objects of web pages.

HTML

17
New cards

Houses web objects. Always on and connected to the internet.

Web Servers

18
New cards

Implements the client side of the HTTP

Web Browsers

19
New cards

[HTTP Status Code] OK

200

20
New cards

[HTTP Status Code] Moved Permanently

301

21
New cards

[HTTP Status Code] Bad Request

400

22
New cards

[HTTP Status Code] Not Found

404

23
New cards

[HTTP Status Code] HTTP version not understood

505

24
New cards

[Queuing Delay] The easiest way to understand queuing delay is to think of a router like a _: packets arrive, but the router can only send them out at a certain rate. If faster than they leave, they have to wait.

checkout line

25
New cards

[Queuing Delay] When a packet reaches a router, the router needs to transmit that packet onto an _, which may already be busy transmitting other packets. The new packets therefore has to wait in the router’s _ which is essentially temporary storage.

outbound link; buffer

26
New cards

[Queuing Delay] New packets arriving to a router have to wait in the router’s _. The waiting time is called _.

buffer; queuing delay

27
New cards

[Queuing Delay] Mental model of Queuing Delay: Packets Arrive → ___ → ___ → Next Device

Router Buffer; Outbound Link

28
New cards

[Queuing Delay] If the ___ can keep up with arriving traffic, there may be little or no queuing. If it cannot keep up, packets begin accumulating.

outbound link

29
New cards

[Queuing Delay] The ___ is temporary memory inside the router where packets wait before they can be transmitted.

buffer

30
New cards

[Queuing Delay] The router sends packets out of the buffer according to the capacity of the ___. There is a buffer for each outbound link at the router.

outbound link

31
New cards

[Queuing Delay] The ___ is not infinitely large. Eventually it can fill up.

buffer

32
New cards

[Queuing Delay] Suppose packets arrive faster than the router can transmit them (arrival: 2Mbps | transmission rate: 1Mbps) resulting in traffic accumulation. Once the buffer is full, there is nowhere to store newly arriving packets. The router therefore _ packets.

drops

33
New cards

[Queuing Delay] A _ is the slowest link along a path that constrains how quickly data can move through the network.

bottleneck

34
New cards

[Queuing Delay] Queuing delay is ___. If very little traffic is arriving a packet may leave immediately. If traffic increases, a newly arriving packet has to wait behind other packets. If the buffer reaches capacity, the packet may be dropped.

variable

35
New cards

[Queuing Delay] If incoming traffic is below transmission capacity (Arrival Rate < Transmission Capacity), the router generally _, resulting in little or no persistent queuing from the rate mismatch.

can keep up

36
New cards

[Queuing Delay] If incoming traffic approaches outgoing capacity (Arrival Rate = Transmission Capacity), the router is _, resulting in possible queues, particularly because real network traffic tends to arrive in bursts.

near its limit

37
New cards

[Queuing Delay] If incoming traffic exceeds outgoing capacity (Arrival Rate > Transmission Capacity), the router _, resulting in a growing queue, where packets can be dropped if buffer fills.

cannot keep up

38
New cards

[Throughput] The actual rate at which data is successfully transferred from a sender to a receiver.

Throughput

39
New cards

[Throughput] The actual data transmission rate from end-to-end.

Throughput

40
New cards
41
New cards

[Throughput] Throughput is decided by the ___ transmission rate between both the server and the client.

minimum

42
New cards

[Throughput] Formula for throughput:

min{R(server), R(client)

43
New cards

[Internet Protocol Stack] The application doesn’t need to understand every router, cable, switch, radio signal, etc. It relies on the lower layers(OSI) to make deliver happen. This concept is called ___.

layering

44
New cards

[Internet Protocol Stack] Layers whose main responsibility is network application/services(HTTP, SMTP)

Application

45
New cards

[Internet Protocol Stack] Layers that handles Process-to-process communication(TCP, UDP)

Transport

46
New cards

[Internet Protocol Stack] Layers that handles host-to-host delivery and routing(IP)

Network

47
New cards

[Internet Protocol Stack] Layer that handles transfer between neighboring network elements (Ethernet, Wi-Fi)

Data Link

48
New cards

[Internet Protocol Stack] Layer transmits individual bits (Electrical, optical, radio signals)

Physical

49
New cards

[Internet Protocol Stack] Sender’s data path

Application → Transport → Network → Data Link → Physical

50
New cards

[Internet Protocol Stack] Receiver’s data path

Physical → Data Link → Network → Transport → Application

51
New cards

[Internet Protocol Stack] The application layer supports ___ applications(Such as HTTP, SMTP)

network

52
New cards

[Internet Protocol Stack] The ___ layer doesn’t concern itself with the physical route through the internet. It passes data to be sent to the transport layer.

application

53
New cards

[Internet Protocol Stack] The process of adding information around data.

Encapsulation

54
New cards

[Internet Protocol Stack] Handles process-to-process data transfer. Helps get data to the correct process/application running on that host.

Transport Layer

55
New cards

[Internet Protocol Stack] When the transport layer encapsulates data, it adds what is called a ___ to the data.

segment

56
New cards

[Internet Protocol Stack] When the network layer encapsulates fata, it adds what is called a ___ to the data.

datagram

57
New cards

[Internet Protocol Stack] The ___ layer is primarily concerned with getting the datagram from the source host to the destination host.

network

58
New cards

[Internet Protocol Stack] ___ examine network-layer information to determine where the datagram should go next.

Routers

59
New cards

[Internet Protocol Stack] Major protocol associated with the network layer.

IP(Internet Protocol)

60
New cards

[Internet Protocol Stack] When the data link layer encapsulates data, it adds what is called a ___ to the data.

frame

61
New cards

[Internet Protocol Stack] The ___ layer is concerned with transferring data between neighboring network elements.

data link

62
New cards

[Internet Protocol Stack] This layer doesn’t encapsulate/add another header to data.

Physical

63
New cards

[Internet Protocol Stack] Job is to transmit bits representing the frame across the physical medium. This layer is ultimately responsible for getting the 1s and 0s physically from one device to the other.

Physical Layer

64
New cards

[Application Layer] At the ___ layer, an application essentially says: “I have data that needs to reach another application, and these are the communication properties I need.” - The lower layers handle the implementation

Application Layer

65
New cards

[Application Layer] The application layer sits directly above the ___. Therefore, applications request communication services from it.

transport layer

66
New cards

[Application Layer] When an application can function across a range of throughput levels, although more throughput generally improves performance is called ___.

Elastic

67
New cards

[Application Layer] When an application performance can adapt to available throughput, it is ___.

elastic

68
New cards

[Application Layer] Initiates communication.

Client

69
New cards

[Application Layer] The server waits to be contacted and provides a service.

Server

70
New cards

[Application Layer] When clients dont necessarily communicate with each other, and individually communicates with the server.

Client-Server Architecture

71
New cards

[Application Layer] When end hosts can communicate directly with one another. Rather than relying entirely on one dedicated central server to providing the actual data, peers can exchange data among themselves.

Peer-toPeer(P2P)

72
New cards

[Application Layer] In P2P a peer can behave somewhat like both a ___ and ___ as it can download pieces from other peers and upload prices to other peers.

client; server

73
New cards

[Application Layer] [Client-Server or P2P] Dedicated server plays a central role.

Client-Server

74
New cards

[Application Layer] [Client-Server or P2P] Peers communicate directly

Peer-to-Peer(P2P)

75
New cards

[Application Layer] [Client-Server or P2P] Clients contact server

Client-Server

76
New cards

[Application Layer] [Client-Server or P2P] Peers contact other peers

Peer-to-Peer(P2P)

77
New cards

[Application Layer] [Client-Server or P2P] Server usually always available.

Client-Server

78
New cards

[Application Layer] [Client-Server or P2P] Peers may come and go

Peer-to-Peer(P2P)

79
New cards

[Application Layer] [Client-Server or P2P] Centralized service model

Client-Server

80
New cards

[Application Layer] [Client-Server or P2P] More distributed model

Peer-to-Peer

81
New cards

[Application Layer] A ___ is essentially an interface through which an application process sends data to and receives data from the transport layer; forms the boundary between the application process and transport-layer services.

socket

82
New cards

[Application Layer] A programmer writes the application’s behavior, but doesn’t generally implement TCO, IP, Ethernet drivers etc. from scratch for every application. The ___ provides the networking stack. The application interacts with that networking functionality through the ___ interface.

operating system; socket

83
New cards

[TCP vs. UDP] ___ establishes a connection.

TCP

84
New cards

[TCP vs. UDP] Does not establish a connection.

UDP

85
New cards

[TCP vs. UDP] Provides reliable, ordered delivery

TCP

86
New cards

[TCP vs. UDP] Does not guarantee delivery

UDP

87
New cards

[TCP vs. UDP] Performs congestion control.

TCP

88
New cards

[TCP vs. UDP] Does not perform congestion control

UDP

89
New cards

[TCP vs. UDP] More transport-layer control and reliability

TCP

90
New cards

[TCP vs. UDP] Less overhead and lower protocol complexity.

UDP

91
New cards

[TCP vs. UDP] TCP/UDP protocols lie within the ___ layer

transport

92
New cards

[Three-Way Handshake] TCP control flag used when establishing the connection and synchronizing initial sequence-nymber state

SYN

93
New cards

[Three-Way Handshake] TCP control flag that indicates that previously received TCP information/data is being acknowledged.

ACK

94
New cards

[Three-Way Handshake] approximately the amount of time required for information to travel (Client → Server → Client)

Round-Trip Time

95
New cards

[Non-Persistent Connections] With non-persistent HTTP, every object(HTML file, image, CSS file, Javascript file etc) retrieved from the server requires a separate ___ connection.

TCP

96
New cards

[Non-Persistent Connections] An ___ is an individual resource needed by the webpage, such as an HTML file, image, CSS file, or JavaScript file.

object

97
New cards

[Non-Persistent Connections] HTTP/1.0 → primarily ___.

non-persistent

98
New cards

[Non-Persistent Connections] HTTP/1.1 → ___ by default.

persistent connection

99
New cards

[Web Cache] A way to make web access faster while reducing the amount of traffic that has to travel across slower or more congested parts of the Internet.

Web Cache

100
New cards

[Web Cache] a system that temporarily stores copies of web objects that users have previously requested.

Web Cache