Random Question Quiz

I've been asked a lot lately about displaying randomly selected records from a database. I've written the RandNumList custom tag for just this purpose. I'm going to take this code one step further and show how you can display random questions from a database and then grade the user's score on the action page.

I have a database with 9 questions and I'm displaying 5 of them randomly below. When you click on 'Grade', your score will be processed. Unanswered questions will be graded as 'wrong'.

5. Which is the odd one out?
program.
application.
software.
utility.
 
2. What should you create for somebody that you send Email very often?
A mailbox.
A nickname.
A directory.
A shortcut.
 
6. Which of the following is not an Email attachment standard?
MIME.
FTP.
BinHex.
UUencoding.
 
3. Which of the following is not a way to send mail to more than one person?
Put a line in the message body with the secondary addresses in it.
Put secondary recipients in Cc: or Bcc: fields.
Make a nickname for the people as a group.
Use send again and change the address each time.
 
8. Email should always be written in the highest, most polite form of English.
True
False, the kind of language that you use in email depends on the person you are talking to.
False, email has its own language - ''emailese''.
 


Join Our E-Mail Newsletter

For Email Newsletters you can trust


Sister Sites

RiteTech LLC
Modern HOA