Yoko, if the teacher who set the quiz left the default settings on the (which most do), then, yes, it should automatically save what you have done when the time runs out.
Quiz
Already answered essay but time ran out, are my answers saved?
Arutelu on lukustatud, seetõttu ei saa te sellele enam vastata.