By Tristan Robinson ( as part of an ELDG project)
Generate a Moodle question bank using the Maths Quiz GUI
...
- The interface will open. To browse click on the tab with the three dots and navigate to the folder with the Excel question sheets. Click on OK.
- Upon recognising the directory, some of the drop down menus on the GUI will become active and display information.
- The Database (.xls or.xlsx) dropdown shows all the Excel workbooks (.xls or .xlsx) present in the selected folder. The names of the workbooks take the form of function_Qalgebra, function_Qcalculus and etc. The programme will only run with pre-defined workbooks.
- Click on one question bank workbook. The name will appear in the Selected database edit box and the worksheets will be shown in the Worksheet listbox.
- Click one worksheet and then click on select. The list of questions will appear in the List of equations drop down.
- Select the desired questions – you can use the ctrl or shift tab on your keyboard.
- Select the type of question (multichoice, algebra or numerical) to generate. Not all options will be available – this is dependent on selected worksheet.
- A default output name is given in Name of output file – an alternative name can be specified.
- Click on xml to generate the question bank.
- The output Moodle XML file is generated in the directory containing the Excel databases.
...
- Once the Moodle XML file has been created it can then be imported onto Moodle https://moodle.ucl.ac.uk/
- Turn editing on button below the UCL logo on the right hand side of the page.
- Then on the left hand side of your Moodle click on the settings tab and scroll down to Question bank and then click on Import.
- On the opened page select Moodle XML under file forma
- Next under import questions from file click on the tab choose a file. On clicking on this tab a new window should open. Click on Upload a file, then click on the Choose file tab and then browse for the directory contain XML quiz file. Click on open and then click on upload this file to return back to the main screen.
- You should now notice that the file has been attached with the name displaying under the choose a file tab. Finally click on import
- All the question have now been imported into Moodle's question bank ready to be used in your Quiz. You will notice that Moodle has saved your quiz under with the same name as that of the Moodle XML file.
...
A. Name: Name given to the particular type of question
B. Tex: Mathematical equation written in TEX syntax
F. dp: Decimal accuracy
G. Q: Links to the Qtext file (text for each question)
H. Hint1: Links to the Qtext file (hints for each question)
I. Hint2: Links to the Qtext file (hints for each question)
J. Level: Level of difficulty of the question: 0 = GCSE, 5 = A-level, 10 = 1st year and 20 = 2nd year
K. Source: Question reference
- Non-generic columns
Algebra
01expand
02factorise
03simplify
04solveage
05solvetrig
06val
C
Function
Function
Function
Function
Function
Function
D
Sym
Sym
Sym
Var
Var
Var
E
NaN
NaN
NaN
NaN
Range
Val
A. Function: Mathematical expressions or function (use Matlab maths syntax)
B. Sym: Symbols that are found in the algebraic expressions
C. Var: Variable that is to be solved in the algebraic expressions
D. Range: Range of the algebraic/trigonometric functions
Calculus |
|
|
|
|
|
|
| |
---|---|---|---|---|---|---|---|---|
| 01diff-alg | 02diff-trig | 03Integration | 04Int-trig | 05Series | 06Parametric | 07Lieibiniz |
|
C | Function | Function | Function | Function | Function | Function 1 | Function 1 |
|
D | w.r.t | w.r.t | w.r.t | w.r.t | Var | Function 2 | Function 2 |
|
E | NaN | NaN | Limits | Limits | Point | w.r.t | w.r.t |
|
A. Function, Function 1, Function 2: Mathematical expressions or function (use Matlab syntax)
B. w.r.t: Variable used to differentiation/integration
C. Limits: Limits of integration (can use symbol, pi and inf)
D. var: Variables used in series integration
...
Complex
...
...
...
...
...
...
...
...
...
...
...
...
01simplify
...
02Solve
...
03car2pol
...
04pol2car
...
05exp2car
...
06exp2pol
...
08Arg
...
09conj
...
10mod
...
Irparts
...
C
...
Function
...
Function
...
Function
...
Function 1
...
Function
...
Function
...
Function
...
Function
...
Function
...
Function
...
D
...
Sym
...
Sym
...
Sym
...
Function 2
...
Sym
...
Sym
...
Sym
...
Sym
...
Sym
...
Sym
...
E
...
NaN
...
NaN
...
Angle
...
NaN
...
NaN
...
Angle
...
Angle
...
NaN
...
NaN
...
A. Function: Mathematical expressions or function, written Matlab format.
B. Function 1, Function 2: Are used to separate the two mathematical expressions.
C. sym: Complex number symbol (either i or j)
D. Angle: Radians (rad) or degrees (deg)
E. R/I: Real (real) or imaginary (imag)
...
Partial Fractions
...
...
...
Partial Fractions
...
C
...
Numerator
...
D
...
Denominator
...
E
...
Sym
...
A. Numerator: Allows expressing the mathematical expression or functioning individually under different columns as numerator and denominator
B. Denominator: Allows expressing the mathematical expression or functioning individually under different columns as numerator and denominator
C. sym: specifies what symbol is being used in each fraction
...
Matrix
...
...
...
...
...
...
...
...
...
Operation
...
Multiplication
...
Inverse
...
Determinant
...
SolvDetx
...
SolvDety
...
SolvDetz
...
...
C
...
Mat1
...
Mat1
...
Mat
...
Mat
...
Mat
...
Mat
...
Mat
...
...
D
...
Mat2
...
Mat2
...
NaN
...
NaN
...
NaN
...
NaN
...
NaN
...
...
E
...
Type
...
Type
...
NaN
...
NaN
...
NaN
...
NaN
...
NaN
A. Mat: specifies and defines the matrix array in Matlab syntax
B. Mat1, Mat2: specifies two matrices so that operations such as matrix addition, subtraction and multiplication can be carried out
C. Type: highlights the operation to be carried out whether addition subtraction or multiplication
D. NaN: Means not a number and is used to ignore the data in certain columns
...