Skip to content

Commit c3a3325

Browse files
author
BalammaBoya
authored
Merge pull request #5 from virtual-labs/testing
Converted pre test and post test questions from .js format to .json format and updated .yml file
2 parents deebddf + ee2035e commit c3a3325

File tree

5 files changed

+102
-287
lines changed

5 files changed

+102
-287
lines changed

.github/workflows/deployment-script.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,17 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
# The following job will pull phase3 lab management scipt and build the experiment
15+
- name: Setup node
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: '12'
19+
check-latest: true
1620
- run: |
17-
git clone -b pipeline https://github.com/virtual-labs/ph3-lab-mgmt
18-
cd ph3-lab-mgmt/ph3-beta-to-ui3.0-conv
19-
make host-experiments
20-
cd ../../
21+
git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt
22+
cd ph3-lab-mgmt
23+
npm install
24+
npm run build-exp
25+
cd ../
2126
git config --local user.email "admin@vlabs.ac.in"
2227
git config --local user.name "vleadadmin"
2328
git checkout --orphan gh-pages

experiment/posttest.js

Lines changed: 0 additions & 141 deletions
This file was deleted.

experiment/posttest.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
[{
2+
"question": "What is the H+ ion concentration in pure water?",
3+
"answers": {
4+
"a": "1 x 10<sup>-7</sup>m",
5+
"b": "1 x 10<sup>+7</sup>m",
6+
"c": "1 x 10<sup>-14</sup>m",
7+
"d": "1 x 10<sup>14</sup>m"
8+
},
9+
"correctAnswer": "a"
10+
}, {
11+
"question": "Buffers are mixtures of ",
12+
"answers": {
13+
"a": "Strong acid and strong base",
14+
"b": "Strong acid and weak base",
15+
"c": "Weak acid and their conjugate base",
16+
"d": "Weak base and their conjugate acid"
17+
},
18+
"correctAnswer": "c"
19+
}, {
20+
"question": "As the pKa of an acid increases, the acid will be ",
21+
"answers": {
22+
"a": "More weaker",
23+
"b": "More stronger",
24+
"c": "Converted to neutral solution",
25+
"d": "Converted to basic solution"
26+
},
27+
"correctAnswer": "a"
28+
}, {
29+
"question": "Normal pH of blood is ",
30+
"answers": {
31+
"a": "6.8",
32+
"b": "7.0",
33+
"c": "7.2",
34+
"d": "7.5"
35+
},
36+
"correctAnswer": "b"
37+
}, {
38+
"question": "Which of the following has least pH value? ",
39+
"answers": {
40+
"a": "HI",
41+
"b": "HNO<sub>3</sub>",
42+
"c": "HBr",
43+
"d": "HCl"
44+
},
45+
"correctAnswer": "d"
46+
}]

experiment/pretest.js

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)