program cloze test question

program cloze test question

de moon moodle -
Número de respuestas: 3

How do I set up a program fill-in-the-blank question where students only need to input the missing code in the blank space without having to enter the complete program? I’ve looked at the documentation, but I can’t understand it. Could you give me a specific example? For instance, I have the following C++ program where students just need to fill in the missing code.


{     }
using namespace std;
int main(){
    {     }“hello,world!";
   return 0;
}

En respuesta a moon moodle

Re: program cloze test question

de Richard Lobb -
I've just added a couple of question prototypes and matching example programs for a C-gapfiller and a Cpp-gapfiller question to the unsupported question types folder in the repo.

Let me know if they work for you. Please be aware they have had negligible testing.


En respuesta a Richard Lobb

Re: program cloze test question

de moon moodle -
I encountered the following error when importing this question prototype; what could be the reason?
erro
En respuesta a moon moodle

Re: program cloze test question

de moon moodle -
It's working properly now. Earlier, I downloaded the file as an HTML file instead of an XML file. It should have been an XML file. Thank you very much!