+ Reply to Thread
Results 1 to 2 of 2

Best application/way to cover this requirement (Randomized test creation) ?

  1. #1
    Registered User
    Join Date
    09-26-2016
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    1

    Question Best application/way to cover this requirement (Randomized test creation) ?

    Hi lads,

    I have the following data and requirement :

    * List of questions, each of them assigned to 5 propositions, only certain of them being valid.
    * Requirement : Being able to provide the user with a sample of, say, 30 questions along with their propositions (hidding the valid ones) to create a randomized test that the use can take. He/she would then pick the suggestions. At the end of the test, the system would provide a result, highlighting the wrong suggestions.

    My question would then be : Is this something achievable using Excel, or are we directly looking towards Access ? I'm not familiar with the capabilities of Excel regarding this kind of requirement. Should this be possible in Excel, could you provide me with a high level description of the method I should follow to get there ?

    Thanks !

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Best application/way to cover this requirement (Randomized test creation) ?

    Quick question, can you confirm what you mean by "along with their propositions (hidding the valid ones)"

    Are you looking to randomly produce 30 questions from a list of say 100 questions and display the question and all 5 propositions and the user has to select the correct proposition?

    If so then I would create a hidden sheet with 7 columns in as follows:
    A - The question
    B through to F the Propositions (one per column)
    G the number of the correct answer eg if the correct proposition for Q1 was in column B then it would be 1, column F would be 5 etc

    For the purpose of this example we'll assume theres 100 questions in your "bank"

    1. I would have VBA code to loop 30 times, each time selecting a random number between 1 and 100,
    2. you'll then need to check that the number hadnt already been picked, you could do this by either adding new numbers into an array or marking an additional column with an indicator to show the question has been chosen already. So you loop through those items to see if any match this question number, if so, you pick another random number and do it all again until you get one that hasnt been picked.
    3. Copy the details of that row into your "question" sheet (minus column G of course), include in there the row number of the question.

    That will set up your questionnaire.

    To run the questionnaire theres a number of different ways you can do it, for example have the user enter the number of the correct answer into a later column of the question or (as I prefer) have them click the cell and use an On_Click event to register which cell was chosen (this can then put the relevant column number into a hidden cell as if theyd typed it in)

    have a "Completed" button that when clicked checks each of the values in that column against the relevant row in the Questions sheet to see if the two answers match and output the score.
    If someone has helped you then please add to their Reputation

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Test if Application has focus
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-16-2014, 01:21 PM
  2. creation of excel report with new requirement
    By Javed Ali Sayed in forum Excel General
    Replies: 6
    Last Post: 09-07-2014, 11:30 PM
  3. [SOLVED] Application creation query
    By AndyE in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2013, 03:33 PM
  4. Excel file creation dates do not match the windows creation date.
    By alexthapyro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2011, 12:14 PM
  5. application inputbox. I test value entered by user.....regardless of value prgm ends
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2011, 03:23 PM
  6. How can I run an F-Test Application?
    By jdubyac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2011, 04:20 AM
  7. Pull sub-test scores from test w/best overall test score (PSAT)
    By PowerSchoolDude in forum Excel General
    Replies: 0
    Last Post: 11-19-2009, 08:29 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1