Question

In: Electrical Engineering

When a message is sent electronically it is usually sent as a stream of bits, each...

When a message is sent electronically it is usually sent as a stream of bits, each of which can be either a 0 or a 1. If the digital channel is noisy then each
bit has some probability of being flipped (ie changed from a 0 to a 1 or vice versa) resulting in a corrupted message.
Assume that a message is being sent through a noisy channel where the probability that any individual bit will be flipped is 0.1. What is the probability that
a message 4 bits long would be successfully transmitted? (Answer to three decimal places).
____________
One method of dealing with the problem of bits being flipped is to use a Hamming code. This involves sending extra bits along with the message that can
be used to check the main message. For example a 7 bit Hamming Code contains 4 bits of message data and 3 check bits. If only one of the bits is in
error at the receiving end then mathematical techniques can be used to determine which one it is and apply a correction. However, if more than one bit is
flipped then an erroneous correction will be applied and the message will still be corrupted.
Assume that a message is being sent through a noisy channel where the probability that any individual bit will be flipped is 0.1 as before. If the message is
sent using a 7 bit hamming code what is the probability that it will get through with no more then one of the seven bits being flipped? (Answer to three
decimal places).
____________
If we are concerned with the possibility that 2 bits have been flipped then instead of using the correction mentioned above we can ask for the 7 bits to be
re-transmitted. However, there is the possibility that when more then 3 bits have been flipped that the final corrupted message will correspond to a
message where the Hamming code thinks that none of the bits have been flipped. The probability of this occurring when 3 or 4 bits have been flipped is
0.2. It does not occur if 5 or 6 bits have been flipped (similar to 1 or 2 bits being flipped). It always occurs if all 7 of the bits have been flipped.
Assume that a message is being sent through a noisy channel where the probability that any individual bit will be flipped is 0.1 as before. A 7 bit Hamming
code is being used. When the message is decoded at the receiving end the procedure indicates that none of the bits have been flipped. What is the
probability that the message that was received that appears to have no bits flipped is in fact an error with 3 or more bits flipped? (Answer to three decimal
places).
____________
Assume that a message is being sent through a noisy channel where the probability that any individual bit will be flipped is 0.1 as before. A 7 bit Hamming
code is being used. When the message is decoded at the receiving end the procedure indicates that at least one of the bits have been flipped. Therefore
the 7 bit message is re-transmitted. What is the probability that if the decoding procedure is applied to both transmissions that both times will result in the
correct 7 bit message (including the case where the second transmission does not need any unflipping)? (Answer to three decimal places).
____________

Solutions

Expert Solution

Given probability of being flipped (i.e. changed from a 0 to a 1 or vice versa) resulting in a corrupted message is q = 0.1 (let it be treated as failure case)

Then probability of not getting a corrupted message is p = 0.9 ( success case)

{ The probability of success and the probability of failure sum to unity (one) }

Now using Bernoulli's trials, probability of k successes in n trials is given by

The probability of 4 bits not getting corrupted (k success cases) out of 4 bits is solved by substituiting n=4, k=4 , p=0.9 and q=0.1 in the above equation .

Therefore P(k) = * (0.9)4 *(0.1)4-4 = 1 * (0.9)4 *1 = 0.6561

{ = 1 }

The probability that a message 4 bits long would be successfully transmitted = 0.656

---------------------------------------------------------

This problem is more likely the first one

Given number of bits(n) = 7

The probability of individual bit being flipped = p =0.1

The probability of individual bit not being flipped = q =0.9

Now the probability that it will get through with no more than one of the seven bits being flipped = probability of 0 bit being flipped + probability of 1 bit being flipped

Probability of flipping 0 bit (k=0) out of 7 bits (n=7) = * (0.1)0 * (0.9)7-0 = 1*1*(0.9)7 = 0.478

Probability of flipping 1 bit (k=1) out of 7 bits (n=7) = * (0.1)1* (0.9)7-1 = 7*0.1*(0.9)6 = 0.372

Therefore the probability that it will get through with no more than one of the seven bits being flipped = 0.478 + 0.372 = 0.85

