Computer Network midterm

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

1/102

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:12 PM on 6/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

103 Terms

1
New cards

Which one of the following is not a protocol?

a) TCP b) IP c) Ethernet d) MSN

d) MSN

2
New cards

Which one of the following is not a purely Client-Server model?

a) Web b) Email c) Instant messaging d) CougarView or D2L

c) Instant messaging

3
New cards

Which one about TP3 is correct?

a) Twisted pair with bandwidth 1Mbps b) Twisted pair with bandwidth 5Mbps c) Twisted pair with bandwidth 10Mbps d) Twisted pair with bandwidth 100Mbps

C) Twisted pair with bandwidth 10Mbps

4
New cards

Which one of the following is not a peer-to-peer model?

a) Skype b) BitTorrent c) Ebay d) Instant messaging

c) Ebay

5
New cards

All links share the backbone bandwidth 20Mbps, each link uses TDM with10slots/sec, how many users at most are allowed to use the resources concurrently?

a) 2 b) 10 c) 15 d) 20

B) 10

6
New cards

All links share the backbone bandwidth 20Mbps, each link uses FDM with 10Kbps,how many users at most are allowed to use this resource concurrently? a) 2 b) 200 c) 2000 d) 10

C) 2000

7
New cards

Suppose N users share a link with bandwidth 1 Mb/seach user:100 kb/s when "active"active 20% of timeif TDM is used, how many user at most can be accommodated?

a) 10 b) 5 c) 20 d) 15

B) 5

8
New cards

Suppose N users share a link with bandwidth 1 Mb/seach user:100 kb/s when "active"active 20% of timeif FDM is used, how many user at most can be accommodated?

a) 5 b) 10 c) 20 d) 15

B) 10

9
New cards

Suppose N users share a link with bandwidth 1 Mb/seach user:100 kb/s when "active"active 20% of time if Packet Switching is used, how many user at most can be accommodated?

a) 5 b) 10 c) 20 d) any

d) any

10
New cards

Packet switching allows more users to use network than Circuit switching?

a) True b) False

A) true

11
New cards

Data loss occurs at

a) Computer hosts b) Communication links c) Routers d) repeaters

c) routers

12
New cards

Packet propagation delay is not determined by

a) packet size b) media type c) propagation speed d) router buffer size

d) router buffer size

13
New cards

If a link bandwidth is 64kbps, and a packet with size 128kbps is transferred throughthis link, please compute its transmission delay.

a) 1s b) 2s c) 0.5s d) 0.2s

b) 2s

14
New cards

n packet switching, packet delay is composed of __________, ____________, ___________, _____________

queue delay, processing delay, transmission, propagation

15
New cards

tracert/tracerout is used to trace

a) delay in circuit switching b) delay in packet switching c) delay in client-server model d) delay in peer-to-peer model

b) delay in packet switching

16
New cards

Which one is a network application layer protocol?

a) TCP b) UDP c) IP d) HTTP

d) HTTP

17
New cards

Which one is a network layer protocol?

a) TCP b) IP c) UDP d) Ethernet

B) IP

18
New cards

Which one is a data link layer protocol?

a) SMTP b) IP c) PPP d) IMAP

c) PPP

19
New cards

Data encryption cannot occur at which layer

a) transport b) data link c) network d) application

b) data link

20
New cards

Select the suitable features for the server in a Client-server architecture.

Always-on host

may have dynamic IP addresses

do not communicate directly with each other

Static and permanent IP address

may have dynamic IP addresses

do not communicate directly with each other

21
New cards

the type of a message exchanged among computers are defined at _________

link layer

application layer

Transport layer

network layer

Application layer

22
New cards

Which of the following are application layer protocols?

HTTP

Skype

IP

SMTP

Skype

IP

23
New cards

If a flow control is needed in a process communication, which protocol is used?TCP

UDP

SMTP

ICMP

TCP

24
New cards

Which of the following applications requires non-elastic throughput?

e-mail

instant messaging

real-timeaudio/video

file transfer

real-timeaudio/video

25
New cards

TCP provides the following services

Connection oriented

Security

flow control

Congestion control

Security

26
New cards

An email application needs ___, ____ as the application and transport protocols respectively.

HTTP, TCP

SMTP, UDP

SMTP, TCP

FTP, UDP

SMTP, TCP

27
New cards

______ can send a HTTP request, and _____ can send a HTTP response.IE, Firefox

Firefox, Apache Web server

Safari, IE

