If I was to develop a trivia game, and I was to use a global variable to keep the question displayed in multiple frames until the question is answered or if time runs out, what code would I have to use?

Also, what code would I have to use if I was to use the same timer (countdown clock) if a user was to buzz in with animation frames and continuing the countdown clock while the frames are animating?