Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
298 views
in Technique[技术] by (71.8m points)

Can I give a different number of points to each `schoice` exercise in R `exams`?

How can I give a different number of points to each exercise in an exam produced with the exams package using the function exams2nops? I already created the exam, and my question is if I can use a vector of expoints when using the nops_eval function?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Points can be specified at various levels:

  • Within the exercise via the expoints tag. Default if no such tag: 1 point.
  • When creating the exam with exams2nops(..., points = ...) (or other exams2xyz interfaces). Default: Use points from the exercise.
  • In the evaluation of the exam via nops_eval(..., points = ...). Default: Use points from the exam.

Thus, the points specification is always called points except in the tag within the exercise where the ex prefix is added for all R/exams tags.

In the exam and the evaluation points can be a vector of different points for each exercise.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...