Apache Web Server, Safari

Firefox, Apache Web server

28
New cards

Persistent HTTP connection means

Multiple objects can be sent over single TCP connection between client and server

Multiple objects can be sent over multiple TCP connections between client andserver

Single object can be sent over Single TCP connection between client and server

At most one object is sent over a TCP connection

Multiple objects can be sent over single TCP connection between client and server

29
New cards

Get /~yang/ HTTP/1.1 Host: cs.ColumbusState.edu. This is a

HTTP response

HTTP request

HTTP response and request

Neither HTTP response nor request

HTTP request

30
New cards

Cookie file is kept on

Server's host, and managed by user's browser

user's host, and managed by user's browser

user's host, and managed by server's browser

server's host, and managed by server'sbrowser

user's host, and managed by user's browser

31
New cards

Which of the following is not correct about a pure P2P architecture?

There is no always-on server.

Permanent and static IP address must be used for each computer.

any computer can talk to any other computers

It is highly scalable

Permanent and static IP address must be used for each computer.

32
New cards

Select the reasons to use web caching.

reduce response time for client request

reduce traffic on an institution's access link

enables "poor" content providers to effectively delivercontent

make the network more secure

make the network more secure

33
New cards

Which of the following is correct?

Skype is a voice-over-TCP P2P application

Skype sets up a client to client connection, so it does not need anyserver

Skype users find the address of a remote party through peer-to-peer.

Skype uses distributed servers to find the address of a remote party

Skype uses distributed servers to find the address of a remote party

34
New cards

A process is a program running in a host. Two processes in different hosts communicate by

exchanging messages

inter-processcommunication

shared memory

email

exchanging messages

35
New cards

A Server process can initiate a communication.

True

False

False

36
New cards

A process that waits to be contacted is called

Client process

Server process

Client-server process

none of the above

server process

37
New cards

A process in a computer can send a message through a ____ to communicate with the othercomputers.

shared memory

socket

email

network

socket

38
New cards

32 bit IP address is used to identify

a process

a host

a network

a server

a host

39
New cards

A process in a computer can be uniquely identified by

IP address

TCP address

Port number

IP address and Port number

IP address and Port number

40
New cards

TCP uses different control connections, and different data connections to transfer different files.

True

False

False

41
New cards

Select the major components of e-mail

user agents

user browsers

mail servers

SMTP

user browsers

42
New cards

Which one is used to compose, edit, and read email messages?

email server

user browser

user agents

email protocol

user agents

43
New cards

Outgoing and incoming messages in e-mail are stored on

client user agents server email server

email server

44
New cards

SMTP is used to transfer message between ___ and ___.

user agent, user agent

user agent, email server

email server, email server

email server, user agent

email server, email server

45
New cards

SMTP uses TCP to reliably transfer email message from server to server.

True

False

True

46
New cards

SMTP uses

persistent connections

non-persistent connections

HTTP persistent connections

HTTP non-persistent connections

persistent connections

47
New cards

Which of the following protocols cannot be used to access email?

HTTP

POP

SMTP

IMAP

SMTP

48
New cards

DNS system uses

Centralized database to map IP to names

distributed database to map hostnames to IP address

multiple centralized database to map IP to names

none of the above

distributed database to map hostnames to IP address

49
New cards

Select the DNS services

hostname to IP address translation

host aliasing

load distribution

IP address to hostname translation

IP address to hostname translation

50
New cards

Select the reasons for non-centralized DNS

Single point of failure

maintenance

simpleness

efficiency

simpleness

51
New cards

If you are located in an EDU domain to access the web server www.amazon.com, what is thecorrect resolving process?

your DNS server-->EDU DNS server-->COM DNS server-->amazon.com DNS server

your DNS server--> edu DNS server-->root DNS server-->com DNS server-->amazon.com DNSservers

your DNS server-->EDU DNS server-->COM DNS server-->root DNS server

your DNS server-->Root DNS server-->COM DNS server-->EDU DNS server

your DNS server--> edu DNS server-->root DNS server-->com DNS server-->amazon.com DNSservers

52
New cards

if you want to add a resource record to resolve the hostname www.ColumbusState.edu to address196.12.10.4 in your DNS server, which one is the correct format?

(www.ColumbusState.edu, 196.12.10.4, CNAME, 20)

(www.ColumbusState.edu, 196.12.10.4, NS, 20)

(www.ColumbusState.edu, 196.12.10.4, A, 20)

