APCSP QUESTIONS 8

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

1/99

encourage image

There's no tags or description

Looks like no tags are added yet.

100 Terms

1
New cards

What base is the binary number system?

Base 2

2
New cards

In binary, what does 1010 equal in decimal?

10

3
New cards

What is the binary for decimal 5?

101

4
New cards

Which bit has the highest value in 1001?

The leftmost bit

5
New cards

What happens when binary exceeds the maximum bit value (overflow)?

It cannot represent larger numbers without more bits

6
New cards

1111 in binary equals:

15

7
New cards

How many bits are in a nibble?

4

8
New cards

Binary is used in computers because:

It reflects on/off states of hardware

9
New cards

In binary addition, 1 + 1 equals:

10

10
New cards

A byte contains:

8 bits

11
New cards

ASCII is used to encode:

Text characters

12
New cards

How many bits are typically used in standard ASCII?

7

13
New cards

The binary for uppercase 'A' (ASCII) is:

1000001

14
New cards

Encoding text into binary allows computers to:

Store and transmit characters

15
New cards

Morse code is an example of:

Symbolic encoding

16
New cards

Which binary string could represent a letter?

01000001

17
New cards

What is the main purpose of encoding schemes?

Map information to binary representations

18
New cards

Which encoding deals with binary to characters?

Text encoding

19
New cards

If a custom encoding assigns 0001 to 'A', what could 0010 represent?

Another character

20
New cards

Encoding text to binary allows computers to:

Communicate text digitally

21
New cards

A pixel is:

A single point in an image

22
New cards

Images are made of:

Pixels arranged in a grid

23
New cards

Higher resolution means:

More pixels per area

24
New cards

In pixel images, color is represented by:

Binary codes

25
New cards

Each pixel can store:

Color information in bits

26
New cards

A black and white image uses:

1 bit per pixel

27
New cards

Pixel grids are described by:

Rows and columns

28
New cards

Larger images generally have:

More pixels

29
New cards

Pixel brightness is controlled by:

Numeric value of bits

30
New cards

Pixel representation in Python might use:

Lists of values

31
New cards

Hexadecimal is base:

16

32
New cards

In hex, A equals:

10

33
New cards

The hex digit F equals:

15

34
New cards

Hex is useful because:

Compact representation of binary

35
New cards

FF in hex equals:

255

36
New cards

Hex is often used to represent:

Colors

37
New cards

The hex value 1A equals decimal:

26

38
New cards

Hex uses how many symbols?

16

39
New cards

Hex digit 0x10 represents:

16

40
New cards

Hex helps programmers read:

Large binary values

41
New cards

RGB stands for:

Red Green Blue

42
New cards

In RGB, white is:

(255,255,255)

43
New cards

Black in RGB is:

(0,0,0)

44
New cards

A pixel color in Python might be stored as:

Tuple of RGB values

45
New cards

Increasing the red value makes a pixel:

Redder

46
New cards

RGB values range from:

0–255

47
New cards

RGB is a way to represent:

Color intensity

48
New cards

Hex colors e.g. #FF0000 represent:

Red

49
New cards

Converting RGB to hex increases:

Readability

50
New cards

Python functions for images might use:

Hex strings

51
New cards

Image manipulation changes:

Pixel values

52
New cards

Brightness adjustment typically:

Alters RGB values

53
New cards

A filter can:

Modify image appearance

54
New cards

To flip an image horizontally, you change:

Pixel positions

55
New cards

In Python, an image might be represented as:

List of lists of pixel data

56
New cards

Pixel manipulation often requires:

Nested loops

57
New cards

A grayscale filter typically:

Averages RGB values

58
New cards

Increasing contrast changes:

Difference between high and low values

59
New cards

Cropping an image removes:

Pixels outside a region

60
New cards

Image manipulation programs often use:

Loops and functions

61
New cards

Data compression:

Reduces file size

62
New cards

Lossless compression:

Retains all original data

63
New cards

Lossy compression:

Some data is lost to reduce size

64
New cards

An example of compression is:

Removing repeated patterns

65
New cards

Compression is useful because it:

Saves storage and bandwidth

66
New cards

A zip file uses:

Lossless compression

67
New cards

In images, JPEG uses:

Lossy

68
New cards

PNG uses:

Lossless

69
New cards

Smaller file size often means:

Less detail (in lossy)

70
New cards

Compression can:

Be reversible or irreversible

71
New cards

Cryptography is the study of:

Securing information

72
New cards

Encryption means:

Encoding data to hide meaning

73
New cards

Decryption is:

Reversing encryption

74
New cards

A key in cryptography is used to:

Encrypt/decrypt data

75
New cards

Caesar cipher is:

Simple substitution cipher

76
New cards

Cryptography helps with:

Privacy and security

77
New cards

Strong keys are:

Hard to guess

78
New cards

Cryptography in Python might use:

Algorithms for substitution

79
New cards

Encryption makes data:

Harder to understand without key

80
New cards

Public key cryptography uses:

Two keys (public/private)

81
New cards

Digital information refers to:

Data represented as bits

82
New cards

A binary encoding scheme maps:

Information to bit patterns

83
New cards

Color depth refers to:

Bits used per pixel

84
New cards

ASCII encodes:

Letters and symbols

85
New cards

Image resolution affects:

Picture clarity

86
New cards

Hexadecimal is often preceded by:

0x and #

87
New cards

Increasing compression ratio:

Reduces file size more

88
New cards

Lossy compression is acceptable for:

Images and audio

89
New cards

Cryptography protects data from:

Unauthorized access

90
New cards

Pixel manipulation might involve:

Changing RGB values

91
New cards

Which is a form of lossless compression?

ZIP

92
New cards

Which encoding maps letters to numeric codes?

ASCII

93
New cards

In hex, 2F equals decimal:

47

94
New cards

When encrypting text, a cipher changes:

Characters

95
New cards

Digital images use bits to represent:

Pixel color and brightness

96
New cards

Binary to hex conversion:

Makes binary easier to read

97
New cards

A substitution cipher:

Replaces characters systematically

98
New cards

Pixel images are stored as:

Arrays/lists of pixel data

99
New cards

Digital information includes:

Text, Images, and Colors

100
New cards

A pixel’s color stored as (0,128,255) means:

RGB values