2nd Semester Intro to Computer Science

Supplement Lesson 01: Binary Day

Learning Objectives

Students will be able to…

  • Define and identify: binary
  • Describe different representations of data
  • Represent decimal numbers in binary

Materials/Preparation

  • Do Now
  • Associated Reading - section 2.1 of Book
  • Index cards for binary activity (at least 1 per student)
  • Scissors
  • 8.5” x 11” printer paper, each page has a large number (2^n) written on it (1, 2, 4, 8, 16, 32, …)
  • Read through the do now and lesson so that you are familiar with the requirements and can assist students as needed

Additional Resources

Pacing Guide

Duration Description
5 Minutes Do Now
45 Minutes Lesson/Activity
5 Minutes Debrief

Instructor’s Notes

1. Do Now

  • Project Do Now questions on the screen
  • Have students discuss how they used their fingers to count to 10, compared to how they counted to 1023.

2. Lesson/Activity

  1. Explain binary compared to decimal: it is a different base of counting, specifically base-2.
  2. Have students write 1 2 4 8 16 32 … on the bottom of an index card spaced out about half an inch apart. Cut along the lines so that the numbers are each on a flap.
  3. Announce any number and have students fold up the index card sections such that the numbers showing add up to the desired number.
  4. Write on the board what the decimal number announced now looks like in binary (e.g. 9 = 1001).
  5. Repeat with additional numbers until all students demonstrate understanding.
  6. Choose students to walk up to the front of the classroom. Have them hold the place they represent and have a number (2^n) on a sheet of paper (so student’s have a 1 or 2 or 4 or … written on their paper). Call out numbers and then have the students work together to decide if their number should be held up (representing a “1”) or not.
  7. What else can be represented by binary? Answer (ANYTHING!)
  8. Show students this photo:

Stary Night

  1. Explain how this is a digital representation of the artwork, but it’s not immediately clear to see how this is represented with 0’s and 1’s.
  2. Now you can have students look at a black & white example for more clarity:

city scape

Pixel Level

Pixel Level

  1. Explain to students that we can imagine saying 1 is black and 0 is white.
  2. All data gets converted into binary values! Even music, video, and complex images!
  3. Discuss how everything the computer reads gets turned into binary in the end, including the code that they will write in this class.
  4. How could letters (a,b,c,…) be turned into binary?
  5. How can letters be turned into numbers? a = 1, b = 2, c = 3.

3. Debrief

  • Have students write down two things they learned in this lesson in their notebooks.

Accommodation/Differentiation

Forum discussion

Lesson 2.01: Binary Day (TEALS Forums Account Required)

Edit this page Report an issue