The preparatory and miscellaneous codes used in CNC part programming and the functions are given in the table.
| Group I | Group II |
| P. G01 | 1. Circular interpolation, counter-clockwise |
| Q. G03 | 2. End of program |
| R. M06 | 3. Tool change |
| S. M02 | 4. Linear interpolation |
The correct combination of code and the respective function is
1
P - 4, Q - 1, R - 3, S - 2
2
P - 4, Q - 1, R - 2, S - 3
3
P - 1, Q - 4, R - 3, S - 2
4
P - 2, Q - 1, R - 3, S - 4