Year 9 Decomposition
What is DECOMPOSITION
It involves breaking down a complex problem or system into smaller parts that are more manageable and easier to understand. The smaller parts can then be examined and solved, or designed individually, as they are simpler to work with.
This kind of decomposition
Not this decomposition.
LEARN THE FUNDAMENTALS OF DECOMPOSITION
Task 4.1
Making hot buttered toast the way Mr. Creighton does...
(the proper way)
Click on the image to open the task.
Just make some toast. What's so hard about that? Click the toast to go to the task.
Task 4.2
Getting a glass full of cold water!
That was a lot of steps to make toast! You may do it differently and could easily add or remove steps.
That example had all the steps listed, but what if you do not know all the steps?
Think about whats involved in getting a glass of water.
Hint.... Break the task down into smaller blocks first... for example....
1. Get the glass | 2. Fill the glass | 3. Drink the water
Flow Charts
A flowchart is a diagram that uses symbols and arrows to visualise a process. These are five main flowchart symbols you’ll most commonly find in a simple flowchart.
You can create most simple flowcharts using just five symbols — but you’re not limited to those shapes.
How to write a Flowchart
Write a Simple Program
An Adding Machine that sums two numbers.
Add a Decision
Guess the Number Game
Add a Loop
How to Give a Cheer
Repeat Multiple Steps
Guess the Number Game
Task 4.3
Flowcharts to visually explain
Using a flowchart is an easy way to show how a problem can be broken down into simple single steps. This example asks you to arrange the sequence for drinking a glass of water. Can you arrange it in the right order. Do you always get a full glass of water?
Click on the image to open the task.
DECOMPOSITION ASSESSMENT
Complete the EoT Make your own Flowchart Challenge
Think of any task and create a flow chart that will be easy to follow. You should only have one starting point and one ending point.
Remember:
break your task down into simpler components
list them so that you have a complete set of instructions
check your list for mistakes
create a flowchart
make sure there is at least one decision in your flowchart
test your flowchart
NZ CURRICULUM
Digital Technologies | Progress Outcomes
COMPUTATIONAL THINKING FOR DIGITAL TECHNOLOGIES
At the end of this topic students will have had the opportunity to cover;
understand that there can be more than one algorithm for the same problem PO3
debug simple algorithms and programs by identifying when things go wrong with their instructions and correcting them PO4
be able to explain why things went wrong and how they fixed them PO4
evaluate the efficiency of algorithms PO4