A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • 5 years ago

Please click this to see the question. I am attaching a file.

  • This Question is Closed
  1. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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
  2. mattfeury
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

  3. anonymous
    • 5 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

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

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.