Skip to content

Commit

Permalink
Merge pull request #5 from virtual-labs/testing
Browse files Browse the repository at this point in the history
Converted pre test and post test questions  from .js format to .json format and updated .yml file
  • Loading branch information
BalammaBoya authored May 17, 2021
2 parents 82fa7d3 + 0ba7c3e commit a6f9fa2
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 301 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deployment-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# The following job will pull phase3 lab management scipt and build the experiment
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '12'
check-latest: true
- run: |
git clone -b pipeline https://github.com/virtual-labs/ph3-lab-mgmt
cd ph3-lab-mgmt/ph3-beta-to-ui3.0-conv
make host-experiments
cd ../../
git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt
cd ph3-lab-mgmt
npm install
npm run build-exp
cd ../
git config --local user.email "admin@vlabs.ac.in"
git config --local user.name "vleadadmin"
git checkout --orphan gh-pages
Expand Down
143 changes: 0 additions & 143 deletions experiment/posttest.js

This file was deleted.

46 changes: 46 additions & 0 deletions experiment/posttest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[{
"question": "What is the colour change during titration with Na<sub>2</sub>S<sub>2</sub>O<sub>3</sub> before adding starch?",
"answers": {
"a": "Dark yellow to green",
"b": "Green to pale yellow",
"c": "Dark yellow to pale yellow",
"d": "None of the above"
},
"correctAnswer": "c"
}, {
"question": "What indicator is used during the titration ?",
"answers": {
"a": "Starch",
"b": "Phenolphthalein",
"c": "Methyl orange",
"d": "Methylene blue"
},
"correctAnswer": "a"
}, {
"question": "Select the correct statement.",
"answers": {
"a": "5 day BOD is the ultimate BOD",
"b": "5 day BOD is less than 4 day BOD keeping other conditions same",
"c": "5 day BOD is greater than 4 day BOD keeping other conditions same",
"d": "BOD does not depend on time"
},
"correctAnswer": "b"
}, {
"question": "High amount of dissolved oxygen in a lake indicate ",
"answers": {
"a": "High turbidity",
"b": "Less water quality",
"c": "Better water quality",
"d": "Excessive aquatic plant or algae blooms"
},
"correctAnswer": "c"
}, {
"question": "According to drinking water specification provided by IS 10500 (2012), what should be range of BOD of drinking water",
"answers": {
"a": "Greater than 2mg/l",
"b": "Greater then 1mg/l",
"c": "Less than 1mg/l",
"d": "None of the above"
},
"correctAnswer": "a"
}]
153 changes: 0 additions & 153 deletions experiment/pretest.js

This file was deleted.

Loading

0 comments on commit a6f9fa2

Please sign in to comment.