IS OKAY TO SAY THOSE SENTENCES BELOW:
Your Quiz happened suddenly.
or your Quiz should be sudden.
I think the term I want is "pop quiz" that is a quiz that a teacher gives to a class by surprise, without telling them about it first. Thanks Mike and Raymott for you answer