Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Exam Test Program
Old
  (#1)
Grey
Guest
 
Posts: n/a
Default Exam Test Program - 06-04-2007, 10:31 AM

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.


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Exam Test Program
Old
  (#2)
Lyle U
Guest
 
Posts: n/a
Default Re: Exam Test Program - 06-04-2007, 10:31 AM

On Thu, 5 Oct 2006 21:39:05 +0100, "Grey" <EMAIL REMOVED>
wrote:

>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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Exam Test Program
Old
  (#3)
Grey
Guest
 
Posts: n/a
Default Re: Exam Test Program - 06-04-2007, 10:31 AM


"Lyle U" <no-EMAIL REMOVED> wrote in message
news:EMAIL REMOVED...
> On Thu, 5 Oct 2006 21:39:05 +0100, "Grey" <EMAIL REMOVED>
> wrote:
>
> >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



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

Graham


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Exam Test Program
Old
  (#4)
J French
Guest
 
Posts: n/a
Default Re: Exam Test Program - 06-04-2007, 10:31 AM

On Thu, 5 Oct 2006 22:52:51 +0100, "Grey" <EMAIL REMOVED>
wrote:

<snip>

>How can a create textfiles which can be read in my prog,


Notepad - not joking

>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





   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Exam Test Program
Old
  (#5)
Dean Earley
Guest
 
Posts: n/a
Default Re: Exam Test Program - 06-04-2007, 10:31 AM

Grey wrote:
> 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.

> 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

> 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 (EMAIL REMOVED)
i-Catcher Development Team

iCode Systems
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Exam Test Program
Old
  (#6)
D&JG
Guest
 
Posts: n/a
Default Re: Exam Test Program - 06-04-2007, 10:31 AM


"Grey" <EMAIL REMOVED> wrote in message
news:EMAIL REMOVED...
> 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/

>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


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Exam Test Program
Old
  (#7)
Grey
Guest
 
Posts: n/a
Default Re: Exam Test Program - 06-04-2007, 10:31 AM


"D&JG" <EMAIL REMOVED> wrote in message
news:452b7ef4$0$2914$EMAIL REMOVED ...
>
> "Grey" <EMAIL REMOVED> wrote in message
> news:EMAIL REMOVED...
> > 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/
>
> >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


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top