4.1.5
Identify the decisions required for the solution to a specified problem.
Teaching Note:
Different actions are taken based on conditions.
LINK Connecting computational thinking and program design, introduction to programming.
AIM 4 Applying thinking skills to identify and resolve a specified complex problem.
Sample Question:
sdfsdfsf
JSR Notes:
Refer to 4.1.4 - it's pretty well the same thing.
Where 4.1.4 gets you to identify when a decision should be made, 4.1.5 gets you to actually say what that decision should be.
Taking the example of decision situations at the bottom of the 4.1.4 notes:
- [Decision to be made] First of all decide which kind of cake you want to bake.
- [Condition] It's for John, and we know what his favourite kind of cake is:
- [Decision taken] A"two-egg" cake
- [Decision to be made] Then decide how big a bowl you will need, and what other kinds of utensils you will need.
- [Condition] It's just a normal cake, so:
- [Decision taken] A mid-sized bowl & a stirring spoon
- [Decision to be made] Then decide how much sugar to add so that it's sweet enough.
- [Condition] The recipe calls for one and a half cups
- [Decision taken] One and a half cups
And from the coding examples in 4.1.4
- [Decision to be made] Can I add nuts to the cake?
- [Condition] A nut reaction is possible, true so:
- [Decision taken] No, do not decide to add nuts
- [Decision to be made] Should the program call the rainyDrivingMethod, or the dryDrivingMethod?i
- [Condition] It is raining, so:
- [Decision taken] Call the rainyDrivingMethod
- [Decision to be made] Should I wear a winter jacket, a sweater, a long-sleeve shirt, or a short-sleeve shirt
- [Condition] The temperature is 17 degrees, so:
- [Decision taken] Wear a long-sleeve shirt