The iterative process involves repeating a set of steps over and over to solve a problem or complete a task. Each repetition (or iteration) brings us closer to the final solution.
Iterations
An iteration is one complete cycle of repeating the same set of steps in a process. In Data Management, iterations are used to improve and refine processes.
Example: When practicing a dance routine, you repeat the steps over and over to get better each time. Each time you practice, you improve and refine your moves.
Algorithms
An algorithm is a step-by-step set of instructions used to solve a problem or perform a task. It can be iterative (repeating steps) or recursive (where a function calls itself).
Example: Following a recipe to bake a cake is an algorithm. It tells you step-by-step what to do. Each step leads you closer to the final goal.
Fractals
Fractals are complex, self-repeating patterns that look the same no matter how much you zoom in or out. They are formed using iterative processes.
Example: Snowflakes are natural examples of fractals. No matter how much you zoom in on a snowflake, the pattern looks similar at every level. The same repeating shape/pattern appear as you zoom in closer, showing the fractal property.
Diagrams and Their Uses
Diagrams help us visualize ideas, processes, and relationships in an easy-to-understand way. Here are some common types:
Arrow Diagrams
Arrow diagrams are used to show movement or direction, often in processes where one step leads to another. The arrows make it clear what happens first, next, and last.
Elementary → Secondary → University
Tree Diagrams
Tree diagrams help show how things branch out from one starting point. They are often used to show choices, classifications, or family relationships.

Fig.1 - Tree Diagram showing the scenarios for flipping a coin twice
Recursive Functions
A recursive function will call itself repeatedly with smaller sub-problems until it reaches a base case. A recursive formula is a way of defining a sequence (a list of numbers) where each term is based on the one before it. It can be expressed algebraically as such:
This formula helps us find the next number in a sequence by using the two numbers before it. To get the next number, you take the one right before it, multiply it by 3, and then subtract the number two steps before it. It’s like following a pattern where each new number depends on the ones that came before it. So, you start with a couple of known numbers, and you can keep using the formula to find more numbers in the sequence.
Example
Given the first two terms:
First, we can calculate
Next, we can calculate
Then, we can calculate
Therefore, we can determine that the next three terms in the sequence are 13, 34, and 89.
We can write the sequence thus far as such:
Check yourself
Work each one out before you reveal it. Nothing here is recorded.
How does an iterative process differ from an algorithm, and can an algorithm be both iterative and recursive?
What makes fractals unique, and how does a fractal diagram help visualize them?
How do recursive functions relate to tree diagrams, and what is an example of recursion in real life?
Ready to practice this?
You have just read the whole lesson — no account needed. One is what lets you mark it complete, see how far through the course you are, and practice the topic with questions picked for you.
- Progresssaved, and counted in your progress through the course
- Unlimitedadaptive practice questions, on every plan
No credit card. Under 18? We email your parent or guardian when you sign up.
Three ways to make this stick
Reading it once isn’t the same as being able to do it on Thursday.