APCSP: More Binary

Unit 1, Day 2

Mr. Jones | AP Computer Science Principles

Warmup

Come on in - sit anywhere you like

  • Find your nametag and stand it up on your desk
  • Get out your flippy do and your bingo card
  • With your table, discuss this question: “A computer program uses 3 bits to represent integers. When the program adds the decimal (base 10) numbers 5 and 3, the result is 0. What is the best explanation for the result?”

Overflow! We’ll talk more about this later

Recap Unit 1, Day 2

Last time we…

  • Looked at parts of a computer
  • Invented counting systems with everyday objects

Bingo

Let’s Play Bingo!

Time for a quiz

My Quiz/Test retake policy

  • At the end of each quarter we will have a quarter exam
  • This quarter exam is your retake
  • It will be divided into sections, and each section correspond to one quiz
  • You can choose to take any/all sections

Canvas: “9/13 Binary Quiz”

  • You may use your flippy do

Story Time

First - how would you adapt your Flippy Do to handle negative numbers?

The video that broke Youtube

  • Imagine you are the engineer who invented Youtube in 2005.
  • You need to create a system to track the view count
  • How many bits should to reserve?

32 Bits

  • The first bit is for sign
  • What is the biggest number you can represent with 31 bits?

Then this happened

Oppa Gangman Style

Recap Unit 1, Day 2

This is a recap slide

  • asdf