Computer Chaos

A computer receives a transmission and expects to read the first eight bits as a byte, but there is an error saying that the first bit is lost. Now, the computer will start reading at the second bit instead of the first one. It will still read 8 bits total while trying to receive the first byte. If the numbers of the first two bits in order was 1001001011100110 , what's the difference between the actual number and the number the computer thought it received for the first byte? ( Make sure to write your answer in base ten and share your solution in the comments if you get it right.)


The answer is 109.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

F i r s t \mathbf{{\color{#0C6AC7} First}} B y t e : \mathbf{{\color{#0C6AC7} Byte:}} 10010010 \boxed{10010010} (first 8 digits of number) \\ C o m p u t e r R e c e i v e d \mathbf{{\color{olive} Computer-Received}} B y t e : \mathbf{{\color{olive} Byte:}} 00100101 \boxed{00100101} (first nine digits of number excluding first digit) \\

Using Python, we can find the difference of these numbers and return them in base 10: \\

print(str(int("10010010", 2) - int("00100101", 2)))
# Returns 109

The difference between the a c t u a l {\color{#0C6AC7} actual} n u m b e r {\color{#0C6AC7} number} and the c o m p u t e r r e c e i v e d {\color{olive} computer-received} n u m b e r {\color{olive} number} is 109 \boxed{109} in base 10, which is the answer

interliantiful!

Vishruth K - 2 months, 3 weeks ago
Vishruth K
Mar 21, 2021

Actual First Byte: 10010010 = 146/ Computer First Byte: 00100101 = 37/ 146 - 37 = 109/ Thus, the answer is 109

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...