a. Общий вопрос с did. b. Альтернативный вопрос с 'or'.
Ответ: a. Did they write a test? b. Did they write a dictation test or something else?