The effect of taking a midterm is getting knowledge