These are modules of code that have already been written for programmers to use. They are held in a library of pre-defined functions and save the programmer time when coding. It also means that the programmer does not need to know in detail how to write all parts of the program. The pre-defined functions that you need to know at national 5 are: