Programming Techniques
In this 36 mark section, you need to discuss why you have used the programming techniques you have used in your project.
A discussion is essentially a written debate where you explain the reasons and benefits of the technique used, then outline alternative options and explain why you discounted them. Within this you and where appropriate, should also explain how you have coded your solution efficiently.
Possible techniques you may have used in your solution:
It may be obvious to you why you used a particular technique but you should treat it as though the person reading it does not know why!
A discussion is essentially a written debate where you explain the reasons and benefits of the technique used, then outline alternative options and explain why you discounted them. Within this you and where appropriate, should also explain how you have coded your solution efficiently.
Possible techniques you may have used in your solution:
- In-built functions [e.g. print, input]
- Selection [e.g. IF statements, inc. ELIF & ELSE]
- Iteration [e.g. For and While loops]
- User-defined functions [e.g. your own create function e.g. def addNumbers()]
- Variables [e.g. global and local]
- Data structures [e.g. lists, dictionaries]
- String methods [e.g. .upper(),.lower()]
- External Libraries [e.g. Random]
- External Files [e.g. open, close]
- Robustness [e.g. Validation or error handling using loops, if statements and/or try...catch]
It may be obvious to you why you used a particular technique but you should treat it as though the person reading it does not know why!