Questions tagged [r-exams]

Questions related to the computer-based generation of exams (e.g., for classical written exams or e-learning platforms like Moodle) in particular with the R package "exams".

256 questions
2
votes
1 answer

Grading multiple choice and cloze questions created with exams2moodle()

I am using exams2moodle() from R/exams to create multiple choice and cloze questions in Moodle. Before preparing exams, I would like to be certain how Moodle computes grades. It seems to me that in multiple choice questions the default setting in…
user12703198
  • 423
  • 3
  • 11
2
votes
3 answers

How does exshuffle works in cloze questions (package `exams`)?

I would like to understand how does exsuffle works on cloze questions. Does it work with various schoice questions with a different number of possible answers? I expect to have the possible answers shuffled when presenting the exercises in Moodle.…
Sinval
  • 1,315
  • 1
  • 16
  • 25
2
votes
1 answer

True/false buttons for mchoice questions with exams2moodle

I am using R exams to create mchoice questions. I really would like to know if it's possible to obtain a "true" button and "false" button next to each statement with exams2moodle as in the following image:
user12703198
  • 423
  • 3
  • 11
2
votes
1 answer

Add an Intro page to exam in R/exams

I am using R/exams to generate Moodle exams (Thanks Achim and team). I would like to make an introductory page to set the scenario for the exam. Is there a way to do it? (Now, I am generating a schoice with answerlist blank.) Thanks! João Marôco
JPMD
  • 644
  • 1
  • 7
  • 19
2
votes
1 answer

Sharing a random CSV data set across exercises with exams2moodle()

I want to create a Moodle quiz with 300 random replications from 6 exercise templates using exams2moodle() from R/exams. The 6 exercise templates depend on a data set that is randomly generated as a CSV file from a larger data base in the first…
2
votes
1 answer

how to create a num question for Moodle with R/exams with partially correct answers

I want to use R/exams to create randomised Moodle questions. When I create - by hand - a num question in Moodle, I can add partially correct answers, for typical small mistakes, that I grade with 50%. I could not find something like that in R/exams.…
Matthias
  • 35
  • 3
2
votes
1 answer

Source R into chunk

I'm a new in exams so maybe this question is very newbie. I can't source external R-file (contains re-usable functions) into my .Rnw. MWE: functions.r: x <- 10 question.Rnw <>= source('functions.r') @ \begin{question} …
uzsolt
  • 5,832
  • 2
  • 20
  • 32
2
votes
1 answer

Changing the default punctuation of the questions in `exams2moodle()` function

I would like to generate a bunch of exams with schoice questions using the exams2moodle() function. Each question will have 4 alternative answers with one and only one TRUE answer. That's pretty normal but I would like to change the deafult…
pjperez
  • 425
  • 4
  • 9
2
votes
2 answers

How to comment inside a Rnw file with R exams

I would like to know if it is possible to make a comment inside an Rnw file exercise so that something can be completely ignored by both R and LaTeX. This would be useful for me to have some flexibility building exercises. In particular, I would…
user12703198
  • 423
  • 3
  • 11
2
votes
2 answers

How to use a LaTeX package with R/exams?

I am using exams2moodle() to create exam quizzes. I would like to use some math symbols which require the LaTeX package amssymb. How should I proceed?
user12703198
  • 423
  • 3
  • 11
2
votes
1 answer

How to display points per exercise when printing to pdf via `exams2pdf`?

Consider creating exams using the exams package in R. When using exams2nops there is a parameter showpoints that, when set to TRUE will show the points of each exercise. However, for exams2pdf this parameter is not available. How to display the…
Sebastian Sauer
  • 1,555
  • 15
  • 24
2
votes
1 answer

Is there a way to use LaTeX packages in the exams2canvas of R/exams?

I'm trying to setup up an exam using R/exams, using the function exams2canvas(). My questions contain LaTeX code that requires to use some packages (in particular tikz and tikz-qtree and a few other tikz libraries) but I cannot figure out how to…
Dieuwke
  • 53
  • 6
2
votes
2 answers

Adding skipped/ungraded open-ended questions

Is there a way to include open-ended/free-form questions that are ungraded or skipped by r-exams? Use case: we want to have an exam with mostly multiple choice questions using the package and its grading capability, but also have 5-10 open ended…
dthomas
  • 53
  • 4
2
votes
1 answer

How to use R-exams package to create a multi-part question?

Suppose I had an exam question such as "A car starting from rest accelerates to 26.82 m/s in 3.2 s. Compute the acceleration during this time. How far did the car travel in this time?" I'm new to R-exams package. In the past I've used MIT's "exam"…
NM Alien
  • 31
  • 1
2
votes
1 answer

how to insert more one single-choice questions in the same exercise

I would like to use the R package 'exams' with my class and do automatic correction through scanning. For this reason, I have decided to consider only single-choice questions. I would like to insert more than just one single-choice question in the…
user12703198
  • 423
  • 3
  • 11