Decoding Binary (2024)

Today you are going to learn how to convert 110101110010101101001001 to a decimal number. No seriously, we are.

Can you say hacker status? It’s going to be awesome. Just wait!

Yes, the computer hacker stuff you see on tv, and just to clear the record: no, programmers don’t really write code in binary nor do they stare at binary numbers all day.

In fact, they rarely need to use binary numbers. But nonetheless, they are a foundational aspect of computer science that pop up here and there and are a fun application of base systems!

Who wants to guess what base binary is?

hint: remember base refers to the number of symbols in the system.

Two. Binary is the base two number system. Therefore, we express it using two symbols, 0 and 1. Binary follows the same exponential pattern we discovered with the decimal system, except of course instead of powers of 10 we will use powers of 2.

For example, here is a random binary number.

Decoding Binary (3)

I simply replaced the ten’s with two’s and we now have a binary place-value system! Of course, we no longer can refer to the place-values as ones, tens, hundreds, … because that’s decimal. We must rename them.

Let’s calculate these first five place-values to find out their names.

Decoding Binary (4)

It may seem strange, but the place-value names for the first five binary place-values are: one’s, two’s, four’s, eight’s and sixteen’s place.

Let’s convert the above binary number 11001.

First write out a binary expansion to figure out what this number would be in decimal. Remember a “1” means we have the number in the place-value, a “0” means we do not.

Decoding Binary (5)

The binary number 11001 means we have 1 one, 1 eight and 1 sixteen. Now add them up. Hence, 11001 = 25.

Let’s try a larger number. How about 1010101?

Step 1: Think about the binary place-value system.

Decoding Binary (6)

Step 2: Calculate each column’s value.

Decoding Binary (7)

Step 3: Add.

Decoding Binary (8)

Nice work, you just figured out that 1010101 = 85.

Now go back to that monstrosity I wrote on the first line of this post and calculate its value in decimal!

Can you convert the decimal number 9 into binary?

To solve this problem you need to think about the largest power of 2 that is less than 9. Let’s look at the binary place-value system to aid us.

Decoding Binary (9)

It looks like 8 is the largest number less than 9, so place a 1 in the eight’s column.

Decoding Binary (10)

We still need 1 more unit to make 9, so place a 1 in the one’s place-value.

Decoding Binary (11)

Fill in the other places with zeros. We needn’t fill in any columns to the left of the eight’s column since that is the largest place-value in use.

Decoding Binary (12)

Therefore, 9 = 1001 in binary.

Let’s convert 42 into binary.

Step 1: What is the largest binary place-value that is less than 42? Looks like it is 32, so place a 1 in the 32 column.

Decoding Binary (13)

Step 2: Subtract 32 from 42, and we are left with 10. So repeat the process with 10. What is the largest power of two less than 10?

Eight. So place a 1 in the eight’s column.

Decoding Binary (14)

Step 3: Subtract 8 from 10, and we are left with 2. So lastly, place a 1 in the two’s column.

Decoding Binary (15)

Step 4: Fill in the necessary zeros.

Decoding Binary (16)

Hence the secret to life, the universe and everything else, in binary, is 101010, obviously.

Next Lesson: Math as Mental Weight Lifting & A King’s Dilemma

Decoding Binary (2024)
Top Articles
5 key stats on how Gen Z shops on Pinterest—and what that means for retailers
College Tuition vs. Investing: Is It Worth It?
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Terence Hammes MD

Last Updated:

Views: 6117

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Terence Hammes MD

Birthday: 1992-04-11

Address: Suite 408 9446 Mercy Mews, West Roxie, CT 04904

Phone: +50312511349175

Job: Product Consulting Liaison

Hobby: Jogging, Motor sports, Nordic skating, Jigsaw puzzles, Bird watching, Nordic skating, Sculpting

Introduction: My name is Terence Hammes MD, I am a inexpensive, energetic, jolly, faithful, cheerful, proud, rich person who loves writing and wants to share my knowledge and understanding with you.