Replaced stock photos, deleted old images.
Added examples of wrist watch designs. Some typo corrections.
@ -1,11 +1,13 @@
|
||||
# Binary
|
||||
|
||||

|
||||
|
||||
This lesson presents the concept of binary digits and base-2 notation. Students will learn how data is stored digitally and how it can be read and accessed.
|
||||
|
||||
## Lesson objectives
|
||||
|
||||
Students will...
|
||||
* Understand what a bit and byte are and how they relate to computers and the way information is processed and stored.
|
||||
* Understand what bits and bytes are and how they relate to computers and the way information is processed and stored.
|
||||
* Learn to count in Base-2 (binary) and translate numbers from Base-10 (decimal) to binary and decimal.
|
||||
* Apply the above knowledge and skills to create a unique program that uses binary counting as an integral part of the program.
|
||||
|
||||
|
@ -37,6 +37,13 @@ An implementation of the Binary Cash Register
|
||||
* To make the strap of the wristwatch, put 2 pieces of duct tape back-to-back, and use velcro tabs as the fasteners
|
||||
|
||||

|
||||
To make the strap of the wristwatch, you can put two pieces of duct tape back-to-back, and use Velcro tabs as the fasteners.
|
||||
|
||||

|
||||
This is a holder that allows the micro:bit to be worn on the wrist.
|
||||
|
||||

|
||||
This design supports the micro:bit in a rigid cradle and allows more delicate connections to the pins.
|
||||
|
||||
## Reflection
|
||||
Have students write a reflection of about 150–300 words, addressing the following points:
|
||||
|
@ -23,7 +23,7 @@ If you have time, create on a poster board, on the whiteboard, or on paper as a
|
||||
|
||||
You can also just make a very simple vending machine diagram like the one below:
|
||||
|
||||

|
||||

|
||||
### ~
|
||||
## Introduction
|
||||
Ask the students the following questions to spark discussion:
|
||||
@ -105,7 +105,7 @@ Hand out the 32 unit coins, one to each student or pair of students.
|
||||
* What is the new maximum price you could pay for an item? _63_
|
||||
* What combinations of coins can you use to pay for an item priced from 32 units to this new maximum price?
|
||||
|
||||

|
||||

|
||||
From coins to binary notation - the number 45
|
||||
|
||||
Once students are comfortable making combinations of numbers, encourage them to use ones and zeroes to represent the numbers instead. This number system uses the number 2 as its base (each place is two times the one before it.) It is called the Base-2 system, or binary system. The number system we are normally familiar with is the Base-10 system, or decimal system (each place is ten times the one before it.)
|
||||
|
BIN
docs/static/courses/csintro/binary/binary-crt.png
vendored
Normal file
After Width: | Height: | Size: 368 KiB |
Before Width: | Height: | Size: 79 KiB |
BIN
docs/static/courses/csintro/binary/binary-place-values.png
vendored
Normal file
After Width: | Height: | Size: 118 KiB |
Before Width: | Height: | Size: 132 KiB |
BIN
docs/static/courses/csintro/binary/holder.jpg
vendored
Normal file
After Width: | Height: | Size: 163 KiB |
BIN
docs/static/courses/csintro/binary/microbit-holder.jpg
vendored
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
docs/static/courses/csintro/binary/vendomatic.jpg
vendored
Before Width: | Height: | Size: 73 KiB |
BIN
docs/static/courses/csintro/binary/vendomatic.png
vendored
Normal file
After Width: | Height: | Size: 746 KiB |