Khan Academy
Khan Academy: Random Numbers
See how we can generate random values in our computer programs, and use those to make decisions and simulate natural processes.
Khan Academy
Khan Academy: Random Numbers
Practice using random numbers for programs written in the AP CSP pseudocode, in this set of free practice questions designed for AP Computer Science Principles students.
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.