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 181–190 of 214
  1. 181
  2. 182
  3. 183
  4. 184
  5. 185
  6. 186
  7. 187
  8. 188
  9. 189
  10. 190

Question 181

Multiple choice Unit 4: Algorithms and Programming
The robot in each grid starts facing left. It may enter white or shaded cells but not black cells. GoalReached() is true on the shaded cell. For which grid does…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 182

Multiple choice Unit 4: Algorithms and Programming
A computer system has the task times below. Based on the observed growth, which task is likely to take the longest for approximately 100000…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 183

Multiple choice Unit 4: Algorithms and Programming
onTime and absent are both false. What is displayed? IF(onTime){DISPLAY("Hello.")}…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 184

Multiple choice Unit 4: Algorithms and Programming
Under which of the following conditions is it most…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 185

Multiple choice Unit 4: Algorithms and Programming
Two algorithms find the mean height of 32 students. Which statement is true? Algorithm A: 1. All students stand. 2. One randomly selected student writes their…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 186

Multiple choice Unit 4: Algorithms and Programming
The robot starts facing up. It can enter white or shaded squares but not black squares. Which code reaches the shaded…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 187

Multiple choice Unit 4: Algorithms and Programming
morningList and afternoonList contain children attending each camp session. Only children in both sessions eat lunch.…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 188

Multiple choice Unit 4: Algorithms and Programming
What is the result of running the code? i ← 0 sum ← 0…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 189

Multiple choice Unit 4: Algorithms and Programming
A two-floor elevator’s door is already closed. Which condition makes it move exactly when called to the other floor?…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 190

Multiple choice Unit 5: Computing Innovations

A small team of wildlife researchers is working on a project that uses motion-activated field cameras to capture images of animals at study sites. The team is considering using a "citizen science" approach to analyze the images. Which of the following best explains why such an approach is considered useful for this project?

Pick an answer, then check it. The solution opens in a window.
Question 181 of 214
Page 19 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.