ANSWER NETWORKS QUESTIONS (MCQS AND CALCULATIONS)
QUESTIONS ( 11 - 20)
QUESTION 11
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
|
20 msec |
||
|
19 msec |
||
|
1 msec |
||
|
11 msec |
||
|
None of the above |
1 points
QUESTION 13
|
Client-server |
||
|
P2P |
||
|
Network |
||
|
Application Layer |
||
|
None of the above |
1 points
QUESTION 14
|
7-bit ASCII |
||
|
Binary |
||
|
Text |
||
|
ASCII |
||
|
None of the above |
1 points
QUESTION 15
|
A |
||
|
NS |
||
|
CNAME |
||
|
MX |
||
|
None of the above |
1 points
QUESTION 16
HTTP/1.1 200 OK
Date: Tue, 13 Aug 12:21:39 +0000
Server: Apache/2.2.3 (CentOS)
Last-Modified: Tue, 13 Aug 2019 12:43:19 +0000
ETag:17dc6-a5c-bf716880.
Content-Length: 69763
Keep-Alive: timeout=44, max=71
Connection: Keep-alive
Content-type: image/html
1 points
QUESTION 17
1 points
QUESTION 18
1 points
QUESTION 19
HTTP/1.1 200 OK
Date: Tue, 13 Aug 2019 12:21:39 +0000
Server: Apache/2.2.3 (CentOS)
Last-Modified: Tue, 13 Aug 2019 12:43:19 +0000
ETag:17dc6-a5c-bf716880.
Content-Length: 69763
Keep-Alive: timeout=44, max=71
Connection: Keep-alive
Content-type: image/html
1 points
QUESTION 20
HTTP/1.1 200 OK
Date: Tue, 13 Aug 12:21:39 +0000
Server: Apache/2.2.3 (CentOS)
Last-Modified: Tue, 13 Aug 2019 12:43:19 +0000
ETag:17dc6-a5c-bf716880.
Content-Length: 69763
Keep-Alive: timeout=44, max=71
Connection: Keep-alive
Content-type: image/html
Answer



Answer
69763 bytes

Answer
image/html

Answer
13-08-2019 12:43

Answer
Apache/2.2.3 (CentOs)
--
Explanation
11)once socket is constructed the following wcode that will send
our UDP message
sendto(Message, (UDP_IP_ADDRESS, UDP_PORT_NO))
according to this format
only option a will fit
newMsg.encode(), CAddr is the correct one
--
13)in P2P architecture there is minimal or no reliance on dedicated
servers
because, each and every computer can act both client and
server
--
14) HTTP request messages are in ASCII format
--
15)
CNAME means Canonical Name
---
Answered all the questions, excepts 2 questions, really sorry for that
if you need any further help, please mention it, love to help
Good Luck
ANSWER NETWORKS QUESTIONS (MCQS AND CALCULATIONS) QUESTIONS ( 11 - 20) QUESTION 11 1. Consider the following...
Problem # 1 (30 points): Suppose within your Web browser you click on a link to obtain a web page Suppose that the IP address for the associated URL is not cached in your local host, so that a DNS look- up is necessary to obtain the IP address. Suppose that two (2) DNS servers are visited before your host receives the IP address from DNS; the successive visits incur an RTT of RTT1 and RTT2. Further suppose that the...
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 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...
Consider following HTTP request headerGET /tr/page/49/genel-bilgi.html HTTP/2.0Host: ic.atilim.edu.trUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflate, brConnection: keep-aliveCookie: gcl_au=1.1.717471173.1571991598; __atuvc=12%7C43; ..........Upgrade-Insecure-Requests: 1TE: Trailersa. What is the URL of the document requested by the browser?b. What version of HTTP is the browser running?c. Does the browser request a non-persistent or a persistent connection?d. What is the IP address of the host on which the browser is running?e. What type of browser initiates this message? Why is...
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...
1. Let’s consider the network shown in Figure 1 where Snort is
deployed.
1.1: In Figure 1, why is Snort deployed in the DMZ instead of
the Internal Network? (9 points)
1.2: In Figure 1, say True or False to the following statement:
“Snort can see both incoming packets from the left firewall and
outgoing packets from the right firewall”. (5 points)
1.3: In Figure 1, assume a packet P matches the following Snort
rule when the packet is analyzed...
Please Answer all Questions on Networks, They all involve calculation ( 1-9 Questions) "A single router is transmitting packets, each of length L bits, over a single link with transmission rate R Mbps to another router at the other end of the link. Suppose that the packet length is L= 12000 bits, and that the link transmission rate along the link to router on the right is R = 1000 Mbps. What is the maximum number of packets per second...
Construction methods
Do 4-3
5. Answer the following two questions, 5-1 and S-2 5-1) Draw the "node" network diagram and perform the CPM calculations based on the end-of-day convention to complete the table entries. (20 points) (Note: use very simple node design for the network diagram: for example, box or circle.) Activity! Duration | Predecessors | EST E-LS 1 LF- B. BFF/2 | 구 | 11 | 15 | 19 E, F SS12 5 13 it is assumed that the...
Question 1 A URL is a ____-part addressing scheme a. two b. four c. three d. one Question 2 A text file that contains HTML tags is called a(n) ____. a. server b. HTML document c. browser d. IP address Question 3 A(n) ____ comes into existence as soon as a work is placed into a tangible form. a. open-source project b. copyright c. reproduction notice d. lien Question 4 A(n) ____ is a small file...
QUESTION 17 0.1 points Save Answer Questions 17-20 relate to the following information. Suppose we are given 20 tulip bulbs that are very similar in appearance. We are told that 8 tulips will bloom early, 12 will bloom late, 13 will be red, and 7 will be yellow. This information is summarized below Early (E) Late (L) Totals Red (R) 8 13 Yellow (Y) 3 4 7 Totals 8 12 20 What is P(Y)? QUESTION 18 0.1 points Save Answer...