Practice problems
Problem โ Examples โ Hints โ Write pseudocode โ Run โ Trace โ Test โ Explanation. Pick a topic and a difficulty, and go!
Easy
Add two numbers
TAKE two numbers A and B, add them and DISPLAY the sum.
#Variables
Easy
Age calculator
TAKE the BIRTH_YEAR and the CURRENT_YEAR and DISPLAY how old the person will be this year.
#Variables
Easy
Area of a rectangle
TAKE the WIDTH and HEIGHT of a rectangle and DISPLAY its area.
#Variables
Easy
Bill calculator
TAKE the PRICE of an item and the QUANTITY bought.
#Variables
Medium
Swap two values
TAKE A and B, swap their values, then DISPLAY A and B.
#Variables
๐
No problems match โ try another filter.