• anonymous
Please click this to see the question. I am attaching a file.
Computer Science
  • schrodinger
See more answers at
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly


Get your free account and access expert answers to this
and thousands of other questions

  • anonymous
On page 7 point 4 it is asking me to find the maximum block length. I think it could be either 1s or 0s. I don't know how to go about it.
1 Attachment
  • mattfeury
i'm confused when it says 'maximum block length of the binary representation'. assuming it's talking about number of bits, the maximum number of bits for an integer is (generally) 32 or 64, depending on if the operating system is 32bit of 64 respectively.
  • anonymous
Look at the first example of program execution at the page 5; the number 10111011 has three "blocks" of 1's - consecutive 1's, the biggest is the middle one and has the length of 3. This is printed as the value of the "Maximum block length" and you can see that you have to find the longest sequence of 1's and print its length.

Looking for something else?

Not the answer you are looking for? Search for more explanations.