
AP CSP - UNIT 3 & 4
Presentation
•
Instructional Technology
•
9th Grade
•
Practice Problem
•
Hard
Klea h
Used 3+ times
FREE Resource
13 Slides • 0 Questions
1
Data Representation
By Klea h
2
3.1 Binary
Binary is a base-2 number system that only uses digits 1 and 0 (binary digit = bit).
Each bit represents a dichotomous relationship: on/off, true/false, or 1/0
Bits form the foundation of digital information. When combined (e.g., 10100110), they can represent abstractions like letters, numbers, or colors.
dichotomous: in which something can only be one thing or another (yes or no)
decimal system: the number system that has digits 0 - 9
3
4
5
ASCII: A system that uses binary codes to represent English letters and symbols. It uses 7 or 8 bits, so it can only show basic characters like A–Z, 0–9, and punctuation. ASCII represents only 128 characters.
Unicode: A newer system that uses 8, 16 or 32 bits to represent characters from many languages around the world. It represents more than 150 thousand global symbols.
Both ASCII and Unicode show abstraction: they allow computers to work with text by mapping binary values to human-readable symbols.
Noise & Error Handling
Noise is unwanted or corrupt data in binary communication (e.g., from poor signal).
Computers use error detection and correction algorithms to keep data accurate.
6
Example
BLUE =
01000010 01001100 01010101 01000101
B --> 01000010
L --> 01001100
U --> 01010101
E --> 01000101
7
Two communications schemes used to convey messages digitally:
8
Fixed width encoding --> every letter is represented by a specific number of bits (Example: A = 11000, B = 10011 etc.
Variable width encoding -->
a different number of bits represents each character (Example: A = 01, B = 1000, C = 1010, D = 100 etc.
9
3.6 Analog vs. Digital Data
Analog data is continuous — it changes smoothly, like sound waves, temperature, or light.
Digital data is discrete — it breaks the continuous analog signal into small, countable chunks called quanta.
10
ANALOG
DIGITAL
Digitizing is the process of converting analog (real-world) data into binary so it can be processed.
Example: A digital thermometer reads specific values (e.g., 98.6°F), while an analog thermometer moves smoothly.
Digitizing process is an example of abstraction:
It removes infinite real-world details and captures just enough to represent the information meaningfully.
Digital data = simplified version of the real world that allows for efficient storage, processing, and sharing.
11
list: an ordered sequence of elements. For example, [5, 6, 12, -98]
element: an individual value/item in a list.
index value: the representation of the location of each item in a list.
data structure: a particular way of organizing and storing data such as an array, table, etc.
data abstraction: help manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation.
LIST NAME
1 2 3
12
Lossless compression does not remove any data from the file.
Instead, it shrinks the non-essential elements that do not impact the picture’s quality.
You can restore the image to its initial state.
Lossy compression significantly reduces file size by eliminating certain information. Elements considered less important can be removed from the image. As a result, you get a lighter file and a faster-loading website.
13
What are Lossy and Lossless Image Compression?
There are two types of compression when optimizing your images: lossy and lossless. Lossy reduces file size by permanently removing some of the data, while lossless restores and rebuilds the image in its original form after decompression.
Data Representation
By Klea h
Show answer
Auto Play
Slide 1 / 13
SLIDE
Similar Resources on Wayground
8 questions
WEEK 2 - How to make your kids study more efficiently at home?
Presentation
•
KG
9 questions
11.2 Dot Plots & Histograms
Presentation
•
9th Grade
9 questions
Sonnets
Presentation
•
9th Grade
10 questions
Multi-Step Equations with Variables on Both Sides
Presentation
•
9th Grade
8 questions
Solving Equations by Combining Like Terms
Presentation
•
9th Grade
9 questions
Review: Graphing Absolute Value Functions
Presentation
•
9th Grade
10 questions
Point of View
Presentation
•
9th - 10th Grade
9 questions
Slope Intercept Form Word Problems
Presentation
•
8th - 9th Grade
Popular Resources on Wayground
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
Discover more resources for Instructional Technology
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
20 questions
REGULAR Present tense verbs
Quiz
•
8th - 9th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
10 questions
Exploring the 4 Major Macromolecules and Their Functions
Interactive video
•
9th - 12th Grade
20 questions
Exponent Rules
Quiz
•
8th - 9th Grade
12 questions
Absolute Value Equations
Quiz
•
9th Grade
20 questions
Position vs. Time Graphs
Quiz
•
9th Grade
20 questions
Function or Not a Function
Quiz
•
8th - 9th Grade