(www.ColumbusState.edu, 196.12.10.4, MX, 20)

(www.ColumbusState.edu, 196.12.10.4, A, 20)

53
New cards

Server can only use one socket to talk with multiple clients.

True

False

False

54
New cards

Which one can be used as an input, as well as an output stream?

keyboard

monitor

socket

printer

socket

55
New cards

In a TCP process communication, which one is correct?

A server process must first be running.

A client process must first be running.

A server and a client process must be running concurrently.

It does not matter which process runs first because they can wait for eachother.

A server process must first be running.

56
New cards

Consider an HTTP client that wants to retrieve a Web document at a given URL. The IP addressof the HTTP server is initially unknown. what transport and application-layer protocols besidesHTTP are needed in this scenario?Application layer protocols: DNS and HTTP, Transport layer protocols: TCP for DNS; TCP forHTTP

Application layer protocols: DNS and HTTP, Transport layer protocols: TCP

Application layer protocols: DNS and HTTP, Transport layer protocols: UDP

Application layer protocols: DNS and HTTP, Transport layer protocols: UDP for DNS; TCP forHTTP

Application layer protocols: DNS and HTTP, Transport layer protocols: UDP for DNS; TCP forHTTP

57
New cards

HTTP response messages never have an empty message body.

True

False

False

58
New cards

Two distinct Web pages can be sent over the same persistent connection.

True

False

True

59
New cards

With non-persistent connections between browser and origin server, it is possible for a singleTCP segment to carry two distinct HTTP request messages.

True

False

False

60
New cards

Which of the following application layer protocols uses UDP at transport layer?HTTP

POP3

DNS

FTP

DNS

61
New cards

Which statement of the following is correct?

the checksum of an UDP packet can detect transfer error.

the checksum of an UDP packet can detect and recover transfer error.

the checksum of an UDP packet can neither detect nor recover transfer error.

the checksum of an UDP packet can recover transfer error.

the checksum of an UDP packet can detect transfer error.

62
New cards

In a UDP packet, if its payload has two 32bits integers: E666 and D555, then its checksum should be

4443

4444

5454

616f

4443

63
New cards

for the FSM shown in the figure, which description is correct?

rdt_send(data) is a call from network layer

udt_send(packet) is a call from application layer

rdt_send(data) is a call from application layer

packet = make_pkt(data) is happend at application layer

rdt_send(data) is a call from application layer

64
New cards

Rdt 2.0 is designed for handling channel packet loss.

True

False

false

65
New cards

Selective Repeat protocol is

the same as TCP protocol

a pipelined protocol

an application layer protocol

a network layer protocol

a pipelined protocol

66
New cards

Transport protocol provides a logical communication between two hosts.

True

False

False

67
New cards

Network layer relies on transport layer services.

True

False

False

68
New cards

At transport layer, sender side will

receive datagram from network layer and deliver it to application layer.

get the message from application and deliver it directly to the network layer.

receive the message from application, encapsulate it and deliver it to the network layer.

reassemble segments into messages, pass them to application layer.

receive the message from application, encapsulate it and deliver it to the network layer.

69
New cards

From transport layer,

a host can be identified

a process can be identified

an IP address can be identified

Packet contents can be identified

a process can be identified

70
New cards

TCP protocol provides

time guarantee

bandwidth guarantee

flow control

"best effort" IP

flow control

71
New cards

De-multiplexing at sender side delivers received segments to a correct socket.

True

False

false

72
New cards

An UDP packet can be delivered to the destination and the appropriate process at the destination based on(multiple choices)

Source and Destination Port

Destination IP and Port

Source IP and Port

Source and Destination IP

Destination IP and Port

73
New cards

With connectionless de-multiplexing, IP datagrams with different source IP addresses, but the same sourceport number, can be directed to the same destination port.

True

False

True

74
New cards

What kind of multiplexing/de-multiplexing service is used in the communication shown by the abovefigure?

TCP multiplexing service

connectionless de-multiplexing service

connection-oriented multiplexing service

connection-oriented de-multiplexing service

connectionless de-multiplexing service

75
New cards

TCP connection can be identified by

Source IP and Port

Source and destination IP, and Port

Source and destination Port

Source and destination IP

Source and destination IP, and Port

76
New cards

Web server uses the same socket to process different non-persistent HTTP requests.

True

False

False

77
New cards

Which statement of the following is correct?

twisted pair is a reliable data transmission media.

optical fiber is a reliable data transmission media.

Network layer data transfer is not reliable.

