Connecting Tech Pros Worldwide Help | Site Map

Exam Test Program

Grey
Guest
 
Posts: n/a
#1: Oct 5 '06
This question really involves creating and reading/writing files in VB6 Pro

I am involved in business training and would like to develop a VB project
which will enable testing of candidates and provide proof of competency.
Each candidate will have their own laptop in training which they will use.

I want a program which will read a editable textfile (sort of thing which
could be copied into the computer via a memstick), display the questions
and identify which is the correct response. Questions are multichoice type
with 1 correct answer. The candidate goes through ten questions until the
end until they get to a commit box where the results are calculated,
displayed and - more importantly - a file is generated recording the
candidates name (they would need to log into the program) and the final
result.

To increase flexibility, it would be nice to have a survey form after the
test and another textfile created from the response. Survey results may have
to accommodate "comments" texts as well.

These created files would be copied off to a memstick and taken to another
"Lecturers" computer and preferably imported to an Excel sheet.

The text file with the questions/answer must be easily editable (Security is
not an issue with this project), an advancement of this would be to pick 10
from a list of 20+ questions at random.

It may be possible that this system could be used to cover many different
subjects, so it may require separate Q & A files - or one where the
questions are separated.


Lyle U
Guest
 
Posts: n/a
#2: Oct 5 '06

re: Exam Test Program


On Thu, 5 Oct 2006 21:39:05 +0100, "Grey" <grahame9@btinternet.com>
wrote:
Quote:
>This question really involves creating and reading/writing files in VB6 Pro
>
>I am involved in business training and would like to develop a VB project
>which will enable testing of candidates and provide proof of competency.
>Each candidate will have their own laptop in training which they will use.
>
>I want a program which will read a editable textfile (sort of thing which
>could be copied into the computer via a memstick), display the questions
>and identify which is the correct response. Questions are multichoice type
>with 1 correct answer. The candidate goes through ten questions until the
>end until they get to a commit box where the results are calculated,
>displayed and - more importantly - a file is generated recording the
>candidates name (they would need to log into the program) and the final
>result.
>
>To increase flexibility, it would be nice to have a survey form after the
>test and another textfile created from the response. Survey results may have
>to accommodate "comments" texts as well.
>
>These created files would be copied off to a memstick and taken to another
>"Lecturers" computer and preferably imported to an Excel sheet.
>
>The text file with the questions/answer must be easily editable (Security is
>not an issue with this project), an advancement of this would be to pick 10
>from a list of 20+ questions at random.
>
>It may be possible that this system could be used to cover many different
>subjects, so it may require separate Q & A files - or one where the
>questions are separated.
>
That's quite a mouthful, but just what is the question?????

Lyle
Grey
Guest
 
Posts: n/a
#3: Oct 5 '06

re: Exam Test Program



"Lyle U" <no-one@nowhere.nilwrote in message
news:i9vai2t47lh2hhs77gljsnhcms0l5fg3vg@4ax.com...
Quote:
On Thu, 5 Oct 2006 21:39:05 +0100, "Grey" <grahame9@btinternet.com>
wrote:
>
Quote:
This question really involves creating and reading/writing files in VB6
Pro
Quote:
Quote:

I am involved in business training and would like to develop a VB project
which will enable testing of candidates and provide proof of competency.
Each candidate will have their own laptop in training which they will
use.
Quote:
Quote:

I want a program which will read a editable textfile (sort of thing which
could be copied into the computer via a memstick), display the questions
and identify which is the correct response. Questions are multichoice
type
Quote:
Quote:
with 1 correct answer. The candidate goes through ten questions until the
end until they get to a commit box where the results are calculated,
displayed and - more importantly - a file is generated recording the
candidates name (they would need to log into the program) and the final
result.

To increase flexibility, it would be nice to have a survey form after the
test and another textfile created from the response. Survey results may
have
Quote:
Quote:
to accommodate "comments" texts as well.

These created files would be copied off to a memstick and taken to
another
Quote:
Quote:
"Lecturers" computer and preferably imported to an Excel sheet.

The text file with the questions/answer must be easily editable (Security
is
Quote:
Quote:
not an issue with this project), an advancement of this would be to pick
10
Quote:
Quote:
from a list of 20+ questions at random.

It may be possible that this system could be used to cover many different
subjects, so it may require separate Q & A files - or one where the
questions are separated.
That's quite a mouthful, but just what is the question?????
>
Lyle

