chagri / gre-RC-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RC_Practice_Utility

Run the file RC.html to start using the utiliy.

The utility takes an indexed array with the reading comprehensions and the respective questions and answers. The following is the format of the array.

data[passage_index][0]=passage data
data[passage_index][1]=Questions (Array)
data[passage_index][1][Question_index][0]=Question
data[passage_index][1][Question_index][1]=Answer
data[passage_index][1][Question_index][2]=Option1
data[passage_index][1][Question_index][3]=Option2
data[passage_index][1][Question_index][..]=Option..
data[passage_index][1][Question_index][..]=Option..
data[passage_index][1][Question_index][N]=OptionN

See the data.js file for example data format. Make sure to replace the data.js file with your data file (or edit RC.html to point to your data file)

<script src="data.js" type="text/javascript" charset="utf-8"></script>

About


Languages

Language:HTML 85.2%Language:JavaScript 14.8%