Practice the fundamentals of programming, from simple variable assignment to if, for, and while.
The programs in this quiz are randomly generated and will be different every time. Bookmark this page and practice a little every day to see your scores improve.
Sorry, it seems that your web browser won't work with this site. Please try updating it, using a different browser, or using a different device.
55s/question
//: This represents integer division, which always rounds down.
**: This represents exponentiation, which you may have seen in other contexts with ^, like x^2, or supersripts, like x2.
You've completed a quiz!
Sign up to track your progress and more. Keep practicing and you will get faster and faster!
Complete this quiz with the same settings one more time to see a chart of your progress!
Edit and run the programs from the quiz to inspect them below. Try adding more print statements if you're confused!
Programs on which you made an error during the quiz have red borders.