AP CSP CodeX - Binary Applications

Binary Applications Lesson Plan

Binary Applications

Students convert between binary and decimal and apply binary numbers to real-world problems.

⏰ 45 min 🎯 Grades 9-12 πŸ“„ Unplugged
View Lesson Outline
πŸ“‹

Overview

This is an unplugged lesson that builds on Binary Numbers. Students review converting between binary and decimal with the Flippy Do, then work through 10 application problems that come directly from AP Classroom as possible exam questions. Any problems that are part of official practice exams have been modified. Students work individually, in pairs, or in groups of three and practice deciding how many bits are needed to store data.

🎯 Mission Goal: Students will apply binary numbers to real-world problems.

🎯

Learning Targets

  • I can convert binary numbers to decimal.
  • I can convert decimal numbers to binary.
  • I can determine the number of bits needed to store data.
  • I can apply binary numbers to real-world problems.
πŸ’‘

Key Concepts

  • The AP CSP exam will have questions on binary numbers, but not hexadecimal.
  • Students will not have any manipulatives during the exam, but they should be familiar with the place values of binary and can make their own chart on scratch paper.
βœ…

Assessment Opportunities

β˜‘οΈ

Success Criteria

  • Convert decimal and binary numbers
  • Apply binary numbers to real-world problems
🧰

Classroom Materials

  • β–ΈPrinted Activity Guide
  • β–ΈFlippy Do from the previous lesson
  • β–ΈScratch paper
  • β–ΈPencil
🌍

Real-World Applications

The binary number system powers almost every modern technology we use. Common examples are:

πŸ’ΎDigital data storage
🌐Internet and networking
πŸ”Encryption and cybersecurity
🏠Smart home and electronic devices
πŸš€

Extensions & Cross-Curricular

ExtensionStudents write their own binary application problem, such as how many bits are needed to store a number of items, and trade with another group to solve it.
MathStudents make a table showing how many different values 1 through 8 bits can store, then describe the pattern they see.
Lang ArtsStudents write a short explanation for a younger student of why computers use only 0 and 1.
ScienceStudents show how a row of 8 on/off switches or LEDs could represent one byte, and decide which pattern shows a given number.
πŸ”€

Vocabulary

β–Ύ
Binary - A base-2 number system using only the digits 0 and 1.
Bit - The smallest unit of data in computing, representing a 0 or a 1.
Byte - A unit of data equal to 8 bits.
Data - Values such as numbers, text, clicks or measurements that a computer can store and process.
Decimal - A base-10 number system using digits 0-9.
πŸ“

Standards

β–Ύ

CSTA Standards - Grades 9-10

3A-DA-09

AP CSP Framework

DAT-1.A - Explain how data can be represented using bits.
DAT-1.C - Calculate the binary equivalent of a positive integer and vice versa. Compare and order binary numbers.
πŸ“
Preparing for the Lesson
  • Print the Activity Guide. You can also print the 10 problems individually so groups can work on them in any order.
  • Have the Flippy Do from the previous lesson available for the review.
  • Have scratch paper available so students can practice making their own binary place value chart.

πŸ§‘β€πŸ«
Teacher Notes
  • This lesson works well individually, with partners, or in groups of three.
  • The 10 application problems all come directly from AP Classroom as possible exam questions. Any problems that are part of official practice exams have been modified.
  • The practice problems are a great opportunity for student collaboration. Instead of working the problems in order, you can print the problems individually. Students work on them randomly so they can discuss their thinking and check their answers with other groups. This can lead to a rich discussion on binary numbers and real-world problems.
πŸ—ΊοΈ

Lesson Outline

This outline gives one way to present the lesson.

πŸ—£οΈWarm-up

Start with the warm-up activity in the Activity Guide (slide 2).

πŸ“Review

Slide 3: Students use the flippy do to convert binary and decimal numbers.

✏️Application Problems

πŸ’» Slide 4: Students work individually, in pairs, or in groups of three. Pairs or groups of three work best for this activity.

Teaching tip: The practice problems are a great opportunity for student collaboration. Students can work in groups of two or three. Instead of working the problems in order, you can print the problems individually. Students work on them randomly so they can discuss their thinking and check their answers with other groups. This can lead to a rich discussion on binary numbers and real-world problems.
πŸ§‘β€πŸ€β€πŸ§‘Wrap-Up

πŸ’» No wrap-up is provided for the lesson. You can use an assessment opportunity from the list below.

βœ… Formative assessment:

  • Daily reflection journal
  • Activity Guide completion
  • Class discussion on what they learned or difficulties they had
  • Exit ticket