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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: and…

756 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