Creating Multiple Choice Quiz App
Dear All,
I would like to create a multiple choice quiz application for the iphone/ipod touch. I was wondering the best way to store the questions. Each question has a set of fields (directions, diagram, question, answer1text, answer2text, ..., correctAnswer, etc.). The fields will be either text, number, or a picture. If all the fields were text, I could just make a plist file of them. But I am not sure how to have a database with pictures as well as text.
I would then have a question class and a quiz class. Creating the quiz class would create perhaps 10 question instances taken from the database. I would then display these.
Thank you for any ideas about the best way to store data in my project so that I could retrieve it in the most efficient manner.
I would like to create a multiple choice quiz application for the iphone/ipod touch. I was wondering the best way to store the questions. Each question has a set of fields (directions, diagram, question, answer1text, answer2text, ..., correctAnswer, etc.). The fields will be either text, number, or a picture. If all the fields were text, I could just make a plist file of them. But I am not sure how to have a database with pictures as well as text.
I would then have a question class and a quiz class. Creating the quiz class would create perhaps 10 question instances taken from the database. I would then display these.
Thank you for any ideas about the best way to store data in my project so that I could retrieve it in the most efficient manner.
MacBook, Mac Mini 2.26GHz, Mac OS X (10.6.2)