Jump to content

Binary question help please?

Featured Replies

I have the number 4.281.000 miliards ,how many bits are needed to represent this number in binary? just tell me where to start ? :)

Well, with 1 bit, you can represent 0 and 1. With 2 bit, you can represent 0-3. The formula should be something like 2^n-1, where n is the number of bits needed. So you either do that calculation, or you do it manually by increasing the number of bits you have until you can represent the number you want.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.