Each resource contains revision exercise and a handy revision summary. This could be printed for students are used as part of a NEA resource bank.
The revision exercises come as a Python file with code that needs fixing. There are instructions about the problem and hints to help fix the code. There are also separate answer files. Here is a summary of the topics within this bundle.
Basic Python: -
Arithmetic operations: -
basic maths, division (real, whole and modular, maths functions, using the math library.
String handling: -
Length and position
Converting to and from character codes (ASCII)
String conversion operations (e.g. string to integer, string to real…)
IF statements and ‘Nested’ IF: -
‘if’, ‘elif’, ‘else’, relational operators and indentation.
FOR Loops: -
the basics and is extended to include more complex code using IF statements with the FOR loop.
While Loops: -
Includes the basics and extended to cover more complex use of if statements within the while loop.
Random numbers: -
Using random with IF statements and loops.
Creating lists, Index and length, Slicing, Append/Insert, Remove/Pop, Sort, Using lists with ‘if’ and ‘for’.
Arrays (one-dimensional): -
Creating arrays (‘i’, ‘l’,‘f’), Index, Append/Insert, Remove/Pop, Sort/Reverse, Count, Extend