Good morning, this is Nishimura from QuizGenerator.
In this case.Create calculation problems at once with QuizGeneratorMethods.
Let's make a question file for QuizGenerator.
SCORMI thought about writing an article about how to make teaching materials of SCORM format, but it is quite difficult to make SCORM format teaching materials from scratch. So, this time, I'd like to try to generate QuizGenerator question files automatically.(If I made it from scratch, it wouldn't be appropriate for an article on this site.)
What is a calculation problem?
A calculation problem is one in which you are asked to answer the result of a mathematical equation, but we don't want to make it too complicated, so in this case we will use a problem in which two numbers are connected by one of the symbols +-✕. We will also adjust the difficulty level by specifying the range of the two numbers.
Create a function
Create a function that generates a calculation problem.
The function to make data for one question is called makeQuiz(min,max,op), and the function to make data for n questions is called makeQuizN(min,max,op,n).
The arguments of makeQuizN are as follows, respectively.
The code is as follows
Turn on the UI
Vue and React are very popular these days, but let's try jQuery.
Number of questions :
Let's go public!
You can use the created teaching material file in QuizGenerator'sconversion screenYou can upload and publish to
Sign me up for the learningBOX!
This time, I made one specializing in addition and multiplication, but since it is more convenient to have subtraction and division, I will make it include all four arithmetic operations. Also, since it's a calculation problem, I'm planning to make it so that you can choose not only a choice, but also a descriptive question. After that, I plan to write an article that is a little more similar to SCORM.
For the source code that we have created, please refer to the full version atGitHubPlease feel free to use it as it is open to the public.