CMPT 325 Networking Midterm Prep

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

1/44

encourage image

There's no tags or description

Looks like no tags are added yet.

45 Terms

1
New cards

Before sending a packet into a datagram network, the source must determine all links the packet will traverse. True or False?

False

2
New cards

Layers 4 and 5 of the Internet protocol stack are implemented in end systems but not in routers in the network core. True or False?

True

3
New cards

Twisted-pair copper wire is no longer present in computer networks. True or False?

False

4
New cards

HTTP was invented at Netscape in the early 1990s. True or False?

False

5
New cards

The Internet provides applications two types of services, a TDM service and an FDM service. True or False?

False

6
New cards

With ADSL, each subscriber gets more downstream bandwidth than upstream bandwidth. True or False?

True

7
New cards

Two links in a path, 100 Mbps and 10 Mbps, only the source sends traffic. Throughput for a large file transfer?

10 Mbps (the bottleneck link)

8
New cards

10 connections share a 1 Gbps link and client access links are 5 Mbps each. Max throughput per connection is 100 Mbps. True or False?

False (limited by the 5 Mbps access link)

9
New cards

30 Mbit file, all links 10 Mbps, one link, sent as one packet. Transmission delay?

3 seconds (30 Mbit / 10 Mbps)

10
New cards

30 Mbit file, 10 Mbps link, propagation speed 2x10^8 m/s, distance 10,000 km, one packet. End-to-end delay?

3.05 seconds (3 s transmission + 0.05 s propagation)

11
New cards

5 users share a 10 Mbps channel, each averages 2 Mbps and sends at 2 Mbps when transmitting. Circuit or packet switching?

Circuit switching

12
New cards

5 users share a 10 Mbps channel, each averages 2.1 Mbps and sends at 15 Mbps when transmitting. Circuit or packet switching?

Neither works well (overload, average total 10.5 Mbps exceeds 10 Mbps)

13
New cards

5 users share a 10 Mbps channel, each averages 0.21 Mbps and sends at 15 Mbps when transmitting. Circuit or packet switching?

Packet switching

14
New cards

What are the five Internet protocol layers from top to bottom?

Application, transport, network, link, physical

15
New cards

Processing delay is

Time to check integrity, look up packet info in a local table, and move the packet from input link to output link in a router

16
New cards

Propagation delay is

Time for bits to physically travel through the medium from one end of a link to the other

17
New cards

Queueing delay is

Time spent waiting in packet buffers for link transmission

18
New cards

Transmission delay is

Time spent pushing the packet's bits onto the link (L/R)

19
New cards

Routing vs forwarding

Forwarding is the local action of moving a packet from a router's input link to the right output link. Routing is the global action of determining source-to-destination paths

20
New cards

In a virtual-circuit packet-switched network, a packet switch maintains state information for each connection passing through it. True or False?

True

21
New cards

3 links, each 1 Mbps with 1 ms propagation delay, packet is 1000 bits, store-and-forward. End-to-end delay?

6 ms (3 x 1 ms transmission + 3 x 1 ms propagation)

22
New cards

Ethernet is a popular residential Internet access technology. True or False?

False

23
New cards

SMTP is used to

Transfer messages from one mail server to another

24
New cards

Packets of length L arrive every 1/a seconds to a queue before a link of rate R. Queueing delay is small and bounded as long as aL < R. True or False?

True

25
New cards

BitTorrent: which is true? (A) A may upload to B even if B sends nothing to A. (B) A peer with 50 TCP connections sends to fewer than 10 peers at a time. (C) A peer requests the rarest chunks first.

All of the above

26
New cards

A browser generates header lines as a function of

All of the above (browser type and version, user configuration, and whether it has a cached copy of the object)

27
New cards

DNS resource record with Type=MX means

Value is the hostname of the mail server that has the alias hostname Name

28
New cards

Client sends HTTP request with If-modified-since and the object has not changed. Status code in the response?

304 Not Modified

29
New cards

P2P distribution: server upload 10 Mbps, 100 peers each uploading 1 Mbps and downloading 10 Mbps, file is 100 million bits. Minimum distribution time?

Approximately 100 seconds (NF/(u_s + sum of u_i) is about 91 s)

30
New cards

Local DNS name servers

Cache resource records but discard them after a period on the order of a few days

31
New cards

Cache hit rate 0.5, cache response 10 ms, origin server response 1.2 s. Average delay (per Moodle answer key)?

Between 1.0 and 1.1 seconds (per Moodle key, check this one)

32
New cards

With SMTP, it is possible to send multiple mail messages over the same TCP connection. True or False?

True

33
New cards

In this textbook API stands for Advanced Performance Internet. True or False?

False (it is Application Programming Interface)

34
New cards

Sender to router link is 1.5 Mbps and router to receiver link is 10 Mbps. Max throughput?

1.5 Mbps (the bottleneck link)

35
New cards

Packet is 1500 bytes and the link is 1 Gbps. Transmission delay?

0.000012 seconds (12000 bits / 10^9 bps)

36
New cards

UDP segments from different clients sent to the same destination port at a host always go to the same socket. True or False?

True (UDP demultiplexing uses only the destination port)

37
New cards

Host A sends a large file to B over TCP and B has no data to send. B will not send ACKs because it cannot piggyback them. True or False?

False (B sends ACK-only segments)

38
New cards

Can two TCP segments with source port 80 be sent by a host to different clients?

True (TCP demultiplexing uses the 4-tuple of source/destination IPs and ports)

39
New cards

HTTP server with persistent connections spawns a process per client. Each process has a different server port number. True or False?

False (they all use the same server port, e.g. 80)

40
New cards

Where is transport-layer functionality primarily implemented?

At the hosts at the edge of the network

41
New cards

The transport layer provides host-to-host delivery service. True or False (per Moodle key)?

True (per Moodle key, though the textbook usually says transport is process-to-process)

42
New cards

Can two UDP segments from the same socket with source port 5723 at a server go to two different clients?

True (the app specifies destination IP and port on each send)

43
New cards

Transport-layer demultiplexing means

Receiving a segment from the network layer, extracting the payload, and delivering the data to the correct socket

44
New cards

TCP applies fast retransmit to a segment when

It receives three ACKs for an earlier segment (triple duplicate ACK)

45
New cards

A sends two TCP segments, B ACKs both, first ACK is lost, second ACK arrives before the first segment's timer expires. What does A retransmit?

Neither segment (cumulative ACK covers both)