apcsp 8

0.0(0)
Studied by 2 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 7:09 PM on 3/25/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

What is data abstraction?

The process of simplifying complicated data into manageable chunks

2
New cards

Which of the following are examples of encoding information?

All of the above

3
New cards

What is the number base of the binary number system?

2

4
New cards

In the binary value 1002, what is the place value of the 1?

4s place

5
New cards

What is the value of 1410 in binary?

11102

6
New cards

How many possible values can be created with only 2 bits?

4

7
New cards

How many bits are used to encode a character according to the ASCII encoding scheme?

8 bits
(ex: 0100 0001 encodes ‘A’)

8
New cards

What is a pixel?

A single tiny dot, or square, of color in a digital image.

9
New cards

What is the value of 9F16 in binary?

1001 11112

10
New cards

What is the value of F16 in decimal?

15 10

11
New cards

Which of the following pixels has a color value of #ff0000 (expressed in hexadecimal)

(Red Pixel)

12
New cards

We want to write a brightness filter that brightens a given pixel.

Which of the following instructions would brighten a pixel? Assume R is the red value of the pixel, G is the green value, and B is the blue value.

R = Math.min(R = 50, 255); G = Math.min(G + 50, 255); B = Math.min(B + 50, 255);

13
New cards

Which of the following describes the instructions for a general image filter?

Given an image:

for every (x,y) coordinate in the image

Get the current pixel at (x,y)

Modify the pixel according to a function

Update image at (x,y) with this modified pixel

14
New cards

Which of the following functions properly removes all green and blue from a pixel and returns the modified pixel?

var RED = 0;

var GREEN = 1;

var BLUE = 2;

function removeGreenAndBlue(pixel) {

pixel[GREEN] = 0;

pixel[BLUE] = 0;

return pixel;

}

15
New cards

Which of the following is true about lossless data compression?

The compressed data can be restored back to its original state

16
New cards

Why do we compress data?

All of the abive

17
New cards

What types of data should be compressed with the Run Length Encoding algorithm? What types of data does the algorithm perform well with?

Text with many repeated characters

18
New cards

We are going to compress this text using the Run Length Encoding compression algorithm:

WWWWWWHAAAAAAT??

Which of the following would be the proper compressed text?

W6H1A6T1?2

19
New cards

Which of the following is true about lossy compression?

All of the above

20
New cards

Which of the following are true about Public Key Encryption?

I: It requires all senders and receivers to have their own public key and their own private key
II: A message encrypted with a person’s public key can only be decrypted with the same person’s private key
III: A public key can be shared with anyone
IV: Public key encryption is the most common form of encryption for internet communication

I, II, III, and IV

21
New cards

Which of the following are true about Symmetric Key Encryption?

I: The same key is used for both encryption and decryption
II: The sender and receiver must exchange a shared key in private before using symmeric key encryption to communicate
III: Symmetric key encryption is the most common form of encryption for internet communication

I and II only

22
New cards

Which of the following statements are true about Caesar’s Cipher?

I: Caesar’s Cipher is a form of Symmetric Encryption
II: Caesar’s Cipher is a “hard” encryption to crack

I only