Export boolean responses as CSV file

Purpose

Collects all student responses to all questions as a matrix format.  Students are arranged into rows, responses into columns.  Multiple-choice questions are split into separate columns for each stem.

Function

Downloads a CSV file to the client PC in the following format:

The CSV header row comprises Gender, Title, Surname, First Names, Student ID, Course, Year, Submitted followed by question responses.  A 1 indicates a correct answer, 0 otherwise.