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 1–10 of 214
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10

Question 1

Multiple choice Unit 1: Digital Information

Which of the following is a true statement about Internet communication?

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

Question 2

Multiple choice Unit 1: Digital Information

Lines represent direct physical links. In which configuration is redundant routing between P and S NOT possible?

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

Question 3

Multiple choice Unit 1: Digital Information

A text editor uses binary sequences for 200 different characters. What minimum number of bits per fixed-length sequence permits a unique code for each character?

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

Question 4

Multiple choice Unit 1: Digital Information

A six-digit RGB hexadecimal color uses two digits each for red, green and blue, in that order. Which color has the greatest amount of blue?

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

Question 5

Multiple choice Unit 1: Digital Information

A program calculates 2 ÷ 3 and represents the result as 0.6666667. Which best explains this result?

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

Question 6

Multiple choice Unit 1: Digital Information
Which of the following describes a benefit of using…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 7

Multiple choice Unit 1: Digital Information
The robot starts bottom-left, facing up. It can enter white or shaded squares but not black squares. Which code ends at the shaded…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 8

Multiple choice Unit 2: The Internet

Consider the domain names example.com and cs.example.com. Which of the following best describes the hierarchy of these domain names?

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

Question 9

Multiple choice Unit 2: The Internet

The diagram below shows a circuit composed of three logic gates. Each gate takes two inputs and produces a single output.

Figure

For which of the following input values will the circuit have an output of true?

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

Question 10

Multiple choice Unit 2: The Internet

A student is deciding between storing data on the cloud or storing data on a nonnetworked local device. Which of the following is most likely to be true?

Pick an answer, then check it. The solution opens in a window.
Question 1 of 214
Page 1 of 22