Skip to content

Commit

Permalink
Merge pull request #5 from virtual-labs/testing
Browse files Browse the repository at this point in the history
Migrated pretest and posttest questions from **".js"** format to **."json"** format and updated .yml file.
  • Loading branch information
BalammaBoya authored Apr 25, 2021
2 parents bfbd8b7 + d48c2d1 commit 6c4143b
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 385 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployment-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
node-version: '12'
check-latest: true
- run: |
git clone https://github.com/virtual-labs/ph3-lab-mgmt
git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt
cd ph3-lab-mgmt
npm install
node exp.js
npm run build-exp
cd ../
git config --local user.email "admin@vlabs.ac.in"
git config --local user.name "vleadadmin"
Expand Down
200 changes: 0 additions & 200 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": "1. Algorithm used for converting time series EEG data to power spectral density:",
"answers": {
"a": "ICA",
"b": "Bandpass filter",
"c": "IR filter",
"d": "FFT"
},
"correctAnswer": "d"
}, {
"question": "2. Power spectrum density indicates:",
"answers": {
"a": "Power distribution of EEG data series in time domain",
"b": "Power distribution of EEG series in the frequency domain",
"c": "Coherence of EEG series",
"d": "None of the above"
},
"correctAnswer": "b"
}, {
"question": "3. Unit for PSD measurement in EEG data:",
"answers": {
"a": "µVolts square per dB",
"b": " µVolts sqaure per Hz",
"c": "Volts sqaure per sec",
"d": "µVolts"
},
"correctAnswer": "b"
}, {
"question": "4. Which of the following is a real function of frequency ?",
"answers": {
"a": "PSD",
"b": "FFT",
"c": "PCA",
"d": "None of the above"
},
"correctAnswer": "a"
}, {
"question": "5. Power spectrum density method used for feature extraction of raw EEG signal",
"answers": {
"a": "Welch’s Method",
"b": "K-nearest neighbors classifier",
"c": "Bartlett method",
"d": "None of the above"
},
"correctAnswer": "a"
}]
Loading

0 comments on commit 6c4143b

Please sign in to comment.