Personally I would use JSON files to realize this. I found a tutorial on this website, which follows the same problem "how to store quiz questions".