Khan Academy
Khan Academy: Conditionals With If, Else, and Booleans
Practice using conditional statements (if/else) and boolean expressions in programs in the AP CSP pseudocode, in this set of free practice questions designed for AP Computer Science Principles students.
Khan Academy
Khan Academy: Intro to 'Memory'
An introduction to creating a single player version of the memory game using drawing commands and implementing the rules of the game using variables and logic.
Khan Academy
Khan Academy: Random Numbers
Learn how to generate random numbers in ProcessingJS using the random() function, and check their values with if conditions.