Exam Test Program

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Grey

    #1

    Exam Test Program

    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

    #2
    Re: Exam Test Program

    On Thu, 5 Oct 2006 21:39:05 +0100, "Grey" <grahame9@btint ernet.com>
    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

    Comment

    • Grey

      #3
      Re: Exam Test Program


      "Lyle U" <no-one@nowhere.nil wrote in message
      news:i9vai2t47l h2hhs77gljsnhcm s0l5fg3vg@4ax.c om...
      On Thu, 5 Oct 2006 21:39:05 +0100, "Grey" <grahame9@btint ernet.com>
      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


      Comment

      • J French

        #4
        Re: Exam Test Program

        On Thu, 5 Oct 2006 22:52:51 +0100, "Grey" <grahame9@btint ernet.com>
        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





        Comment

        • Dean Earley

          #5
          Re: Exam Test Program

          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 (dean.earley@ic ode.co.uk)
          i-Catcher Development Team

          iCode Systems

          Comment

          • D&JG

            #6
            Re: Exam Test Program


            "Grey" <grahame9@btint ernet.comwrote in message
            news:eemdnRHIip po8bjYRVny2w@bt .com...
            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.
            Купить ✔тележки ✔стеллажи гравитационные ✔контейнеры ✔скиды ✔стенды ✔верстаки ✔тара под заказ. Смарт Системы Набережные Челны. Доставка по РФ ☎ +7(960)070-48-94

            >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


            Comment

            • Grey

              #7
              Re: Exam Test Program


              "D&JG" <donandjane@opt usnet.com.auwro te in message
              news:452b7ef4$0 $2914$afc38c87@ news.optusnet.c om.au...
              >
              "Grey" <grahame9@btint ernet.comwrote in message
              news:eemdnRHIip po8bjYRVny2w@bt .com...
              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.
              Купить ✔тележки ✔стеллажи гравитационные ✔контейнеры ✔скиды ✔стенды ✔верстаки ✔тара под заказ. Смарт Системы Набережные Челны. Доставка по РФ ☎ +7(960)070-48-94

              >
              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


              Comment

              Working...