AP CSP

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:07 PM on 4/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

bit

smallest, fundamental unit of data (1 or 0)

2
New cards

How many numbers can you store with 8 bits? What is the range of those numbers?

256 numbers (0-255)

3
New cards

How may letters be stored in binary? Pictures? Sound?

Assign each letter a decimal number, convert decimal to binary. Give pixels hexadecimal code. Graph sound waveform.

4
New cards

How many distinct values can be represented with 2 bits?

4

5
New cards

byte

8 bits

6
New cards

What equation represents the highest number that can be represented by n bits?

2n12^{n}-1

7
New cards

What is the highest number than can be represented by 2 bytes?

65535

8
New cards

analog data

9
New cards

digital data

10
New cards

sampling

11
New cards

quantification

12
New cards

binary processing?

13
New cards

compression

finding repeated sequences in code and replacing them with shorter representations

14
New cards

Why use compression algorithms?

They save space by reducing file size.

15
New cards

Lossless compression

File size is reduced without losing any data through removing redundancy and using simplified organization.

16
New cards

bitmap

mapping pixels → bits (e.g. red pixels to 1 and white pixels to 0)

<p>mapping pixels → bits (e.g. red pixels to 1 and white pixels to 0)</p>
17
New cards

RLE (run-length encoding) compression algorithm

Lossless data compression algorithm that replaces consecutive identical pieces of data with (value, count).

18
New cards

Huffman coding algorithm

Lossless data compression algorithm that reduces file size by assigning binary codes to characters based on their frequency (frequent characters get shorter codes, and vice versa)

19
New cards

byte pair encoding

20
New cards

Lossy compression

File size is significantly reduced by removing less important data, affecting file quality.

21
New cards

How can you compress an audio file using lossy compression?

Discard the sounds that are out of the range of the human ear

22
New cards