/mcQuiz-tz-aes

Multiple-choice question-and-answer app

Primary LanguageCSS

mcQuiz LogomcQuiz-tz-aes

mcQuiz is a multiple-choice question-and-answer web app. This repository, mcQuiz-tz-aes, is a version that uses TeXZilla to render mathematics and Crypto.js to AES-encrypt the question-and-answer data. TeXZilla rendering of math expressions works only on Mozilla browsers (e.g., Firefox and Seamonkey).

A demo can be found at https://justineuro.github.io/mcQuiz-tz-aes.

Using as a Template

One can easily modify the available datasets by editing setDat-mc-tz-aes.js:

  1. Modify the 2nd and 3rd lines of setDat-mc-tz-aes.js (found inside the js folder under the main directory) to add more topics. Simply add entries to the data labels array (datList) and the topics array (topicsList).
  2. Add the additional AES-encryoted datasets at the bottom of setDat-mc-tz-aes.js as arrays.
  3. One may opt to randomize the questions by using the sort() and compare function. See the examples given at the end of each data array already in setDat-mc-tz-aes.js.

Acknowledgements

Special thanks to W3Schools for their tutorials on html, javascript, css, and bootstrap; Bootstrap, Inc. and Bootstrap Live Customizer for the green cerulean-derived style sheet themes; JS Foundation et al. for the jQuery 3.3.1 Javascript Library; Jeff Mott for Crypto.js v.3.2.1; Fred Wang for TeXZilla; Dave Gandy for the Font Awesome 4.7.0 icons; StackOverflow user:nico for the smoothScroll.js script, user:nico, user:paul-fournel and user:mtyson for their answers to how-do-i-make-javascript-beep from which coinBump.js is based; Simple sounds for the coin.ogg and bump.ogg answer audio; The Document Foundation for LibreOffice, Poppler Developers for pdftoppm and Dmitry Groshev, Mark Tyler, Xiaolin Wu et. al. for mtPaint, ImageMagick convert, ---these softwares were employed for generating the mcQuiz icon; Colomban Wendling, Nick Teleaven et al. for Geany 1.28 IDE. Much thanks, too, to the Debian Project for the Debian 8 (Jessie) GNU/Linux OS, and GitHub for its generosity in providing space for this project.

License

Creative Commons License
mcQuiz-tz-aes by Justine Leon A. Uro is licensed under a Creative Commons Attribution 4.0 International License.
Based on a work at https://github.com/justineuro/mcQuiz-tz-aes