Articles with the ‘Convert to decimal’ Tag

Google is a Binary, Hex, and Octal Number Calculator

Did you know you can use Google as a calculator? Type 1 + 2 + 4 + 8 + 16 + 32 into Google’s search box and you’ll get 63 as the result.

Did you know you can use the calculator with numbers in different bases? It can convert numbers between decimal, binary, hexadecimal, and octal, as well as do arithmetic in those bases. To work in a non-decimal base, just prefix numbers as follows: 0b for binary, for example, 0b1010; 0x for hexadecimal, for example, 0xFF; and 0o for octal, for example, 0o701.

Continue reading …

One Hundred Cheerios in Binary

My son had to do a project for his 100th day of first grade. Since I’ve been teaching him binary — he knows the powers of two from 1 to 512 — we decided to incorporate it into his project. His assignment was to assemble 100 objects in a creative way. This is as creative as I get:

One Hundred Cheerios, in Binary.

One Hundred Cheerios®, in Binary.

Continue reading …

A Twelve Cent Binary Calendar

Do you have twelve coins handy? You can lay them out on a piece of cardboard to keep track of the month, day, and day of the week, as shown here at Evil Mad Scientist Laboratories. Here’s the one I made:

Thursday, January 1st, in pennies.

Thursday, January 1st, in pennies.

Continue reading …

The Binary Marble Adding Machine

The Binary Marble Adding Machine is a device that adds binary numbers mechanically. It uses wood instead of silicon, gravity instead of voltage, and marbles instead of current. We don’t need no stinkin’ CMOS!

The machine may be more cool than practical, but it certainly is educational. It illustrates basic principles of binary numbers, binary arithmetic, and binary logic. Let’s take a closer look.

Continue reading …

How to Read a Binary Clock

What is a binary clock? Before doing a web search I would have guessed this:

My Fake Binary Alarm Clock (time is 6:43 PM).

6:43 PM on my fake binary alarm clock (courtesy photo-editing software).

In other words, a regular digital clock, except with binary numerals instead of decimal numerals. But as far as I know, a clock like this doesn’t exist. If you search for “binary clock,” you get a clock of a different design, one like this:

Continue reading …