Programmed Logic for Automated Teaching Operations