Jump to content


Photo

Easiest way to make a test


  • Please log in to reply
3 replies to this topic

#1 bassplaya4string

bassplaya4string
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 07 October 2006 - 10:51 PM

I am trying to make 2 quizzes, each will have 10 questions when you answer them you will get a score and what your score means and if you forget to answer one it will ask you to go back and answer it. I was wondering what the easiest way to do this with PHP is. Any help would be greatly appreciated!

#2 printf

printf
  • Staff Alumni
  • Advanced Member
  • 889 posts

Posted 07 October 2006 - 11:12 PM

I would center on making a simple test maker, that creates each test, so you can reuse it again and again...

a simple form...

1. create question >> select box >> write in question >> multi answer question >> single answer question
2. if ( multi answer question or single answer question) show select box (how many answers)
3. submit, it creates a form so you can enter your question and answers and select what is the correct answer!
4. add the question information to the test database (flat file or db)

Then all you need to do is create some generic templates to insert the test and a simple script that validates the test!


I think I have example test maker around here some where, if I can remember what computer it is on, I'll look and post back in a little bit!


me!



#3 pedrobcabral

pedrobcabral
  • Members
  • PipPipPip
  • Advanced Member
  • 108 posts

Posted 07 October 2006 - 11:31 PM

Certainly not the best way, but once you are asking that way I presume you don't deal well with PHP.
You would get STRONGLY limited, but with dreamweaver you can manage to do more then a half that you want.

#4 bassplaya4string

bassplaya4string
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 08 October 2006 - 03:58 AM

Thanks man! That helps! if you can find that example test maker that would be awesome! (if anyone knows of a tutorial that I could take a look at, please, post a link. Thanks!)


I think I have example test maker around here some where, if I can remember what computer it is on, I'll look and post back in a little bit!


me!







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users