H
H
Helo89892021-04-05 13:34:59
Java
Helo8989, 2021-04-05 13:34:59

How to implement a page for testing students?

There is a web application for the school, the back is written in java, spring, the front is in vue js, ccs, html. Website like a business card. It is necessary to attach a service for testing students to it, with the ability to enter the personal account for the student and teacher separately. Please tell me the best way to implement this. Especially how best to make the logic of processing responses and their subsequent verification?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
cicatrix, 2021-04-05
@cicatrix

Painfully rich theme for fantasies.
What exactly is causing the problem? It seems that the design is quite straightforward -
a table of questions, a table of answers, a table of test options. Assigning a variant to a student, from the LC a request for a test with questions, a return request forwards the answers. On the server side, it checks correctly/incorrectly.

O
Orkhan, 2021-04-05
Hasanly @azerphoenix

Hello!
Firstly, it is not clear to what extent you have currently implemented the current Spring application.

Website like a business card.

And in general, it’s strange that if this is just a business card site, then why was it written in Spring + VueJS. There corny CMS WordPress is more than enough. Well, in a pinch, you could take a PHP framework (Yii2, Laravel) - it would be cheaper for the school)
It is necessary to attach a service for testing students to it, with the ability to enter the personal account for the student and teacher separately.

1) Endpoints for the LC of the teacher and the student must be different.
2) The authentication endpoints of the teacher and the student can also be made different.
3) Testing is different. First you need to figure out what kind of testing you need and how it can be implemented.
For example, there is testing in which the correctness of the selected answer is checked. Those. the user has chosen the answer "a" and, accordingly, we check the correct answer stored in the database. This test can be complicated by the fact that each time you take the test, change the answers in places so that students do not remember the answers by letter.
Another type of testing, when each answer is assigned a certain score. Next, the accumulated amount is calculated and a certain result is given to him (often found in psychological tests).
Another type of testing, when the number of selected answers of option "A", "B", etc. is checked. Those. the user selected "A" - 5 times, "B" - 2 times. And if, for example, A < 5 and B > 2, then we return one result, otherwise another, etc.
4)
Especially how best to make the logic of processing responses and their subsequent verification?

For example, as the test passes, we form an array of answers and write them to LS so as not to lose data if something happens. Then, by submitting "send for verification", we send the array to the server and sorting through the answers, we compare them with the values ​​in the database. If it is possible to change the answer option for a particular question, then when changing the answer, we make changes to the array and save LS.
How to implement a page for testing students?

In general, as for me, there is more work with the front than with the back.
In fact, there are many nuances that need to be clarified. For example, should tests be divided into topics or categories? How many tests are there in total and how many of them are given to the client? How to correctly form the entities of users, tests, topics, etc.?
Or try to look for ready-made solutions that you can then embed into the site. True, not the best solution.
For example, https://www.classmarker.com/online-testing/how-to-...
https://quiz.proprofs.com/how-do-i-embed-a-quiz-on...
https ://www.riddle.com/blog/embed-online-quizzes-site/
Google
In general, it all depends on your programming skills, budget, deadlines, etc.
The fastest solution is probably to use a CMS with ready-made plugins.
For example, WordPress + plugins
https://ru.wordpress.org/plugins/quiz-master-next/
https://ru.wordpress.org/plugins/wp-quiz/
https://www.wpbeginner.com/showcase /best-quiz-plug...
https://en.wordpress.org/plugins/hd-quiz/
https://en.wordpress.org/plugins/quiz-maker/
Google
More data needed for a more objective answer.

S
Sergey Maslennikov, 2021-04-05
@SOM4

I think that the word "fasten" refers to something existing. :) I don't know such "services" yet.
A couple of weeks ago I got acquainted with Google Forms in conjunction with Google Sheets. I was interested in the possibility of creating simple questionnaires (like "LandigPage"). If you master programming in the built-in AppsScript language (I recommend starting with this article ), then I think you will be able to "fasten" your "questionnaires" yourself.

A
acwartz, 2021-04-05
@acwartz

Well, simply, in the header the login button for the student / for the teacher. Although teachers are generally let in through the back entrance, so that students generally do not dig into this form of entry.
Further authorization, the same jwt token.

Especially how best to make the logic of processing responses and their subsequent verification?

Postponed :) The students answered and the teacher then checks. No "this is true / this is not true" right away, otherwise they will sort through and rake out the correct answers. We are a group of 30 bodies and did just that. Each was given 3 attempts, from the third all suddenly excellent students became.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question