-----------------------------------------------------------


Related Solutions

Stream Cipher. A message is encoded by exclusive-or’ing each bit with a random bit stream. (In...
Stream Cipher. A message is encoded by exclusive-or’ing each bit with a random bit stream. (In exclusive or, 0⊕0 = 0, 1⊕0 = 1, 0⊕1 = 1, and 1⊕1 = 0.) a. Recover the original message from the random stream and encrypted stream, by filling in the blanks in the “Recovered” and “ASCII” rows. (In the ASCII column, interpret the byte as an ASCII character and write the value in that row.) Message: ? ? ? ? ? ? ?...
For each of the following scenarios, identify the nonverbal message being sent and indicate if the...
For each of the following scenarios, identify the nonverbal message being sent and indicate if the sender and/or receiver should handle the matter differently: While you are talking to a client, she starts drumming her fingers on her desk. You are a new employee attending your first group meeting. When a man arrives after the meeting has started, others stand up to offer him a chair. When you make a suggestion at a group meeting, a colleague rolls her eyes....
When applying secured AES to a long message (multiples of 128 bits), it will have different...
When applying secured AES to a long message (multiples of 128 bits), it will have different modes of encryption. Show all the recommended AES modes of encryption with a 256-bit message m = m1m2. Include a diagram as well.
A stream of bits, 01111011111011111101111100, needs to be transmitted at the data link layer using bit...
A stream of bits, 01111011111011111101111100, needs to be transmitted at the data link layer using bit stuffing, what is actually transmitted after the bit stuffing? 2) We are transmitting 16-bit data using a Hamming code. What is the minimum number of check bits is needed to ensure that the receiver can correct a single-bit error?
Write a VHDL mealy state machine that detects the pattern 01110 in a stream of bits....
Write a VHDL mealy state machine that detects the pattern 01110 in a stream of bits. The machine should have three inputs; in, clk, reset. The output of the machine goes high whenever the pattern is detected.
A binary message m, where m is equal either to 0 or to 1, is sent...
A binary message m, where m is equal either to 0 or to 1, is sent over an information channel. Assume that if m = 0, the value s = −1.5 is sent, and if m = 1, the value s = 1.5 is sent. The value received is X, where X = s + E, and E ∼ N(0, 0.66). If X ≤ 0.5, then the receiver concludes that m = 0, and if X > 0.5, then the...
10) When the directions of current and magnetization are usually parallel to each other in ferromagnetic...
10) When the directions of current and magnetization are usually parallel to each other in ferromagnetic metals, the resistance becomes maximum, and when they are perpendicular to each other, the phenomenon becomes minimum. In the multilayer thin film structure separated by the ferromagnetic metal thin film, A magnetoresistance change may occur. This phenomenon is called (________) and occurs by (________) electron scattering
What are the challenges the organization will face when electronically marketing and selling this product outside...
What are the challenges the organization will face when electronically marketing and selling this product outside of the United States? What are some of the issues the team needs to be aware of before launching this product for sale electronically? Provide a summary of the issues ASC must analyze prior to entering the global market through electronic means. This summary should be a minimum of 500 words.
Let M(x, y) be "x has sent y an e-mail message" and T(x, y) be "...
Let M(x, y) be "x has sent y an e-mail message" and T(x, y) be " x has telephoned y, " where the domain consists of all students in your class. Use quantifiers to express each of these statements. g. There is a student in your class who sent every one else in your class an email message. I answer  ∃x( x ≠ y ∧ ∀? M (x, y) ) But answer on text book is  ∃x( x ≠ y → ∀?...
Read the following email message, and do as directed: (10 marks each) Analyze the message and...
Read the following email message, and do as directed: (10 marks each) Analyze the message and point out the weaknesses, mention the points citing an example from the message. Rewrite the message to improve the effectiveness. Subject: Printing costs are out of control I am not sure what everyone is printing or even who is doing all the unnecessary printing, but a look in the recycling bin showed a number of areas of waste: Printouts of email messages Unneeded copies...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT