We are working with Cambridge Assessment International Education towards endorsement of this title. Any references or material related to answers, grades, papers or examinations are based on the opinion of the author(s). Contents
9 System design Top-down design Structure diagrams Design steps The complete design process
10 Arrays Declaring an array Initialising arrays Using arrays Groups of arrays Two-dimensional arrays Array reference for implementation in Python
11 Checking inputs
113 114 114 126 128 131
Validation 136 Verification 137 Programming validation into your systems 137
M
11.1 11.2 11.3
12 Testing
When to test 152 Debugging 152 IDE debugging tools and diagnostics 154 Identifying logical errors 156 Dry running 156
A
12.1 12.2 12.3
161 164
13 Files and databases 13.1 13.2 13.3 13.4 13.5
Files 168 Databases 171 Querying databases 173 Python and SQL 178 More advanced SQL 179
14 Programming scenario task 14.1 14.2 14.3 14.4 14.5
Reading the question Constructing a skeleton answer Filling in the details Putting it all together Final thoughts
184 185 186 188 189
15 Examination practice
194
Appendix 1: Turtle reference
205
Appendix 2: Tkinter reference
207
Glossary 211 Acknowledgements 214 Solutions
S
12.4 12.5
12.7
P
10.1 10.2 10.3 10.4 10.5 10.6
102 102 105 109
Breakpoints, variable tracing and stepping through code Beta testing
LE
9.1 9.2 9.3 9.4
12.6
vii Original material © Cambridge University Press 2021. This material is not final and is subject to further changes prior to publication.