Did you enjoy this exam? I am asking as I had a very similar experience in my undergrad:
Our university allowed some basic courses to be studied at different departments, if they were equivalent. This means that there was a CS Major Algebra 1, but also Math Major Algebra 1, and you can take either.
I took the Math Major Algebra 1, being a CS student, and I have passed everything up to the final exam, where I learned that the exam is literally what you describe. All the proofs and arguments needed follow from basic principles (as things in Algebra 1 tend to do), but there is a lot of questions and the time limit is strict.
Thus, you have no time to actually do any deliberate thinking, you have to memorize and understand the basics so well that you can develop the arguments essentially in real time.
(And it was not an open book exam, even, but as you describe, it would not have helped you too much.)
I hated that exam. I never took it out of principle, instead just quitting the course and doing it with a great grade a year later, in CS. I still dislike the idea of forcing knowledge acquisition through strict time limits. What if somebody is smart but has a slow start due to stress? Ugh.
Reminds me of my school days. Tests with hundreds of questions and less than a minute to solve each question. They were essentially testing the student's time management skills as well as their physical and mental fortitude in addition to their knowledge. Extremely exhausting and anxiety inducing.
1. If you need to lookup stuff in your waste of material you won‘t be able to finish everything. The time constraint was very hard. 2. It was not just repeating former things, you had to have understood them. Everything was a transfer knowledge exercise.