Skip to content

Instantly share code, notes, and snippets.

@harshraj22
Last active July 3, 2020 11:41
Show Gist options
  • Save harshraj22/a27d09e557b140f511a978fc202cd56e to your computer and use it in GitHub Desktop.
Save harshraj22/a27d09e557b140f511a978fc202cd56e to your computer and use it in GitHub Desktop.

What's implemented:

Checks * MCQ type problems with 4 options and 1 correct answer.
* count of correct and wrong answer is kept in session.
* If user gives Wrong answer of any problem, next problem is of lower difficulty (randomly selected from set of problems of lower difficulty)
* If user gives correct answer, next problem is of higher difficulty (randomly selected)
* Timer is set using Javascript on frontend to automatically submit after fixed time.
* when user completes fixed number of questins, he/she is redirected to results page where his/her result is displayed (currently number of successful and wrong answers).
* No work for styling is done.

Screenshot from 2020-06-21 18-16-52

Updates:

  • Added Collecting POST Data ( send post request to 'localhost:8080/login/' with 'username', and 'backlink' )
  • user will be redirected to 'backlink' after displaying the result (once the test is over)
  • Each Quiz detail is saved on backend (date, name of user, correct, wrong)
Problems faced:
  • Redirecting using backlink with json data (still trying to figure out)

What's Implemented:

  • Worked on Fronted.
    • Worked on basic UI of Problems page (used some Js and Bootstrap)
    • Added few problems from here
    • Updated difficulty of added problems randomly.

Screenshot from 2020-06-23 17-27-51

What's Pending:

  • Math filters integration (to allow latex to be rendered on pages)
  • Assigning meaningful links in the header-of-website.

What's Implemented:

  • Finally added the latex support for math formulas.
  • Some minor work in frontend. Screenshot from 2020-07-03 02-12-59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment