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 of the statements listed is true for the following
scenario? A sending host sends a segment to a receiving host with
the following 16-bit words: 0011 1101 1111 1110, 1110 1000 1111
1101 and 0001 0010 0111 0101. The receiving host receives the
following 16-bit words: 0011 1101 1111 1101, 1110 1000 1111 1110
and 0001 0010 0111 0101.
a. No error exists as no errors occurred in the
transmission.
b. Bit swapping occurred in 2 of the 16-bit words
therefore an error will be detected.
c. Bit swapping occurred in corresponding positions in
2 of the 16-bit words therefore no error has actually occurred and
no error will be detected
d. Bit swapping occurred in corresponding positions in
2 of the 16-bit words therefore when the checksum is added to the
sum of the 16-bit words received, an error will be
detected
e. None of the above
3. In which protocol does each packet have a timer?
a. RDT3.0
b. Go-Back-N
c. Selective Repeat
d. A, B & C
e. None of the above
4. How is a UDP socket fully identified?
a. Destination IP address and source IP
address
b. Destination IP address and destination port
number
c. Source port number and destination port
number
d. Destination port number and source port
number
e. None of the above
5. Why does UDP provide error checking using a checksum when link
layer protocols already provide error checking?
a. Not all link layer protocols provide error
checking
b. A bit error could be introduced when the segment is
being stored in the routers memory
c. Link by link reliability is not
guaranteed
d. A, B and C
e. None of the above
Kindly assist.
Thank you
Networks Hi guys. I need some assistance with a few questions below. 1. Which of the...
1. To which of the following subnets does IP address 225.3.2.22 belong? 225.3.2.0/24 225.3.2.22/24 225.2.3.0/24 225.0.0.0/24 none of the above Question 2 On which of the following devices does the transport layer NOT run? laptop router cellphone A, B and C none of the above Question 3 What is the source address contained in the discover message sent by a host that is wanting to obtain an IP address? 255.255.255.255 0.0.0.0 the IP address of the server the last IP...
ECE 1552- Summer 2019 Homework 2: Solve all questions. HW is to be turned in as a PDF or word document on canvas. Show all working. Answers provided should be typed or written CLEARLY 1: Find a function to detect an error in the representation of a decimal digit in BCD. In other words, write an equation with value 1 when the inputs are any one of the six unused bit combinations in the BCD code, and value 0 otherwise...
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...