Here is what’s inside the C# Coding Cookbook: 32 chapters in seven parts, two appendices, a glossary, a teacher’s guide and a practice data pack. The full contents of the other books are on their own pages: Python, Java and Delphi. All four follow the same chapter format.
Inside the book
| Part | Chapters | Topics | Most useful for |
|---|---|---|---|
| 1. The basics | 1–10 | Getting started, data types, variables, input and output, operators, strings, conditions, selection, loops and random numbers | Everyone: every later chapter builds on these |
| 2. Arrays and collections | 11–13 | Arrays, 2D arrays, List and Dictionary | Paper 1 |
| 3. Organising code | 14–16 | Methods, exceptions and validation | Paper 1 and the PAT |
| 4. Algorithms | 17–18 | Searching, sorting, and standard algorithms such as primes, digits and percentages | Paper 1 |
| 5. Files, dates and databases | 19–22 | Text files, dates and times, SQL in Access, and connecting C# to a database | Paper 1 and the PAT |
| 6. Object-oriented programming | 23–30 | Classes, properties, inheritance, abstract classes, interfaces, polymorphism, composition, arrays of objects and JSON | Paper 1 and the SBA OOP test |
| 7. PAT and Paper 2 | 31–32 | Windows Forms, IPO tables, pseudocode, flowcharts, trace tables, UML diagrams and test data | The PAT and Paper 2 |
Also in the book
- Appendix A: reading error messages, using the debugger and writing in good style.
- Appendix B: Delphi and Java code side by side with C#, for learners and teachers switching languages.
- Glossary: every technical term explained in plain language.
- A guide for teachers: planning, classroom activities, practical work and support for different learners.
- A guide for learners: how to study, prepare for exams and build good programming habits.
- Suggested study routes: where to start whether a learner is new to programming, preparing for the practical exam or building a PAT.
Every chapter follows the same pattern
- Introduction: what the topic is and why it matters.
- Numbered sections: one idea at a time, with code to type in and run, and the output it prints.
- Worked examples: small, complete programs that bring the ideas together.
- Common mistakes: the errors learners make most often, what goes wrong and how to fix it.
- Check yourself: short questions with answers, for revision, homework or exit tickets.
The practice data pack
Every school licence includes the data pack, so learners can run each example and get the same output as the book.
- Text files in the IEB format, with fields split by #.
- JSON files for the object-oriented programming chapter.
- An Access database that builds in about five minutes from an SQL script and CSV files.
- SchoolApp: a complete, menu-driven console program that shows how a strong exam answer is structured.
- A README that lists which chapter uses which file.
