The classroom for nearly 100 Pinellas County middle schoolers was replaced by the roar of engines at the Grand Prix of St.