When you add a random question to a quiz, this question is in fact choosen between all questions in a category of the question bank (what you call the "pile"). But in that case, the default mark of each question is not used at all. you set the mark for the random question on the page where you add question to the quiz.
May I add that if the random question was using the default mark of each choosen question I think it would be totally unfair to students attempting the quiz. I will try to explain why.
Imagine that in the category from wich the random question is choosen there are only 2 questions :
- question A has a default mark set to 1 and is rather easy
- question B has a default mark set to 3 and is more difficult
Maybe you are thinking "Well, after all it's justice if students that are requested to answer to question B get a greater "reward" for their response if it is right" don't you ?
But things are not so easy, because this random question is not alone in the quiz !!
To keep things simple, imagine the quiz contain just 2 questions : the random one, and another question (not a random one) that we will call C and that question C mark is set to 2.
Imagine now 2 students 1 and 2 attempting the quiz and that: student 1 must answer question A and student 2 must answer question B. then total of grades for student 1 = 1 + 2 = 3
and total of grades for student 2 = 3 + 2 = 5
So for sudent 1, question C account for 2/3 of his quiz grade, but for student 2 the same question C account for 2/5 of his quiz grade.
We are in the strange (and as I said very unfair IMHO) situation where giving the right response to same question C is not rewarded the same for all students.
So for me not using the question's default mark when these questions are part of a random question is the only sensible way.
Of course this imply that if you plan to use random questions in your quizes, when building your question bank, you must take care of only putting question having nearly the same difficulty level in each category that will be used for random questions.