Verityprep
Question Bank

AP® Computer Science Principles Practice Questions

Work through AP Computer Science Principles practice 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 21–30 of 214
  1. 21
  2. 22
  3. 23
  4. 24
  5. 25
  6. 26
  7. 27
  8. 28
  9. 29
  10. 30

Question 21

Multiple choice Unit 2: The Internet
A library of e-books contains metadata for each book. The metadata are intended to help a search feature find books…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 22

Multiple choice Unit 2: The Internet
Byte-pair encoding replaces repeated adjacent character pairs with otherwise unused characters and saves the replacement mapping.…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 23

Multiple choice Unit 2: The Internet
Which allows users to refer to Web sites using names such…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 24

Multiple choice Unit 2: The Internet
Which unit is most…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 25

Multiple choice Unit 2: The Internet
Which of the following explains a benefit of using…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 26

Multiple choice Unit 2: The Internet
IPv4 addresses have 32 bits; IPv6 addresses have 128…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 27

Multiple choice Unit 2: The Internet
In public key cryptography, the sender uses the recipient's public key to…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 28

Multiple choice Unit 2: The Internet
Which of the following is an…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 29

Multiple choice Unit 2: The Internet
Which of the following describes how a distributed denial-of-service…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 30

Multiple choice Unit 2: The Internet
A company has a private network intended for employee use only. Which of the following…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 21 of 214
Page 3 of 22

AP® and Advanced Placement® are registered trademarks of the College Board, which is not affiliated with, and does not endorse, Verityprep. Names are used for identification purposes only.