Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Need help with pseudocode please

  1. #1
    Junior Member
    Join Date
    May 2011
    Thanked 0 Times in 0 Posts

    Default Need help with pseudocode please

    I have to calculate the maximum block in a binary number.
    For ex:
    Binary representation = 11111
    Maximum block length = 5

    Binary representation = 10111011
    Maximum block length = 3

    Above are the only 2 examples my professor gave.
    "Compute the maximum block length of the binary
    representation." This is what he said. I'm assuming this includes 0s as well. I really don't know how to go about it.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,417 Times in 2,370 Posts

    Default Re: Need help with pseudocode please

    This thread has been cross posted here:


    Although cross posting is allowed, for everyone's benefit, please read:

    Java Programming Forums Cross Posting Rules

    The Problems With Cross Posting

    Check there.

  3. #3
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    United Kingdom
    My Mood
    Thanked 293 Times in 226 Posts
    Blog Entries

    Default Re: Need help with pseudocode please

    Wow you posted this thread on every single forum online by the looks of it nomss.

    Please keep us up to date on other cross posts. Please read - http://www.javaprogrammingforums.com...s-posting.html

    I've just looked through your other threads and it looks like you have enough information there to solve this so I won't bother adding to it..
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

Similar Threads

  1. Need help converting Pseudocode to java
    By firebyrd in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 5th, 2011, 05:28 AM
  2. Replies: 4
    Last Post: February 23rd, 2011, 09:20 AM