224k views
5 votes
Assume that a signal is encoded using 12 bits. Assume that many of the encodings turn out to be either 000000000000, 000000000001, or 111111111111. We thus decide to create compressed encodings by representing 000000000000 as 00, 000000000001 as 01, and 111111111111 as 10. 11 means that an uncompressed encoding follows. Using this encoding scheme, if we decompress the following encoded stream:

00 00 01 10 11 010101010101

Required:
What will the decompressed stream look like?

1 Answer

3 votes

Answer:

The following is the answer to this question:

Step-by-step explanation:

In the binary digit


000000000000 is equal to 0 bit


000000000001 is equal to 1 bit


1 1 1 1 1 1 1 1 1 1 1 1 is equal to 10

Similarly,


000000000010=11

Thus,


00 \ 00 \ 01 \ 10\ 010101010101 is equal to


000000000000,
000000000000,
000000000001 ,


000000000010,
1 1 1 1 1 1 1 1 1 1 1 1 ,
000000000001 ,
000000000001 ,
000000000001 ,


000000000001 ,
000000000001 ,
000000000001

User LolaRun
by
6.3k points