1. a)UDP and TCP use 1’s complement for their checksums. Suppose you have the following three 8 bit bytes: 0101 0011, 0111 0110, 1001 0011. What is the 1’s complement of the sum of these 3 8-bit bytes? Show all work. Why is it that the 1’s complement is used and not just the sum? What is the sum of the three 8 bit bytes and the checksum you just computed? What is it if you change the first 8 bit byte to 0101 0010 (i.e. we had a single bit error)? What is it if you also change the second 8 bit byte to 0111 0111 (i.e. you have two bit errors)? Does the checksum always catch bit errors?
b. What is the main advantage of the GBN protocol? What can happen with the GBN protocol if an infrequent but regular garble of the data causes packet losses on the order of 1 garble every 1000 packets where the window size is 1000 packets?
c. What is the main advantage of the SR protocol? What can happen if the window size of the SR protocol is greater than half the size of the sequence number space?
1. a)UDP and TCP use 1’s complement for their checksums. Suppose you have the following three...
UDP and TCP use 1s complement for their checksum. Suppose you have the following two 8-bit bytes: 0101, 1010. What is the 1s complement of the sum of these 8-bit bytes? Suppose the two bytes are altered during transmission with the checksum as follows: 1001, 0110. Can the checksum be used to detect the alteration?
4. UDP and TCP use 1's complement for their checksums. Suppose you have the following two 16-bit words: 0101 0101 0101 0101 and 1010 1010 1010 1011. 4.a. (2 pts.) What is the 1's complement of the sum of these words? Show all work. 4.b. (2 pts.) With the 1's complement scheme, how does the receiver detect errors? 4.c. (2 pts.) Is it possible that a 4-bit error will go undetected? If so, provide an example. 4.d. (2 pts.) Is...
UDP and TCP use 1s compliment for their checksum. Suppose you have the following two 8-bit bytes: 0101, 1010. What is the 1s compliment of the sum of these 8-bit bytes? Suppose the two bytes are altered during transmission with the checksum as follows: 1001, 0110. Can the checksum be used to detect the alteration?
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...
Part 4 - Data Checks In the previous sections of this lab, you have already looked at one problem that may corrupt data on the Internet or other networks, packet loss. However, this is relatively rare and is easily handled as with TCP handshaking to establish a connection and request replacements for missing packets. Except in rare cases, an issue only arises if there is a bad connection with packet loss of 5% or more. Another issue that can arise...
Now, suppose you have the following two 8-bit hexadecimal numbers, both of which use two's complement: ef 4a 4. What is the decimal equivalent of each of these numbers? 6. What is their sum in hexadecimal? (Note that the sum must also be confined to 8 bits in order for two's complement to work.)
Assume you have: 32-bit addresses, 4KB Page size, 4MB Physical Memory Space, 4KB Cache with 4-way set associative and LRU replacement, 32 Byte Cache block size, 4-entry fully associative TLB. A program to be run on this machine begins as follows: double A[1024]; int i, j; double sum = 0; for( i = 0; i < 1024; i++ ) // first loop A[i] = i; for( j = 0; j < 1024; j += 16 ) // second loop ...
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...
help with computer network questions 1. What is the difference between circuit switching and packet switching? 2. What are the different layers in today’s Internet? Why do we create layers? 3. Suppose there is a 10 Mbps microwave link between a geostationary satellite and its base station on Earth. Every minute the satellite takes a digital photo and sends it to the base station. Assume a propagation speed of 2.4 * 10^8 meters/sec. a. What is the propagation delay of...
P13-1. What is the hexadecimal equivalent of the following Ethernet address? 01011010 00010001 01010101 00011000 10101010 00001111 P13-6. Suppose the length of a 10Base5 cable is 2500 m. If the speed of propagation in a thick coaxial cable is 200,000,000 m/s, how long does it take for a bit to travel from the beginning to the end of the network? Assume there is a 10 μs delay in the equipment P13-7. Suppose you are to design a LAN for a...