What's the alternative, be forced to drop out of university once you fail an exam?
We wouldn't have been forced to drop out (at least not due to that exam in isolation), but the 0 would have been considered as part of our final grade for the course.
At my university the year was divided into three trimesters with exam periods at the end, and a fourth exam period at the end of summer holiday. Each exam period would have the exams of all the courses of the previous trimester and also exams of courses of the trimester before for people who still needed to pass that course. If you fail the exam twice, you have to try again when the exam is given again next year (or try to argue with the prof to get special arrangements, say if it's the only one you still need for your degree).
But some questions in the exam required us to apply some algorithms by hand. I knew how they worked and I could also do them by hand. Did it on whiteboard with toy problems while studying for it. But what I didn't really expected was how fast the time run with manual execution on paper.. Even for modest data sizes.
I thought that the algos really could be improved to be much faster by hand, refactor to optimize for different operation costs when doing by hand given the available tools in the exam, reducing operation costs by speeding up hotspot manual steps by training right into muscle memory and better memory alignment on paper for faster data lookups in the first place.
I probably could have finished that exam in time, but with a baaad score. So I just quit and gave them a blank paper with my name to try again next time.
I knew what the real problem was: time, and I had a plan how to prepare for it. It worked =)