Comparison of the Results of Computer-Based and Frontal Teaching of Physics