I've been writing calculated simple questions for a Finance college course I'm teaching, and it's actually quite fun! Would be happy to share some things I've learned. They can help cut down cheating, and they are good for practice tests because students get different versions of the question each time.
Here's a sample. Items in curly brackets are wildcards. This one is for payback period for uneven cash flows.
"Given the following, what is the payback period? (Two decimal places.)
Year 0 | ${cf0} |
---|---|
Year 1 | ${cf1} |
Year 2 | ${cf2} |
Year 3 | ${cf3} |
Year 4 | $432 |
Year 5 | $521 |
For this one, I had to have ranges for cf0 to cf3 wildcards that would place payback sometime in year two. Here's the correct answer formula
2+(({cf0}*-1)-({cf1}+{cf2}))/(({cf1}+{cf2}+{cf3})-({cf1}+{cf2}))
Anyway, be great if there were others who want to discuss these types of questions.
One tip - present / future value questions were really hard to figure out at first, as I still don't know how Moodle handles exponents. Just use present/future value interest factors, and it becomes much easier. True, you can't change the rate for every student, but you can still change the discounted/compounding cash flows.