Effect of computer-based instruction on performance in physics