Seeking Detailed Info on CSV/XML Quiz Formats for a Python Script Project

Hey, Brightspace community,

I'm in the process of creating a Python script to generate quiz questions, and I want to save these in either CSV or XML format to later import them into Brightspace. I have done something similar using ExamView, but I want to have better control of the formulas I'm using.

I have a pretty good understanding of the basics of each format, but I'm hoping for a comprehensive dive into the nitty-gritty specifics of both the CSV and XML quiz formats as used in Brightspace.

For instance, how should I structure my CSV or XML files for different types of questions like multiple-choice, true/false, or short answer? If there are any particular quirks or 'gotchas' I should be aware of when structuring my files, I'd love to know about those too. My scripts will generate quite a diverse mix of question types, and I want to ensure I'm equipped to handle all of them flawlessly.

Moreover, if anyone has had a similar experience of generating quizzes through a script, I'd appreciate any advice or lessons learned. Are there any best practices you recommend? Any pitfalls to avoid?

Just trying to ensure I've got all my bases covered before I dive headfirst into coding this up. Any insights you could provide would be immensely appreciated!

Thank you!

Carolina

Answers