ROOTED IN SAHARANPUR. IMAGINING A BRIGHTER INDIA. 2026 • A journey of discovery
Digital sense Classes 68

An algorithm you can explain

Computing begins with a clear method.

About 16 minutes Read · try · explain
Take your time. Speak, draw or write your answers.
My learning library
Your list stays in this device’s browser. No name or learner account is needed. Other users of a shared device can see it.
01 / UNDERSTAND

Here is what is happening.

An algorithm is an ordered method for completing a task. To sort numbers, compare neighbouring values and swap them when they are out of order, repeating as needed. A method should state when it stops. Testing includes duplicates and lists that are already sorted.

Pause. Make the idea your own.

Explain one idea to a partner, draw it or write it in your own words. Which part is an observation, an example or a question?

You can use a home language. No need to share personal experiences or finish everything in one sitting.
02 / MAKE IT YOUR OWN

Your little investigation

What you need

Paper and a pencil, or a partner to talk with. Drawing and speaking are welcome.

  1. Write 4, 1, 3, 1 on paper cards or boxes.

  2. Compare neighbours and swap if the left value is larger; repeat whole passes.

  3. Stop after a complete pass with no swaps and explain why.

03 / CHECK YOUR UNDERSTANDING

What is the sorted ascending list?

Choose one answer
KEEP ASKING

Another question is waiting.

All activities in your group