How can a create textfiles which can be read in my prog, use my prog to
create results textfiles?

Graham


J French
Guest
 
Posts: n/a
#4: Oct 6 '06

re: Exam Test Program


On Thu, 5 Oct 2006 22:52:51 +0100, "Grey" <grahame9@btinternet.com>
wrote:

<snip>
Quote:
>How can a create textfiles which can be read in my prog,
Notepad - not joking
Quote:
>use my prog to create results textfiles?
Channel = FreeFile
Open "result.dat" for Output As #Channel
Print# Channel, "Some Data"

I suggest that you play around reading and writing text files for a
bit in a test program

Then work out a simple design for your question file

Something like this :

Q:What is VB 20005
A:Visual Basic 7
A:A different language
A:A marketing ploy by MS
A:None of the above





Dean Earley
Guest
 
Posts: n/a
#5: Oct 6 '06

re: Exam Test Program


Grey wrote:
Quote:
This question really involves creating and reading/writing files in VB6 Pro
>
I am involved in business training and would like to develop a VB project
which will enable testing of candidates and provide proof of competency.
Each candidate will have their own laptop in training which they will use.
>
I want a program which will read a editable textfile (sort of thing which
could be copied into the computer via a memstick), display the questions
and identify which is the correct response. Questions are multichoice type
with 1 correct answer. The candidate goes through ten questions until the
end until they get to a commit box where the results are calculated,
displayed and - more importantly - a file is generated recording the
candidates name (they would need to log into the program) and the final
result.
I'd use a simple XML file with all the questions.
This can be parsed easily using the MS XML library (There are numerous
samples online about this).

The results can be appended to another file, either a single line or for
a more structured "they got 1,2,4,7,8 right and 3,5,6 wrong", XML again.
Quote:
To increase flexibility, it would be nice to have a survey form after the
test and another textfile created from the response. Survey results may have
to accommodate "comments" texts as well.
Plain text should be ideal for this.
Open, print, print, close
Quote:
These created files would be copied off to a memstick and taken to another
"Lecturers" computer and preferably imported to an Excel sheet.
>
The text file with the questions/answer must be easily editable (Security is
not an issue with this project), an advancement of this would be to pick 10
from a list of 20+ questions at random.
>
It may be possible that this system could be used to cover many different
subjects, so it may require separate Q & A files - or one where the
questions are separated.
Different source question files.

--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems
D&JG
Guest
 
Posts: n/a
#6: Oct 10 '06

re: Exam Test Program



"Grey" <grahame9@btinternet.comwrote in message
news:eemdnRHIippo8bjYRVny2w@bt.com...
Quote:
This question really involves creating and reading/writing files in VB6
Pro
>
I am involved in business training and would like to develop a VB project
which will enable testing of candidates and provide proof of competency.
Each candidate will have their own laptop in training which they will use.
>
<snip>
Already done with many commercial programs out there - e.g.
http://www.smtsystems.net/
Quote:
>The text file with the questions/answer must be easily editable (Security
>is
>not an issue with this project)...
Some encoding (non-text) would be adviseable, though. After all, if a test
is to be valid, it shouldn't be readily accessible and possibly abused
through easy printing.

Hugh


Grey
Guest
 
Posts: n/a
#7: Oct 10 '06

re: Exam Test Program



"D&JG" <donandjane@optusnet.com.auwrote in message
news:452b7ef4$0$2914$afc38c87@news.optusnet.com.au ...
Quote:
>
"Grey" <grahame9@btinternet.comwrote in message
news:eemdnRHIippo8bjYRVny2w@bt.com...
Quote:
This question really involves creating and reading/writing files in VB6
Pro

I am involved in business training and would like to develop a VB
project
Quote:
Quote:
which will enable testing of candidates and provide proof of competency.
Each candidate will have their own laptop in training which they will
use.
Quote:
Quote:
<snip>
Already done with many commercial programs out there - e.g.
http://www.smtsystems.net/
>
Quote:
The text file with the questions/answer must be easily editable (Security
is
not an issue with this project)...
>
Some encoding (non-text) would be adviseable, though. After all, if a test
is to be valid, it shouldn't be readily accessible and possibly abused
through easy printing.
>
Hugh
>
I would like the thing running first, then worry about that later. The
nature of the testing at this stage does not warrant encoding.

Graham


Closed Thread


Similar Visual Basic 4 / 5 / 6 bytes