More studying.

“3 is represented as the binary int value

00000000 00000000 00000000 00000011

Inverting each of the bits yields

11111111 11111111 11111111 11111100,

which is the bit pattern for -4 as an int value.”

Really. How????

Pass me that brick wall please.

Edited to add some links that are supposed to be useful (to me, studying java…)

Sun Education http://www.sun.com/service/suned

http://www.enterprisedeveloper.com/jcertify

http://www.jchq.net

http://www.javaranch.com

http://www.javacert.com


Home Ed Inspiration, Ideas, and Activities

Click the links below and scroll through my collection of ideas, workshops, excursions, and more to discover practical everyday activities you can do together in and around your home classroom.


Comments

6 responses to “More studying.”

  1. Search me, can I share the brick wall when you find one

  2. A C/C++ programmer speaks:
    Sign is indicated by the Most Significant Bit in signed datatypes.
    Unless the type is marked as unsigned, the type defaults to signed.

  3. Yes, I know that about the sign (used to be a C programmer myself 😉 …it’s more a confusion as to how a number consisting of ones could be a small number – but I think I sorted it out with some googling myself earlier. http://www.google.co.uk/search?hl=en&q=bit+patterns+negative+numbers&btnG=Google+Search&meta= and chose the third option.

  4. Oh so I get the brick wall all to myself now?!

  5. nope, I still don’t get bitshifting. Although now I get why…

Get in Touch

Need support for your home ed journey? Looking for tutoring for your young person? Have an idea for a collaboration? I’d love to hear from you!

How I Can Help

After 20+ years of home educating my four children (two now adults), I’ve gathered a wealth of experience that I’m passionate about sharing. Beyond blogging and guest writing, I offer several services designed to support families on their home education journey.

Resources to Support Your Home Ed Journey

I’ve put together a collection of resources that I’ve genuinely found useful over the years—things that have actually made a difference in our home education. Whether you’re just starting out or looking to freshen things up, there’s something here to help. These are the tools, guides, and materials I’d recommend to a friend, because they work.