What’s included

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

PartChaptersTopicsMost useful for
1. The basics1–10Getting started, data types, variables, input and output, operators, strings, conditions, selection, loops and random numbersEveryone: every later chapter builds on these
2. Arrays and collections11–13Arrays, 2D arrays, List and DictionaryPaper 1
3. Organising code14–16Methods, exceptions and validationPaper 1 and the PAT
4. Algorithms17–18Searching, sorting, and standard algorithms such as primes, digits and percentagesPaper 1
5. Files, dates and databases19–22Text files, dates and times, SQL in Access, and connecting C# to a databasePaper 1 and the PAT
6. Object-oriented programming23–30Classes, properties, inheritance, abstract classes, interfaces, polymorphism, composition, arrays of objects and JSONPaper 1 and the SBA OOP test
7. PAT and Paper 231–32Windows Forms, IPO tables, pseudocode, flowcharts, trace tables, UML diagrams and test dataThe 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

  1. Introduction: what the topic is and why it matters.
  2. Numbered sections: one idea at a time, with code to type in and run, and the output it prints.
  3. Worked examples: small, complete programs that bring the ideas together.
  4. Common mistakes: the errors learners make most often, what goes wrong and how to fix it.
  5. 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.
Scroll to top