Verityprep
Question Bank · Unit 4

AP® Computer Science Principles Algorithms and Programming Practice Questions

Work through AP Computer Science Principles practice questions on Algorithms and Programming, 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.

Subtopic: Conditionals Clear filter

Questions 1–1 of 1
  1. 1

Question 1

Multiple choice Conditionals
🟢 🟥 ⚠️ Consider the following code segment, which selects songs from a database. select ← false IF (genre = "jazz") { IF (time 240) {…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1 of 1