midterm IntProg