Jeff2869 Posted November 26, 2010 Posted November 26, 2010 Hi - just found this forum and I think its going to be a great help to me: Thanks in advance! I'm a maths teacher and at the start of the term I set up our school's VLE using Moodle and the more I play with it, the more I like it! Anyway, here's my question: I've found out how to use (say) {a} to generate a random number in a calculated question, but can I combine several random numbers to create another number in the question? For example, lets say a want to make a division question where the answer will always be an integer. To do this, I would take two numbers, say a and b, multiply them together and the question becomes axb divided by a, giving the answer b. This is how I tried to set up a Moodle Calculated question: {a}*{b} divided by {a} [lets say a=3 b = 4] but it displays as; 3*4 divided by 3 not: 12 divided by 3 (which is what I want it to say) Any help gratefully received! Jeff
secretlife Posted November 26, 2010 Posted November 26, 2010 Hi there! I'm not a maths type person but have you looked at the Moodle.org documentation here? Calculated question type - MoodleDocs
Jeff2869 Posted November 26, 2010 Author Posted November 26, 2010 Thanks for that - I've had a look at MoodleDocs but it doesn't help. I fear that it might not be possible to do what I want to do, which would be a real shame.
secretlife Posted November 26, 2010 Posted November 26, 2010 Ok well if you have looked in the docs and they don't help then have you tried asking the Moodle maths experts in the forums? Try this forum first Quiz module 1
Jeff2869 Posted November 26, 2010 Author Posted November 26, 2010 Thanks - I'll head over there tomorrow (time for bed now I think!) and see if they can help. Thanks again! Jeff
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now