Professional Documents
Culture Documents
Table of Contents
Lesson 1: Welcome to CSP Lesson 8: Color Images
Lesson 2: Representing Information Lesson 9: Lossless Compression
Lesson 3: Circle Square Patterns Lesson 10: Lossy Compression
Lesson 4: Binary Numbers Lesson 11: Intellectual Property
Lesson 5: Overflow and Rounding Lesson 12: Project - Digital Dilemmas Part 1
Lesson 6: Sending Text Lesson 13: Project - Digital Dilemmas Part 2
Lesson 7: Black and White Images Lesson 14: Assessment Day
Unit 1 - Lesson 1
Welcome to CSP
Unit 1 Lesson 1 - Set Up
Prompt:
Rapid Prototype
Each group should have:
Poster paper
Pens, pencils, or colored pencils
Unit 1 Lesson 1 - Activity
Do This: Go around the group, and for each individual's area of interest:
1. Identify some way that technology is used with, or affects that thing
2. Make a suggestion for either:
a. a way that technology might be improved to make it better,
faster, easier to use
b. a creative or innovative new technology that might help solve
some problem within that area, or at least make it better
Note: Everyone in the group should make suggestions for any of the areas
of interest in your group.
Unit 1 Lesson 1 - Activity
Remember this is a rapid prototype. Just something to quickly convey the idea!
Unit 1 Lesson 1 - Activity
Gallery Walk
Unit 1 Lesson 1 - Wrap Up
Unit 1 Lesson 1 - Wrap Up
Prompt:
Prompt:
AP CSP
J o u rn a l
Unit 1 Lesson 2 - Activity
Challenge #1
AP CSP
In your journal, write down a
Journal
question that has two possible
answers.
Unit 1 Lesson 2 - Activity
Demo Devices
Unit 1 Lesson 2 - Activity
Challenge #2
AP CSP
In your journal, modify the
Journal
answers to your question so
there are now four possible
choices
Unit 1 Lesson 2 - Activity
Demo Devices
Unit 1 Lesson 2 - Activity
Challenge #3
AP CSP
In your journal, modify the
Journal
answers to your question so
there are now eight possible
choices
Unit 1 Lesson 2 - Activity
Demo Devices
Unit 1 Lesson 2 - Wrap Up
Prompt:
Prompt:
With a partner, work out how many patterns (made up of circles
and squares) you can make with three place values. These
patterns could each represent different pieces of information.
Write the patterns down in your journal.
Do This:
Share out your 7th pattern
Unit 1 Lesson 3 - Activity
1
2
3 ? ? ?
Unit 1 Lesson 3 - Wrap Up
Prompt:
How is counting in this circle and square
system similar to how we count in our regular
lives? How is it different?
Unit 1 - Lesson 4
Binary Numbers
Unit 1 Lesson 4 - Warm Up
Prompt:
Binary Numbers
You and your partner should each have:
A Pen or Pencil
Unit 1 Lesson 4 - Activity
4 possible patterns
2 place values= ….
Unit 1 Lesson 4 - Activity
8 possible patterns
3 place values= ….
0
1
We can then map 2 Note: Computer
our patterns to a 3 scientists like to
numbered list. 4 start counting at 0!
5
6
7
Unit 1 Lesson 4 - Activity
01
Unit 1 Lesson 4 - Activity
Make Your
Flippy Do!
Unit 1 Lesson 4 - Activity
1 byte
Unit 1 Lesson 4 - Activity
0123456789 01
101 100 24 23 22 21 20
Same number represented two
10 1 different ways. 16 8 4 2 1
2 3 ⬅ Decimal Binary ➡ 1 0 1 1 1
Unit 1 Lesson 4 - Wrap Up
Prompt: Imagine you work at a local store. In the register all you
have are nine $10 bills, nine $1 bills, and nine dimes.
● What’s the largest amount of change that you can give someone?
● What’s the smallest amount?
● What would you do if someone needed 7 cents in change?
10 10 10 1 1 1 10 ¢ 10 ¢ 10 ¢
10 10 10 1 1 1 10 ¢ 10 ¢ 10 ¢
10 10 10 1 1 1 10 ¢ 10 ¢ 10 ¢
Unit 1 Lesson 5 - Activity
AP CSP
Journal
Unit 1 Lesson 5 - Activity
Do This:
Navigate to Level 1.
Do This:
Set the odometer to the
highest number possible.
Then let it run!
Unit 1 Lesson 5 - Activity
Prompt:
What happened to the odometer reading?
Do This
Come with your representation for each of these values using your Flippy-Do
Unit 1 Lesson 5 - Activity
Prompt:
How did you go about deciding which binary
number to use for each price?
There are scales from two different manufacturers in the stores. They both use 4-bit binary
numbers to store and display the weight of candy.
These bowls of gummy bears each
weigh 3.3 pounds.
Prompt:
What problems could come
0011 pounds from having both of these two 0100 pounds
types of scales in a single one
of your stores?
Unit 1 Lesson 5 - Wrap Up
0 1 0 0 1 1 0
.
Unit 1 Lesson 5 - Wrap Up
Prompt:
● What does the binary odometer show about representing
large numbers?
With a fixed number of bits computers can only represent a fixed set of numbers.
Overflow Error: Error from attempting to represent a number that is too large.
Round-off Error: Error from attempting to represent a number that is too precise. The value
is rounded.
0 1 2 3 4 5 6 7 8 9 10 11 12 13
000 001 010 011 100 101 110 111 ??? ??? ??? ??? ??? ???
11
2 14
74
10 31
Prompt: Brainstorm with your partner what you
think this list represents. When you think you have
an idea, come up with another item to add to this
list and be ready to explain why it belongs.
Unit 1 Lesson 6 - Activity
Representing Text
You and your partner should have:
Sticky Notes
Pen or pencil
Unit 1 Lesson 6 - Activity
Text Samples
hey
ttyl
morning
Unit 1 Lesson 6 - Activity
Challenge #1
Partner A
Heads Down!
Partner B
On a sticky note, use your system to write the message:
oh no
Unit 1 Lesson 6 - Activity
Partner A
Partner B
Heads down!
Unit 1 Lesson 6 - Activity
Heads up!
Do This:
oh no
Update your system
if needed!
Unit 1 Lesson 6 - Activity
Challenge #2
Partner A
On a sticky note, use your system to write the message:
Great!
Partner B
Heads Down!
Unit 1 Lesson 6 - Activity
Partner A
Heads down.
Partner B
Heads Up! Translate the message on the sticky note using your
system.
Unit 1 Lesson 6 - Activity
Heads up!
Do This:
Great!
Update your system
if needed!
Unit 1 Lesson 6 - Activity
Challenge #3
Partner A
Heads Down!
Partner B
On a sticky note, use your system to write the message:
Free at 5?
Unit 1 Lesson 6 - Activity
Partner A
Partner B
Heads down.
Unit 1 Lesson 6 - Activity
Heads up!
Do This:
Free at 5?
Update your system
if needed!
Unit 1 Lesson 6 - Activity
Challenge #4
Partner A
On a sticky note, use your system to write the message:
Cya 2nite!
Partner B
Heads Down!
Unit 1 Lesson 6 - Activity
Partner A
Heads down.
Partner B
Heads Up! Translate the message on the sticky note using your
system.
Unit 1 Lesson 6 - Activity
Heads up!
Cya 2nite!
Unit 1 Lesson 6 - Activity
● Compare your systems. How are they the same? How are
they different?
● What's the minimum number of bits each of your systems
would need per character? How do you know?
○ Hint: Convert your largest number in your system into
binary. How many bits does this number require?
Unit 1 Lesson 6 - Activity
Prompt:
Abstraction
We don't have to think about
this layer when we send a
text message… but every
ASCII message is really just zeroes
and ones!
how's it
going?
104 111 119 39 115
32 105 116 32 103
111 105 110 103 63
Prompt:
● How often would you want the location read? Every week?
Every day? Every hour? Every minute? Be ready to explain
your answer.
Unit 1 Lesson 7 - Activity
Unit 1 Lesson 7 - Activity
Do This: Challenge C
Analog Data: Data with values that change continuously, or smoothly, over time. Some
examples of analog data include music, colors of a painting, or position of a sprinter during a
race.
image sound
Digital Data: Data that changes discreetly through a finite set of possible values
image sound
Unit 1 Lesson 7 - Wrap Up
Sampling: A process for creating a digital representation of analog data by measuring the
analog data at regular intervals called samples.
image sound
samples
Unit 1 - Lesson 8
Color Images
Unit 1 Lesson 8 - Warm Up
Prompt:
Levels 6-7
Try your best to match the colors using the widgets and reproduce the gradient.
Don’t worry if it doesn’t match exactly!
Image 1 Image 2
Image 3 Image 4
Unit 1 Lesson 8 - Activity
Levels 6-7
Try your best to match the colors using the widgets and reproduce the gradient.
Don’t worry if it doesn’t match exactly!
Image 1 Image 2
Image 3 Image 4
Unit 1 Lesson 8 - Wrap Up
Prompt:
SAMPLING LAYER
Samples of equal size are read from the analog image and assigned to pixels.
PIXEL LAYER
Each pixel is represented by levels of red, green, and blue light.
BINARY LAYER
The red, green, and blue values are represented using a sequence of
binary numbers and sent out via electrical signals.
Unit 1 Lesson 8 - Wrap Up
Unit 1 - Lesson 9
Lossless Compression
Unit 1 Lesson 9 - Warm Up
Prompt:
Text Compression
Pitter_patter_pitter_patter_listen_to_th
e_rain_pitter_patter_pitter_
patter_on_the_window_pane
Unit 1 Lesson 9 - Activity
Text Compression
Unit 1 Lesson 9 - Activity
Prompt:
How is this message the same as the first? What
actually gets sent to my friend?
Unit 1 Lesson 9 - Activity
Do This:
● Navigate to Code
Studio Lesson 9
● Go to Level 1
● Try to compress
the text
Unit 1 Lesson 9 - Activity
Compression Rating
Unit 1 Lesson 9 - Activity
Prompt:
Compression Rating
Unit 1 Lesson 9 - Activity
Unit 1 Lesson 9 - Activity
Type In Here
Unit 1 Lesson 9 - Activity
Prompt:
Prompt:
Click
here!
Do This:
Share Out
Do This:
How Much??
We are trying to use this image for a particular purpose and we
need to decide how much lossy compression we want to use.
Unit 1 Lesson 10 - Activity
Scenario 1: You are sending this as a text message to a friend but you’ve almost run out
of data on your phone plan
1 - No 2 - Small amount
compression of compression
(original image)
Vote!
Unit 1 Lesson 10 - Activity
Scenario 2: You are a crime-scene photographer and this image is part of a crime-scene
photo
1 - No 2 - Small amount
compression of compression
(original image)
Vote!
Unit 1 Lesson 10 - Activity
Scenario 3: This image is part of a satellite imaging assignment for the military, being
used for intelligence gathering
1 - No 2 - Small amount
compression of compression
(original image)
Vote!
Unit 1 Lesson 10 - Activity
Scenario 4: You are a Social Media manager posting this to an Instagram story for an
event happening right now
1 - No 2 - Small amount
compression of compression
(original image)
Vote!
Unit 1 Lesson 10 - Activity
Scenario 5: This image will be part of a collage where 100 copies will be stitched
together to make a larger image
1 - No 2 - Small amount
compression of compression
(original image)
Vote!
Unit 1 Lesson 10 - Activity
1 - No 2 - Small amount
compression of compression
(original image)
Vote!
Unit 1 Lesson 10 - Wrap Up
Prompt:
1. When is it a good idea to use lossless
compression?
2. When should you use lossy compression?
3. What are the important factors in making that
decision?
Unit 1 Lesson 10 - Wrap Up
Prompt:
Imagine you were using some of our pixelation tools to
create an image and you posted it online for your
friends to see - but, a week later you find out someone
took that image and put it on a T-shirt that they’re
selling for $10 each. How would you feel in this
situation?
Unit 1 Lesson 11 - Activity
Copyright Investigation
You should have:
A copy of the article
Pens or pencils
Unit 1 Lesson 11 - Activity
Do This:
Copyright Overview
Unit 1 Lesson 11 - Activity
Copyright in Practice
Unit 1 Lesson 11- Activity
Prompt:
Prompt:
Is our world better or worse because of
digital representation?
worse better
Unit 1 Lesson 12 - Activity
Digital Dilemmas, pt 1
You should have:
A copy of an article
Pens or pencils
Unit 1 Lesson 12 - Activity
Do This:
Prompt:
Share your ten word summary with your
group. Together look up any unfamiliar
words or concepts.
Unit 1 Lesson 12 - Activity
Think:
Is our world better or worse because of
digital representation?
Unit 1 Lesson 12 - Activity
Prompt:
Check back in with your group. Share
some of the sentences you annotated. Did
everyone identify the same areas?
Unit 1 Lesson 12 - Activity
Position Posters
1 2
fold
3 4
fold
Unit 1 Lesson 12 - Activity
Position Posters
What is being 1 2 What is
digitized? the goal or
How is the purpose of
information digitizing
represented 3 4
this thing?
digitally?
Prompt:
Digital Dilemmas, Pt 2
You should have:
Your position poster
Pens/Pencils
Unit 1 Lesson 13 - Activity
Position Posters
1 2 Is our world
What are better or worse
because of
the digital
benefits representation?
Explain why
and harms giving examples
4
of 3
from the article.
digitizing
this
content? worse better
Group Up:
Join a group with others who read different
articles.
Do This:
Share your position papers and discuss the
articles with your group.
Unit 1 Lesson 13 - Activity
worse better
Unit 1 Lesson 13 - Activity
worse better
Unit 1 Lesson 13 - Wrap Up
Prompt:
Unit Assessment