Question

In: Computer Science

Suppose an application generates chunks 60 bytes of data every 200msec. Assume that each chunk gets...

Suppose an application generates chunks 60 bytes of data every 200msec. Assume that each chunk gets put into a TCP packet and that the TCP packet gets put into IP packets. What is the % of overhead that is added in because of TCP and IP combines?

1) 40%

2) 10%

3) 20%

4) 70%

Solutions

Expert Solution

Solution:

Given,

=>Data size = 60 bytes

=>Data is traversed through TCP and then IP.

The answer will be an option,

(a) 40%

Explanation:

=>Header size of TCP = 20 bytes to 60 bytes

=>Header size of IP = 20 bytes to 60 bytes

Calculating overhead:

=>By default minimum header size is taken into consideration hence TCP header size = 20 bytes and IP header size = 20 bytes

Packet:

IP header TCP header Application data

     20 bytes                        20 bytes                           60 bytes

=>Overhead in the packet is IP header and TCP header.

=>Overhead percentage = (total header size/total packet size)*100

=>Overhead percentage = (40/100)*100

=>Overhead percentage = 40%

=>Hence on the basis of above statements option (a) is correct and other options are incorrect because overeade percentage is 40% not 10% or 20% or 70%.

I have explained each and every part with the help of statements attached to the answer above.


Related Solutions

C# Create a console application project that outputs the number of bytes in memory that each...
C# Create a console application project that outputs the number of bytes in memory that each of the following number types use, and the minimum and maximum values they can have: sbyte, byte, short, ushort, int, uint, long, ulong, float, double, and decimal. Try formatting the values into a nice-looking table! Your output should look something like this: | Type | Bytes of Memory | Min | Max |
Assume that 20 bytes of Packed BCD data is present in a data memory at location...
Assume that 20 bytes of Packed BCD data is present in a data memory at location 0x300 to 0x313. You have to write an assembly program that will display data on a two seven segment displays one connected to Port A and other connected to Port B using loops. You also have to analyze data if the data is equal to 0x22 then start storing data bytes at corresponding memory address 0x400 to 0x413 in reverse order i.e. if the...
Suppose that 80% of widgets produced by a factory that generates thousands of widgets every year...
Suppose that 80% of widgets produced by a factory that generates thousands of widgets every year are of acceptable quality. (a) If a quality control inspector selects 3 widgets independently and at random, what is the probability that at least one will not be of acceptable quality? (b) Suppose that a quality control inspector selects a random sample of 60 widgets to determine the proportion that have an acceptable level of quality. If Pˆ is the proportion of acceptable widgets...
Suppose that the security code for a particular automobile’s locks consists of 4 bytes of data...
Suppose that the security code for a particular automobile’s locks consists of 4 bytes of data transmitted via a low power radio. A byte is either sent correctly or is distorted by interference. The car locks are only opened if all 4 bytes are received correctly. Let C be the event that a byte is received correctly and F be the event that the byte is distorted in transmission. Then CCCC would mean that all four bytes were received correctly...
IP Security and IPSec Suppose you have an IPv4 packet with 825964 bytes length. Assume that...
IP Security and IPSec Suppose you have an IPv4 packet with 825964 bytes length. Assume that this packet is to be sent through a network having 1500 bytes MTU. Question: (a) How many minimum fragments must be created from the IP packet? (b) What would be the value of “flag” and “offset” fields of the first fragment? Justify your answer. (c) What would be the value of “flag”, “offset”, and “length” fields of the last fragment? Justify your answer. (d)...
Suppose there is a joint project that generates an amount 10 for each of the individuals...
Suppose there is a joint project that generates an amount 10 for each of the individuals A and B, provided the sum total of A's and B's investments in the project is at least 7. Suppose A's investment is denoted by x and B's by y, where x and y can take any values in {0,1,2,3,4,...,8,9,10}. A player always has to incur the cost of the investment (equal to x or y respectively) and gets the benefit if and only...
Suppose there is a joint project that generates an amount 10 for each of the individuals...
Suppose there is a joint project that generates an amount 10 for each of the individuals A and B; provided the sum total of A's and B's investments in the project is at least 7: Suppose A's investment is denoted by x and B's by y; where x and y can take any values in {0,1,2,3,4,...,8,9,10}. A player always has to incur the cost of the investment(equal to x or y respectively) and gets the benefit if and only if...
Answer each of the following. Assume that single-precision floating-point numbers are stored in 8 bytes, and...
Answer each of the following. Assume that single-precision floating-point numbers are stored in 8 bytes, and that the starting address of the array is at location 2030100 in memory. Each part of the exercise should use the results of previous parts where appropriate. a) Define an array of type float called numbers with 5 elements, and initialize the elements to the values 0.11, 0.22, 0.33, …, 0.55. Assume the symbolic constant SIZE has been defined as 5. b) Define a...
Suppose we have a sequential ordered file of 200,000 records, where each record is 200 bytes....
Suppose we have a sequential ordered file of 200,000 records, where each record is 200 bytes. Assume blocksize = 2048 bytes (10 records per block), average seek time = 10 ms, average rotational delay = 8.3 ms, and block transfer time = 0.8 ms. Suppose we want to make X independent random record reads from the file. This could be done in two different approaches. read the entire file once and look for the X records of interest use a...
Sleep (Raw Data, Software Required): Assume the general population gets an average of 7 hours of...
Sleep (Raw Data, Software Required): Assume the general population gets an average of 7 hours of sleep per night. You randomly select 35 college students and survey them on the number of hours of sleep they get per night. The data is found in the table below. You claim that college students get less sleep than the general population. That is, you claim the mean number of hours of sleep for all college students is less than 7 hours. Test...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT