the middle of the gestation period
"The veterinarian warned that administering certain medications during a midterm can harm the developing fetus."
middle of an academic term or a political term in office
"The governor's approval ratings dropped significantly after his midterm slump into a contentious budget debate."
an examination administered in the middle of an academic term
"After pulling an all-nighter to study, Sarah finally walked into her midterm exam feeling both terrified and ready."
A midterm school exam (i.e., halfway through the term).
"I stayed up all night studying for my midterm because I knew it covered everything we learned in the first half of the semester."
Halfway through a term, or roughly so.
"The professor reminded everyone that the midterm exam would be held halfway through the semester to assess their progress so far."