basic quiz module architecture?

am wondering if anyone can help me.  nothing difficult - just need pointing in the right direction i think

basically, i'm creating a drupal site where the users will be doing multiple choice quiz's.  i know there's a drupal quiz module/framework but what i want is a little specialized.  plus, its an opportunity to learn module development, so i'll be coding it all myself

problem i have is that i don't know where to start.  i mean, on each page i'm gonna have a question with a bunch of possible answers, which the user will have to choose one of - & then once they've answered i'll be providing feedback telling them if they were right or wrong

but how do i do this?  i mean, perhaps the questions are custom content types (i could see this), but how do i enable users to choose an answer?  i don't get how to combine the display of info from the database with what's effectively HTML input form functionality.    maybe this is straightforward - involving a template or something??  i can't see it though

would appreciate some illumination