Comparative Study of Student Learning Outcomes in Online and Offline Learning during the Pandemic