Computer Networks MCQs - Unit 4
A
only bit transmission
B
only routing
C
only encryption
D
end-to-end (process-to-process) communication
Correct Answer
end-to-end (process-to-process) communication
A
LISTEN
B
ROUTE
C
STUFF
D
HASH
Correct Answer
LISTEN
A
8 bits long
B
16 bits long
C
32 bits long
D
48 bits long
Correct Answer
16 bits long
A
a MAC address and a cable type
B
an IP address and a port number
C
a URL and a file name
D
a domain name only
Correct Answer
an IP address and a port number
A
connectionless and unreliable
B
connectionless and reliable
C
connection-oriented and reliable
D
a network layer protocol
Correct Answer
connection-oriented and reliable
A
connectionless and unreliable
B
connection-oriented and reliable
C
a data link protocol
D
an application protocol
Correct Answer
connectionless and unreliable
A
FIN, ACK and RST
B
SYN, SYN+ACK and ACK
C
GET, POST and PUT
D
HELLO, BYE and OK
Correct Answer
SYN, SYN+ACK and ACK
A
a single RST only always
B
no packets
C
a four-way handshake (FIN and ACK in each direction)
D
an ARP request
Correct Answer
a four-way handshake (FIN and ACK in each direction)
A
20 bytes
B
8 bytes
C
40 bytes
D
60 bytes
Correct Answer
20 bytes
A
20 bytes
B
8 bytes
C
16 bytes
D
40 bytes
Correct Answer
8 bytes
A
source port, destination port, length and checksum
B
sequence number and window size
C
source address and TTL
D
flags and urgent pointer
Correct Answer
source port, destination port, length and checksum
A
a fixed window of one byte
B
a sliding window advertised by the receiver
C
no window
D
a router table
Correct Answer
a sliding window advertised by the receiver
A
exponentially
B
linearly only
C
not at all
D
randomly
Correct Answer
exponentially
Correct Answer
53
Correct Answer
25
Correct Answer
80
A
File transfer with FTP
B
Web browsing over HTTP/1.1
C
DNS queries
D
Email delivery over SMTP
Correct Answer
DNS queries
A
parity bits
B
bit stuffing
C
CRC
D
the three-way handshake
Correct Answer
the three-way handshake
A
every channel is reliable
B
no connection can be made
C
reliable agreement over an unreliable channel cannot be guaranteed
D
UDP is always better
Correct Answer
reliable agreement over an unreliable channel cannot be guaranteed
A
the measured round-trip time
B
the packet size only
C
the server's name
D
a fixed value of zero
Correct Answer
the measured round-trip time
A
reduce the number of small segments sent
B
increase the number of small segments
C
encrypt segments
D
drop all segments
Correct Answer
reduce the number of small segments sent
A
connection release only
B
data compression
C
error correction
D
connection establishment
Correct Answer
connection establishment
A
several connections can share one network address
B
one connection uses several networks
C
no connection is allowed
D
data is encrypted
Correct Answer
several connections can share one network address
A
ARP
B
ICMP
C
Ethernet only
D
UDP
Correct Answer
UDP
A
a byte stream with no message boundaries
B
fixed-size messages with boundaries
C
only text lines
D
only images
Correct Answer
a byte stream with no message boundaries
Fill in the Blanks
26
The unit of data at the transport layer in TCP is the ______.
Correct Answer
segment
27
A port number is ______ bits long.
Correct Answer
16
28
A socket address is the combination of an IP address and a ______ number.
Correct Answer
port
29
The TCP three-way handshake consists of SYN, SYN+ACK and ______.
Correct Answer
ACK
30
The UDP header is ______ bytes long.
Correct Answer
8
31
The minimum size of the TCP header is ______ bytes.
Correct Answer
20
32
TCP flow control uses a sliding ______ advertised by the receiver.
Correct Answer
window
33
In slow start, the congestion window grows ______.
Correct Answer
exponentially
34
The well-known port number of HTTP is ______.
Correct Answer
80
35
The well-known port number of DNS is ______.
Correct Answer
53
36
The well-known port number of SMTP is ______.
Correct Answer
25
37
TCP is ______-oriented and reliable.
Correct Answer
connection
38
UDP stands for ______ Datagram Protocol.
Correct Answer
User
39
TCP stands for ______ Control Protocol.
Correct Answer
Transmission
40
A TCP connection is released using a ______-way handshake.
Correct Answer
four