Question

Consider the following binary data input to the receiver: 11001100011111000001110101110010001111110010001111101000101100110001111110101010101011000010101011100 -How many decodable data frames are...

Consider the following binary data input to the receiver:

11001100011111000001110101110010001111110010001111101000101100110001111110101010101011000010101011100

-How many decodable data frames are in the data?

-What is the decoded payload of the frame (excluding delimiters)?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1) To retrieve the decoded Dataframe either we can use JSON or use the simple function in R. The later is easier to implement so we will understand the solution by the same.

Decodable Dataframes are basically how we can retrieve the data from the dataframes which store the data in a proper format.

If I run the following code in R console:-

 df<-data.frame(11001100011111000001110101110010001111110010001111101000101100110001111110101010101011000010101011100) df nrow(df) ncol(df)

From the above code my data can be decoded in rows and columns

Output is as follows-

 X1.1001100011111e.100 1 1.10011e+100 [1] 1 [1] 1

2) To get the decoded payload of the frame we need to convert the bits into bytes.So by grouping the bits in a group of 8,number of bytes is 1.375137501388875e+99

Now we can use the following code in JSON-

 function Decoder(bytes,port) var a=(bytes[0] << 8) | byte[1]; return value : a;

So the output is 2.

Add a comment
Know the answer?
Add Answer to:
Consider the following binary data input to the receiver: 11001100011111000001110101110010001111110010001111101000101100110001111110101010101011000010101011100 -How many decodable data frames are...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT