• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Day 18. Advanced Techniques: Online Test... > Creating the Question Form (question...

Creating the Question Form (question.asp)

The quiz form is the most difficult of the program to implement, and is obviously the most important. Before getting started, let's take a few minutes to determine exactly what we need to do and how we're going to do it. This page is actually very similar to some of the pages you've created before. So, what exactly does the question.asp portion of the site need to do? It must perform the following:

  • Maintain the user login information— We've tested to see if the users should be able to access a Web site, but we need to do this throughout the entire site. This will be the last feature we add to the pages—but one of the most important. If the users can access the page without a login and password, they can preview the questions and cheat.

  • Ask questions— Obviously. The purpose of the site is to create an online quiz, but there are a few things that make this slightly confusing. For example, there are an arbitrary number of answers for an arbitrary number of questions. The responses need to be stored for everything.

  • End the quiz— Because we aren't just browsing back and forth between records, what happens when the users reach the last question? The system must be able to tell when the quiz is done and react appropriately.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint