back to contents ...

Inserting data from a text file

How to insert data from a text file into a Q&A-list.

This advanced feature is useful if you already have a list of questions and answers in a text file format, or you just prefer to enter all the data using a text editor (such as Notepad).

Text File Format.

In order for Quiz-Buddy to insert data from your text file, the questions and answers should be presented in the following format:

<question-1> @ <answer-1> @ <wrong answer-1-1> @ <wrong answer-1-2> ... @ <wrong answer-1-N1>

<question-2> @ <answer-2> @ <wrong answer-2-1> @ <wrong answer-2-2> ... @ <wrong answer-2-N2>

.............................

<question-10> @ <answer-10> @ <wrong answer-10-1> @ <wrong answer-10-2> ... @ <wrong answer-10-N10>

.............................

For example, the first ten numbers in Portuguese will look like this:

one @um

two @dois

three @três

four @quatro

five @cinco

six@seis

seven @sete

eight @oito

nine @nove

ten @dez

There is no upper limit to the number of Q&A-pairs.

You could also add some optional predefined wrong answers:

one @um @ uno @sete

two @dois @ cinco

three @três

four @quatro

five @cinco

six@seis @ nove

seven @sete

eight @oito

nine @nove

ten @dez

Save the file as a .txt file in the ...\Quiz-Buddy\text\ folder.

Most likely you have installed the program in "c:\Program Files\Quiz-Buddy", in this case the location of the .txt file should be "c:\Program Files\Quiz-Buddy\text\".

You can name your file MyList1.txt, MyList2.txt, etc. Or, you can use a more descriptive name, such as Port101exam3.txt

Inserting data.

In the Q&A-list Editor go to "File" > "Insert from a text-file". Select the Q&A-list text file that you want to import and click 'open'.

Provided that the text file was in the right format, it will be imported and all the entries will be added to the current Q&A-list.



AddThis Social Bookmark Button

RSS:
Copyright © 2002-2016, Sierra Vista Software. All Rights Reserved.