|Dalma Ivanyi had 8 rebounds and 6 assists for Hungary|
Slovakia had already assured themselves of a place in the final eight and Belgium pipped Hungary to the fourth spot in Group B with a triumph over the Ukraine earlier on Wednesday.
Hungary have certainly left their mark on this tournament as one of the best defensive sides in the competition.
They limited Slovakia to just five first-quarter points to get their game off on the right foot.
Hungary have been a poor shooting side but they broke with tradition by making 18 of 37 shots from two-point range, and six off 19 from behind the three-point arc.
Edid Eordogh led the way with 14 points while Eva Seres added 12.
But it is Slovakia, who were paced by Andrea Belanska's game-high 17 points, who are still in medal contention.
Justin Seflak, Assistant Coach Slovak Republic:
"Congratulations to the Hungarian team."
"Now we have to prepare for the game against Poland. We have enough information about them and we hope for the best."
Laszlo Ratgeber, Head Coach Hungary:
"Even though the result of this game had no influence on the standings, we fought for the win until the last second of the game."
"I think from this group Spain and Russia are the best teams."