Questions Application anyone wanna share his logic ?

loyal

Centurion
Joined
Jul 29, 2003
Messages
102
hi all

I made a simple program that used access database

it's similar to Real MCP Exam

definitely not but randomly

the problem I am facing is that

1 - we want to make the answers also randomly

2 - I don't know how to make timing count down

3 - the result should be calculated with progress bar

if you interesting in this I'll posted the deploy & project as well

here and we will discuss how to implement these things

also if you have any idea related to this project

I would be so happy to work with

Note: the Questions in the database I collected them

from sites that give the demo of MCP question (Free)

in Fact this application is useful to test yourself

we wanna get the McSd (*&*)
 
Welp, I'll speak to the randomizing of questions. That's an easy place to get started.

1) use a integer (speciffically, a sequence) as the primary key in the db table which holds your questions.
2) Use the inherent randomizing functions in your .Net language of choice to order the teh questions
3) present your questions in the order

The tasks you listed are all very straight forward. Perhaps you might want to ask a qusetion specifically related to the function you are trying to implement. How do I get the start, stop a timer? How do I set the value of the status bar? etc...

Good Luck!
 
Loyal,

If you are still interested in doing this, I will offer a simple count down method.

coun = 100 ####This is the counter
x = 1
do until x = 5000
##I think this is about 5 seconds. Using a timer 1000 = 1 second
x = x + 1
loop
coun = coun - 1
label1.text = cstr(coun)

You can also use a timer and do the same thing. There are more reliable ways measuring the passing of time but since your application is not going to be cpu intensive this should be ok.

-Quahog
 
Back
Top