a router is a reliable data transfer device.

Network layer data transfer is not reliable.

78
New cards

the policy of Go-Back-N to handle out-of-order packets at the receiver host is

reorder them

buffer them

discard them

acknowledge them

discard them

79
New cards

the reason for Go-Back-N to generate duplicate ACKs is

packet buffering at thereceiver

an expected packet received

out of order packet received

an ACK from the sender

out of order packet received

80
New cards

the packets within the window buffer of the sender host using SR protocol

must not be acknowledged

must be acknowledged

may be acknowledged, may not be

none of the above

may be acknowledged, may not be

81
New cards

If the range of sequence number is from 1 to 100, how big would the window size at sender side be at mostfor SR protocol?

100

30

50

20

50

82
New cards

the field "receive window" in TCP header indicates

the sender tells the receiver how big the receiver window would be.

the receiver tells the sender how big the sender window would be.

the receiver tells the sender how big the receiver window would be.

the sender tells the receiver how big the sender window would be

83
New cards

based on the situation as shown in the figure above,

Host A needs to resend the first packet

Host A knows that the first packet has been received

Host A needs to wait for the Ack of the first packet

After timeout, Host A will resend the first unacknowledged packet.

Host A knows that the first packet has been received

84
New cards

A TCP connection is initiated by the server.

True

False

false

85
New cards

Only client side can make a request to close a TCP connection.

True

False

true

86
New cards

In rdt2.0, rdt_send() is called from

transport layer

application layer

datalink layer

network layer

application layer

87
New cards

"TCP flow control" means that a sender won't overflow the receiver by lowering the transferring rate fromthe sender to the receiver.

True

False

False

88
New cards

In protocol rdt1.0, udt_send() is call from

Applicationlayer

network layer

transport layer

datalink layer

transport layer

89
New cards

Each state of a finite state machine (FSM) can be transited to other states or itself triggered by the events received and the actions taken.

True

False

false

90
New cards

Please point out which of the following is correct based the following rdt 2.0 FSM.

Once a packet is sent out, it will go to the state to send the next packet.

Once a packet is sent out, it immediately goes to the state to wait for an acknowledgementfor the previous packet sent out.

Once a packet is sent out, it immediately goes to the state to wait for an acknowledgementfor the packet just sent out.

If there is an acknowledgement received, it immediately goes back to the state to send thenext packet.

Once a packet is sent out, it immediately goes to the state to wait for an acknowledgementfor the packet just sent out.

91
New cards

The reason for the duplicated packets received of rdt2.0 is

packet lost

sender acknowledgement lost

receiver acknowledgement lost

acknowledgement corrupted

acknowledgement corrupted

92
New cards

rdt3.0 can handle

packet bit error only

packet loss only

packet bit error and loss

either packet bit error or packetloss

packet bit error and loss

93
New cards

Sending 8000 bits data packet to the receiver side through a link with 1 Gbps bandwidth and 10 mspropagation delay, the utilization is

0.03998

0.003998

0.0003998

0.3998

0

94
New cards

Which of the following is correct about Go-Back-N protocol?The value of variable "next_seq_num" must be bigger than the value of "send_base" in theSending window.

it maintains one timer for each in-flight packet.

the oldest unacked packet in its sending buffer window must be acknowledged first.

Unacked packets in its buffer window must not be consecutive.

the oldest unacked packet in its sending buffer window must be acknowledged first.

95
New cards

Which network is a datagram network?

ATM

X.25

Frame relay

the Internet

the internet

96
New cards

If you want to design a network to connect 130 hosts, how to design your network address andmask?

223.272.0.0/24

223.272.0.128/24

223.272.0.192/24

223.272.0.64/24

223.272.0.0/24

97
New cards

The protocol DHCP works in _________ layer.

network

transport

application

IP

application

98
New cards

Network layer protocol ICMP message is carried over_____.

UDP

TCP

IP

HTTP

IP

99
New cards

How to process a big packet in IPv6?

fragmentation when needed

ICMP message "packet too big"

ignore big packet

none of the above

ICMP message "packet too big"

100
New cards

How will the network operate with mixed IPv4 and IPv6 routers?

Convert IPv6 datagram to IPv4 datagram

IPv6 carried as payload in IPv4 datagram among IPv4 routers

IPv4 carried as payload in IPv6 datagram among IPv6 routers

Convert IPv4 datagram to IPv6 datagram

IPv4 carried as payload in IPv6 datagram among IPv6 routers