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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now