Question

In: Computer Science

Q4: Suppose you want to send a 5000 character message, using 7-bit ASCII encoding. How many...

Q4: Suppose you want to send a 5000 character message, using 7-bit ASCII encoding. How many TOTAL bits would need to be transmitted using an asynchronous connection? How many of those bits are overhead? How many TOTAL bits would need to be transmitted using a synchronous connection? How many of those bits are overhead? For the synchronous connection, each frame can hold 1000 characters, and has a start byte flag, a stop byte flag, a control byte, a 2 byte address field, and a 2 byte checksum. You may show your work for partial credit

Solutions

Expert Solution

Total characters to be transmitted: 5000.

Each character has a 7bit ASCII code. So, that becomes, 5000 x 7 bit= 35,000 bits.

Since it is asynchronous, every character needs a START( 1 bit) and STOP( 1 bit). So 5000 x 2bits = 10,000 bits.

So the total number of bits needed in an synchronous connection is 35,000 + 10,000 = 45,000 bits.

The overhead in asynchronous connection is at least 2 bits for eery character sent( due to START and STOP bits). That makes it, 5000 x 2= 10,000 bits.

For synchronous connection, one frame will look like the following:

For one frame, Start byte(1**) + Control byte (1) + Address byte (2) + Checksum byte (2) +Stop byte (1) + 1000 characters (7 bit each) =7056 bits

For 5 frames*, 7056 x 5=35280 bits

Note * : total characters is 5000. so we need 5 frames.

Note **: 1 byte= 8bits


Related Solutions

Suppose Alice is using a block cipher to send the message THE ORDER IS KARL, ANDY,...
Suppose Alice is using a block cipher to send the message THE ORDER IS KARL, ANDY, FRED AND IAN. IAN AND ANDY HAVE LEFT. to Bob. Assume that the block cipher is used in ECB mode, the English is divided into plaintext blocks of 2 letters (ignore spaces and punctuation) the ciphertext blocks are denoted C1,C2,...,C23 (a) Write down the 23 plaintext blocks. (b) Will any of the ciphertext blocks be repeated? If so, which ones? (c) Suppose an attacker...
You and a friend are using the C(7,4) Hamming code to send some 4-bit messages to...
You and a friend are using the C(7,4) Hamming code to send some 4-bit messages to each other. (a) You encode the message 1010 and send the encoded 7-bit sequence to your friend, who receives 1011011. How many errors were introduced during transmission? (b) You subsequently receive the encoded sequence 0111011 from your friend. Assuming at most one error, what is the 4-bit message that your friend sent?
Suppose we want to transmit the message 0010 1101 and detect transmission errors using the CRC...
Suppose we want to transmit the message 0010 1101 and detect transmission errors using the CRC divisor polynomial (x3+x2+1). A.) [15 marks] Determine the bit string that should be transmitted. B.) [15 marks] If the leftmost 1-bit of the transmitted string is inverted due to noise on the link, what is the result of the receiver's CRC calculation?
Genetic Code: Using the standard genetic code, write a sequence encoding the peptide "MASTERMIX" How many...
Genetic Code: Using the standard genetic code, write a sequence encoding the peptide "MASTERMIX" How many different sequences can encode this peptide? How many genetic codes have been described? (Hint: search NCBI Genetic Codes) How, in a general way, do these alternative codes tend to differ from the standard genetic code? How is selenocysteine encoded?
Suppose that you decided to send a spacecraft to Neptune using a Hohmann transfer. The craft...
Suppose that you decided to send a spacecraft to Neptune using a Hohmann transfer. The craft starts in a circular orbit close to the Earth (1 AU) and is to end up in a circular orbit near   Neptune (about 30 AU).   (a) How long would the transfer take?   (b) How could you shorten this time, without increasing the amount of fuel required?   (c) What change in velocity is needed to enter the transfer orbit?   (d)   What is the change in...
How many 7-bit strings are there which... (a) Start with the sub string 10? Explain. (b)...
How many 7-bit strings are there which... (a) Start with the sub string 10? Explain. (b) Have exactly 4 ones? Explain. (c) Either start with 10 or end with 11 (or both)? Explain.
Suppose it’s 1974, and you’re working as a pollster. You want to figure out how many...
Suppose it’s 1974, and you’re working as a pollster. You want to figure out how many people you’d have to survey to get a 97.5% confidence interval of ±4% for the proportion of Americans who say baseball is their favorite sport. (a) Find an appropriate sample size assuming you have no previous information. (b) Now suppose that your helpful intern has found a Gallup poll from 1972 in which 19% of Americans surveyed said that baseball was their favorite sport.4...
Suppose it’s 1974, and you’re working as a pollster. You want to figure out how many...
Suppose it’s 1974, and you’re working as a pollster. You want to figure out how many people you’d have to survey to get a 97.5% confidence interval of ±4% for the proportion of Americans who say baseball is their favorite sport. (a) Find an appropriate sample size assuming you have no previous information. (b) Now suppose that your helpful intern has found a Gallup poll from 1972 in which 19% of Americans surveyed said that baseball was their favorite sport.4...
Host A wants to send 15 frames to Host B using Selective repeat protocol. How many...
Host A wants to send 15 frames to Host B using Selective repeat protocol. How many numbers of frames are transmitted by Host A if every 8th packet is lost or corrupted? Also compare the number of number of transmissions of Selective Repeat with Go Back 3.
7. Suppose the government pays everyone who lost his/her job during the current crisis 5000$. How...
7. Suppose the government pays everyone who lost his/her job during the current crisis 5000$. How does the graph below change? How does the GDP change? Explain.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT