program cloze test question

program cloze test question

de către moon moodle-
Număr de răspunsuri: 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;
}

Ca răspuns la moon moodle

Re: program cloze test question

de către 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.


Ca răspuns la Richard Lobb

Re: program cloze test question

de către moon moodle-
I encountered the following error when importing this question prototype; what could be the reason?
erro
Ca răspuns la moon moodle

Re: program cloze test question

de către 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!