Please click this to see the question. I am attaching a file.
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
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.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
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.
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.
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.