I NEED HELP WITH NETWORKS ( 1 - 11) QUESTIONS , ENSURE YOU ANSWER THEM ALL
QUESTION 1
Which of the following could be valid DNS resource record entries?
|
(mysite.com, 125.245.206.3, NS) |
||
|
(ibm.com, backup6.ibm.com, CNAME) |
||
|
(158.223.21.2, mypage.edu, A) |
||
|
All of the above |
||
|
None of the above |
1 points
QUESTION 2
Which mail protocol keeps state information across sessions?
|
SMTP |
||
|
POP3 |
||
|
IMAP |
||
|
All of the above |
||
|
None of the above |
1 points
QUESTION 3
What type of message is the following?
GET /kurose_ross/interactive/quotation7.htm HTTP/1.1
Host: gaia.cs.umass.edu
Accept: text/plain, text/html, image/gif, image/jpeg, audio/mpeg,
audio/basic, video/wmv, video/mp4, application/*, */*
Accept-Language: en, fr, de, ar, cs
If-Modified-Since: Mon, 12 Aug 2019 07:13:47 -0700
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101
Firefox/11.0
|
HTTP request |
||
|
HTTP response |
||
|
SMTP |
||
|
DNS request |
||
|
None of the above |
1 points
QUESTION 4
Which of the following is NOT an application layer protocol?
|
HTTP |
||
|
FTP |
||
|
BitTorrent |
||
|
SMTP |
||
|
None of the above |
1 points
QUESTION 5
1. Consider the following excerpt from a simple server side UDP program:
Server.py
from socket import *
sName=’127.0.0.1’
sSocket=socket(AF_INET,SOCK_DGRAM)
sSocket.bind((sName, 12005))
while True:
msg, cAddr =sSocket.recvfrom(2048)
newMsg = msg.decode().lower()
sSocket.sendto(newMsg.encode(), cAddr)
After receiving how many packets of data is this UDP socket closed by the server?
|
1 |
||
|
2048 |
||
|
10 |
||
|
No limit |
||
|
None of the above |
1 points
QUESTION 6
An IP address:
|
Identifies a host |
||
|
Is a 32-bit value |
||
|
Can be found in DNS resource records |
||
|
All of the above |
||
|
None of the above |
1 points
QUESTION 7
Which statement / statements are true of the TCP transport protocol?
|
The client and server exchange control information before the application message flows |
||
|
Handshaking is used to establish a connection between client and server |
||
|
Connections exist between sockets of the two processes |
||
|
All of the above |
||
|
None of the above |
1 points
QUESTION 8
Consider the following excerpt from a simple server side TCP program. Server.py
from socket import *
serverPort=12000
serverSocket= socket(******************)
serverSocket.bind(('',serverPort))
serverSocket.listen(1)
connectionSocket, addr = serverSocket.accept()
while 1:
sentence = connectionSocket.recv(1024)
print 'From Server:', sentence, '\n'
serverSocket.close()
Which of the following could be used to replace the *********** in line 2?
|
AF_INET,SOCK_STREAM |
||
|
SOCK_STREAM |
||
|
AF_INET,SOCK_DGRAM |
||
|
SOCK_DGRAM |
||
|
None of the above |
1 points
QUESTION 9
How does Post Office Protocol access mail?
|
Using download and deleting |
||
|
Using download and keep |
||
|
Using authenticate, retrieve and update phases |
||
|
Using SMTP |
||
|
None of the above |
1 points
QUESTION 10
With reference to The Domain Name service, choose the most correct option:
|
Translates hostnames to IP addresses |
||
|
Is implemented as a collection of distributed databases |
||
|
Is implemented in a hierarchical architecture |
||
|
All of the above |
||
|
None of the above |
1 points
QUESTION 11
1. Consider the following excerpt from a simple client side TCP program:
Client.py
from socket import *
sName=’xyz’
sPort=12002
cSocket=socket(AF_INET,SOCK_STREAM)
cSocket.connect((************))
cSocket.send (‘Welcome to Socket programming’.encode())
newText=cSocket.recv(1024)
print ('From Server:', newText.decode(), '\n')
cSocket.close()
Which of the following could be used to replace the *********** in line 5?
|
sPort |
||
|
12000 |
||
|
‘’, serverPort |
||
|
'',sPort |
||
|
None of the above |
1 points
1. All of the above
Explanation: All of them are valid DNS resource record entries.
2. POP3
Explanation: During a POP3 session between a user agent and the mail server, the POP3 server maintains some state information; in particular, it keeps track of which user messages have been marked deleted.
3. HTTP request
Explanation: This is an example of HTTP request.
4. BitTorrent
Explanation: Except BitTorrent, every protocol is an application layer protocol.
NOTE: As per Chegg policy, I am allowed to answer specific number of questions (including sub-parts) on a single post. Kindly post the remaining questions separately and I will try to answer them. Sorry for the inconvenience caused
I NEED HELP WITH NETWORKS ( 1 - 11) QUESTIONS , ENSURE YOU ANSWER THEM ALL...
on calculations can i see how did the expect come to the solution ,all the workout should be included QUESTION 1 A file of size F = 8 Gbits needs to be distributed to10 peers. Suppose the server has an upload rate of u = 68 Mbps, and that the 10 peers have upload rates of: u1 = 20 Mbps, u2 = 22 Mbps, u3 = 12 Mbps, u4 = 19 Mbps, u5 = 25 Mbps, u6 = 24 Mbps,...
I NEED HELP WITH COMPUTER NETWORKS( PLEASE ANSWER THEM ALL) CALCULATIONS & MCQS 1. Name 1 languages that the browser is willing to accept in the following message? GET /kurose_ross/interactive/quotation7.htm HTTP/1.1 Host: gaia.cs.umass.edu Accept: text/plain, text/html, image/gif, image/jpeg, audio/mpeg, audio/basic, video/wmv, video/mp4, application/*, */* Accept-Language: en, fr, de, ar, cs If-Modified-Since: Mon, 12 Aug 2019 07:13:47 -0700 User Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0 2. A file of size F = 8 Gbits needs to be distributed to10...
ANSWER NETWORKS QUESTIONS (MCQS AND CALCULATIONS) QUESTIONS ( 11 - 20) QUESTION 11 1. Consider the following excerpt from a simple server side UDP program: Server.py from socket import * sName=’127.0.0.1’ sSocket=socket(AF_INET,SOCK_DGRAM) sSocket.bind((sName, 12005)) while True: msg, cAddr =sSocket.recvfrom(2048) newMsg = msg.decode().lower() sSocket.sendto(*********************) What code could be used to replace the **********’s in line 8? newMsg.encode(), cAddr newMsg.encode() msg.encode(), cAddr msg.encode() none of the above 1 points QUESTION 12 For a client to obtain an IP address from the local...
In Python, make changes in the client code, so that the client allows the user to continue to send multiple requests until the user types in “Quit”. This means that the client process should not exit after the user sends one request and receives one response. Instead, the client process should be able to receive subsequent inputs from the user. You need to have a loop in the client code, so that it can accept the user request until the...
Question 34 A TCP socket contain …………………… that uniquely identifies it on a network TCP ID Port number UDP HTTP ( ) a ( ) b ( ) c ( ) d 2 points Question 35 Mail server port number is usually 8080 80 2525 25 ( ) a ( ) b ( ) c ( ) d 2 points Question 36 TCP Head length indicates ( ) The size of the segment ( ) The capacity of data that...
PLEASE HELP WITH THESE COMPUTER NETWORK QUESTIONS THESE INCLUDE MCQS AND CALCULATIONS With reference to the Go-Back-N and Selective repeat protocols, what does the window value signify? The packets that have already been ACKed The packets sent but remain unACKed The sequence numbers available and not yet sent The sequence numbers of packets not yet available None of the above 1 points QUESTION 2 Which of the following is NOT a component of the TCP congestion control algorithm? Slow...
Can anyone answer and explain the following questions from Into to Computer Networking course? 1) PTSN networks are: a) Packet-switching networks offering connection-oriented services b) Packet-switching networks offering connectionless services c) Circuit-switching networks offering connection-oriented services d) Circuit-switching networks offering connectionless serive 2) Connection setup and temination, if performed, takes places in this layer of the internet model a) Presentation layer b) Session layer c) Network layer d) Physical layer 3) UDP sockets are identified by: a) Client program port...
Date Q.1- Deternine if the following statements are f ue ow Fae I- Different URLs can be mappel to the same IP wlivess 2- HTML refers the application layer rotoeol that is used to tranafer wehpages to m server to the client 3- The web browser can serve as an HTTP elient or an TTP serve 4- When the congestion point is reached, the eongestion control algorithn wehuces the congestion window into half of its previous value s- The domain...
1. Which of the following protocols is used by a client to send an email message? a. HTTP SMTP b. FTP d. RDP 2. What is the most common network topology today? a/Star c. Hub Ring d. Mesh 3. A client/server network is the simplest network model. a/ True O False 4. Which client server application allows an administrator to control a remote computer, but does not encrypt or secure the communication between client and server? A Telnet C. Remote...
Networks Hi guys. I need some assistance with a few questions below. 1. Which of the following is TRUE regarding a TCP 3-way handshake. a. Consists of 3 segments being sent between 2 hosts b. Segments only carry data in the SYN, ACK and sequence number bits and bytes with no data c. No ACK is needed for the SYNACK received from the receiver d. A, B and C e. None of the above 2. Which...