socrastica.

Choose something to practise

Small challenges. Real understanding.

Build a blueprint from blocks, send example inputs through it, and watch every value change. Then let AI write the code and inspect it block by block. Start right away; sign in when you want to keep your work.

Start with something familiar

How many dollars is ₦4,500?

Build a naira-to-dollar converter with a fixed practice rate. Learn division and rounding as you go.

Try currency conversion

25 activities

ListsBranching

Spot the duplicate

Find out whether any number repeats.

LoopsMemoryDecisions
Start activity
MoneyStarter

Naira to dollars

Turn a naira amount into US dollars.

DivisionRounding
Start activity
MoneyStarter

Dollars to naira

Convert dollars at a fixed practice rate.

MultiplicationRounding
Start activity
MoneyStarter

A shop discount

Find the price after a 20% discount.

PercentagesMultiplication
Start activity
MoneyStarter

Add a restaurant tip

Add a 10% tip to a restaurant bill.

PercentagesRounding
Start activity
NumbersStarter

Celsius to Fahrenheit

Convert a temperature into another unit.

Order of stepsMultiplication
Start activity
NumbersDeveloping

Fahrenheit to Celsius

Work backwards through a temperature formula.

Order of stepsDivision
Start activity
NumbersStarter

Minutes to seconds

Turn a length of time into seconds.

UnitsMultiplication
Start activity
NumbersDeveloping

Area of a rectangle

Use two side lengths to find the area.

Lists as inputsLoopsMultiplication
Start activity
NumbersDeveloping

Around a rectangle

Find the distance around all four sides.

Multiple stepsLoops
Start activity
NumbersDeveloping

Even or odd?

Decide whether a whole number is even.

RemaindersDecisions
Start activity
NumbersStarter

Is it positive?

Make a decision about a number.

ComparisonsBooleans
Start activity
ListsDeveloping

Add a list of numbers

Keep a running total as you go.

LoopsRunning totals
Start activity
ListsBranching

Find the average

Use the total and the number of items.

LoopsDivisionEmpty inputs
Start activity
ListsBranching

Count the even numbers

Keep the numbers that match a rule.

FilteringCountingDecisions
Start activity
ListsBranching

Find the largest number

Compare values as you move through a list.

LoopsComparisons
Start activity
ListsBranching

Find the smallest number

Keep track of the lowest value.

LoopsComparisons
Start activity
ListsStarter

Put numbers in order

Arrange numbers from lowest to highest.

SortingNumeric comparisons
Start activity
TextStarter

Reverse a word

Read text from the end to the start.

TextOrder
Start activity
TextBranching

Same forwards and backwards?

Check words like “level” and “racecar”.

Text cleaningComparisons
Start activity
TextStarter

Count the characters

Measure text, including spaces.

TextCounting
Start activity
ListsBranching

Is the list in order?

Check that each number is at least as large as the one before it.

LoopsComparisonsEarly exit
Start activity
ListsBranching

All positive?

Every number must pass the same test.

LoopsDecisionsEarly exit
Start activity
ListsBranching

Add only the positives

Combine a decision with a running total.

LoopsDecisionsRunning totals
Start activity
ListsBranching

Any negative number?

Stop as soon as you find one.

LoopsDecisionsEarly exit
Start activity

Currency rates and percentages are fixed for learning. Code checks use sample inputs; passing them is evidence, not a guarantee for every input.