Thursday, July 30, 2009

How to program an IQ test into visual basic?

need to make an iq test in a standard. form on visual basic 6! how could i do this?


i already hav the question i want to put in but how will i make the counting answers some one gets right and how will i make random questions come up every time???

How to program an IQ test into visual basic?
It's not that hard as you think. Please read through.





Declare the variable and increment it by one for each correct answer. And finally get the value from this variable which it is holding through out the test.





To show the random questions you've got RND() function. For e.g. if you've got 100 questions, use RND(100) which will generate a random number from 0 to 100. Then you can use this random number to link to your question number.





Rest of the logic you can figure it out i guess as you're developing an IQ test!!!





Hope this helps.


No comments:

Post a Comment