Files
micromelon-website/content/resources/learning-binary.mdx
Tim Hadwen 1f8c46597b Site audit: fix broken images, add activity metadata, clean up content
- Remove broken image references from 25 MDX files (deleted spacer/content images)
- Add codingSkills and roverConcepts frontmatter to 24 activity pages
- Fix "Activity Demonstration" headings in 15 activity files (plain text -> h3)
- Remove unused "All" category from 89 MDX files
- Decode HTML entities (> <  ) in 9 content files
- Escape bare < > characters in MDX to fix build errors
- Standardize contact email to contact@micromelon.com.au
- Add missing description to rover-repair-request metadata
- Include previous session work: about-us updates, difficulty filtering,
  LearningPathway component, expanded schools list, new product/resource images

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 21:49:15 +10:00

43 lines
2.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Learning Binary"
date: "2022-05-10"
categories: ["Advanced Guides"]
tags: []
excerpt: "Learn the basics of binary"
featuredImage: "/images/resources/learning-binary.jpg"
---
### What is Binary?
Binary is a system of counting. You are most likely familiar with counting using 0-9. This is called the decimal number system. Binary is an alternative to the decimal number system. It existed before computers were invented. When computer scientists started building computers, they selected binary as the counting system that would run the computers brain. Binary is simple, its just 0 or 1. All computers decision-making skills comes down to just YES or NO, TRUE or FALSE, 1 or 0.
But if computers only think in 1 and 0, do they understand numbers like 3, or 20 or 500? Yes! Binary numbers only use the 0 and 1 character are able to represent any number we can think of. We just have to learn how to translate a decimal number to a binary number.
### Value of Binary Digits
Each binary number is made up of digits each with their own value. Each digit can either be 1 or 0. If a digit is 1, that digit is ON. If it is 0, it is OFF. To get the final number you add together the values of the ON digits. Below we can see the value of the first 5 binary digits.
![](/images/content/6a5796-key.png)
To translate **18** to binary we write ** 10010**. We turn** ON ** the** 5th ** digit and the** 2st** digit.
![](/images/content/b28db8-18.png)
### Binary Examples
The number 3 in binary is written 11. We turn ON the first and second digit. The value of the first digit is 1 and the value of the second digit is 2. Together they equal 3.
![](/images/content/80cf19-3.png)
---
The number 5 in binary is written 101. We turn ON the first and third digit. The value of the first digit is 1 and the value of the third digit is 4. Together they equal 3.
![](/images/content/cb6bb4-5.png)
---
The number 20 in binary is written 10100. We turn ON the fifth and third digit. The value of the fifth digit is 16 and the value of the third digit is 4. Together they equal 20.
![](/images/content/3bb1fe-20.png)