DA Dr. Alexander’s Tutoring

Focus your review

AP® Computer Science Principles

Connect programming, data, networks, and the effects of computing. Practice explaining why an algorithm works, not just predicting its output.

Topics to revisit

  • Binary representation, data, and compression
  • Variables, expressions, Boolean logic, and conditionals
  • Lists, iteration, procedures, and abstraction
  • Networks, the internet, and reliable communication
  • Computing impacts, privacy, security, and responsible use

Recommended resources

Try it, then explain it

Original practice · Dr. Alexander’s Tutoring

An algorithm starts count at 0. For each value in [3, 8, 8, 1], it adds 1 to count when the value is greater than 5. What is the final count? How would the result change if it added the value instead?

Show explanation

The final count is 2 because two list elements are greater than 5. If the algorithm added each qualifying value instead, the result would be 16. Counting matching elements and adding matching values answer different questions; repeated values still represent separate elements.

Use these activities for skill-building. Follow College Board’s current rules for the assessed Create task; tutoring should not produce or revise assessed work where outside help is prohibited.

Bring your questions.

Use these resources to identify what feels unclear, then bring a problem and your attempted solution to a tutoring session.

Ask about tutoring →