Verityprep
Question Bank

AP® Computer Science Principles Multiple Choice Questions

Work through AP Computer Science Principles multiple-choice questions unit by unit, then check each answer against a worked solution.

Free · no sign-up Open questions need no account. Sign up or log in to open the rest.

Questions 41–50 of 214
  1. 41
  2. 42
  3. 43
  4. 44
  5. 45
  6. 46
  7. 47
  8. 48
  9. 49
  10. 50

Question 41

Multiple choice Unit 2: The Internet
Six computers A–F are physically linked as shown. The network should keep functioning…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 42

Multiple choice Unit 2: The Internet
A message consists of only alphanumeric characters. The sender encodes the message by replacing all occurrences of each character with a unique 8-bit sequence.…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 43

Multiple choice Unit 2: The Internet
A mobile application identifies a plant’s species from an uploaded photo. Users create accounts with email addresses as unique usernames and may add full name,…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 44

Multiple choice Unit 2: The Internet
A mobile application identifies a plant’s species from an uploaded photo. Users create accounts with email addresses as unique usernames and may add full name,…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 45

Multiple choice Unit 2: The Internet
Which statements about digital certificates in Web browsers are true? I. They verify the ownership of…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 46

Multiple choice Unit 2: The Internet
Which is a…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 47

Multiple choice Unit 3: Data Analysis

In a certain computer program, two positive integers are added together, resulting in an overflow error. Which of the following best explains why the error occurs?

Pick an answer, then check it. The solution opens in a window.

Question 48

Multiple choice Unit 3: Data Analysis

A color in a computing application is represented by an RGB triplet that describes the amount of red, green, and blue, respectively, used to create the desired color. A selection of colors and their corresponding RGB triplets are shown in the following table. Each value is represented in decimal (base 10).

Color NameRGB Triplet
indigo(75, 0, 130)
ivory(255, 255, 240)
light pink(255, 182, 193)
light yellow(255, 255, 224)
magenta(255, 0, 255)
neutral gray(127, 127, 112)
pale yellow(255, 255, 160)
vivid yellow(255, 255, 14)

According to information in the table, what color is represented by the binary RGB triplet (11111111, 11111111, 11110000) ?

Pick an answer, then check it. The solution opens in a window.

Question 49

Multiple choice Unit 3: Data Analysis

A color in a computing application is represented by an RGB triplet that describes the amount of red, green, and blue, respectively, used to create the desired color. A selection of colors and their corresponding RGB triplets are shown in the following table. Each value is represented in decimal (base 10).

Color NameRGB Triplet
indigo(75, 0, 130)
ivory(255, 255, 240)
light pink(255, 182, 193)
light yellow(255, 255, 224)
magenta(255, 0, 255)
neutral gray(127, 127, 112)
pale yellow(255, 255, 160)
vivid yellow(255, 255, 14)

What is the binary RGB triplet for the color indigo?

Pick an answer, then check it. The solution opens in a window.

Question 50

Multiple choice Unit 3: Data Analysis
Which of the following can be represented by a sequence of bits? I. An…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 41 of 214
Page 5 of 22