shuffle sentences

Posted on 2001-08-09
Last Modified: 2008-01-16
i would like to use vbscript to do the following

i have a text and i want to perform a shuffle test on it

this is what will happen

the first 10 sentences of the text (sentences are delimeted by ". " "! " or "? ") are placed into 10 drop down menus

then the user must rearrange the ten drop down menus to recreate the text

the following would be nice

- if there are less than 10 sentences then on that number of drop down menus appear

- the order of the sentences in each drop down menu should not be as they appear in the text (this would eliminate option one of the drop down being answer one, option two of the drop down being answer two etc ...)

users are told what sentences they got in the correct position and also if they got any sequences correct

original text

sent 1. sent 2. sent 3. sent 4. sent 5. sent 6. sent 7.

users guess

sent 1. sent 2. sent 4. sent 5. sent 6. sent 3. sent 7.

sent 1.
sent 2.
sent 7.

sent 3.
sent 5.
sent 6.


Question by:amoran
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

fruey earned 300 total points
ID: 6371774
This is totally possible. I think the reason you haven't had a response yet is because you're trying to get the Experts to solve the whole problem for you and write the code. This forum isn't really for that. It won't help you learn ASP either.

Have you tried yourself? Have you at least looked at the logic behind it?

1) Get the 10 sentences
(are you reading them from a text file / a database?)
- reading text from a file/database

2) Swap their order around randomly
- arrays / sorting or similar

3) Display them in drop downs
- good knowledge of HTML forms
- arrays again

4) Parsing of the selection
- retrieving form data
- sending result analysis

This task is not difficult but the code could be long and will take some time to get working properly.

So, are you a novice and hoping we're going to write it for you (that probably won't happen) or do you have code somewhere that doesn't work which we can help you with (that's what we like doing)


Expert Comment

ID: 6871112

Question(s) below appears to have been abandoned. Your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question. Again, please comment to advise the other participants why you wish to do this.

For special handling needs, please post a zero point question in the link below and include the question QID/link(s) that it regards.
Please click the Help Desk link on the left for Member Guidelines, Member Agreement and the Question/Answer process.

Please click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues, to track all your open and locked questions at this site.  If you are an EE Pro user, use the Power Search option to find them.

To view your open questions, please click the following link(s) and keep them all current with updates.

To view your locked questions, please click the following link(s) and evaluate the proposed answer.

------------>  EXPERTS:  Please leave any comments regarding your closing recommendations if this item remains inactive another seven (7) days.  Also, if you are interested in the cleanup effort, please click this link
Thank you everyone.
Moderator @ Experts Exchange

P.S.  For any year 2000 questions, special attention is needed to ensure the first correct response is awarded, since they are not in the comment date order, but rather in Member ID order.

Expert Comment

ID: 6957869
Admin notified of User neglect. Force-accepted by
CS Moderator

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP Classic Query that needs to display more information 18 49
VB script help 23 50
JQuery on multiple lines 3 49
Split on ASP 8 53
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question