Code Master Dojo

To be able to attempt the GCSE NEA you need the following Python skills:

  • Input from keyboard

  • Output to display

  • Decisions (IF...THEN...ELSE...)

  • Essential functions: modulus (%), ASC, ORD

  • Use of data types: integer, real, Boolean, character, string, casting

  • String manipulation

  • Common arithmetic operators (+, -, /, *, MOD, DIV)

  • Common Boolean operators (NOT, AND, OR)

  • Pro-Coder Rule #1: Use descriptive names for variables and sub-routines

  • Use of common libraries


To achieve higher than level 4, you will also need the following Python skills:

  • Pro-Coder Rule #2: Convert repeated instructions into loops (condition and counter)

  • Pro-Coder Rule #3: Convert repeated functionality into sub-routines

  • Defensive design considerations: data input sanitation and validation, planning for contingencies, anticipating misuse

  • Arrays or lists

  • Read and write to CSV files

  • A search and sort algorithm


What is the difference between code (up to level 4), and good code (level 5+)?

Good code is:

  • Readable - someone else can understand it

  • Maintainable - code can easily be updated and added to

  • Robust and defensive - code can deal with garbage


Worried by the NEA?

  • Don't be. The NEA is only a small part of the overall GCSE so you don't have to be a coder to succeed.

  • Think of the NEA as an opportunity to get some easy marks. How? Walk in knowing how to write the getNumber() and getString() routines on Code Kata 4 + how to use loops and IFTT statements = 50% of the marks achieved. Job done.

  • Learn how to use Pro-Coder rules, arrays and some file handling and you will achieve the other 50%.

x20 Python Coding Challenges

DON'T PANIC!

GCSE coding challenges are essentially:

  1. Input some data from user

  2. Process that data

  3. Output the result to display and/or file

GCSE NEA resources and challenges