I want to conduct an C++ programming test online for my students..
Can some one guide me in it ? Is it possible ?
I want to conduct an C++ programming test online for my students..
Can some one guide me in it ? Is it possible ?
It would help to know more about what specific problems you are having.
For me, there are a few, not so elegant, tricks I learned when designing a quiz for programming languages. In my case, it is HTML:
1) Sometimes the code will be interpreted by Moodle and HTML tags would not show until I placed a space in the tag. The code for header 1 would work if shown as < h1>. However, I had to explain this to the students least they debate the use of the space.
2) In a "What is wrong with the following code" type question, students would copy/paste and let the computer to check the code instead. I used the MS Snipping Tool to create a pic of the code and it was embedded into the quiz question. This would also cure the problem in the previous trick.
3) When it came to students submitting code for an answer, I opened an assignment resource to have them send in their work as a txt file. If they used the answer block in the quiz, sometimes Moodle would interpret the code in the answer and mess up the student response.
Maybe a pointer or two here may help.
I want to give my students a set of programing questions and students can answer it as programs..
but i want to conduct it in my college and vpl requires linux os
Thanks!!! That's really good!
I (we) still need more development here. Have you designed a quiz before and am having problem designing this type or is this your first quiz?
Do you have a list to import and wonder about the structure?
What type of questions?
Are you going to give a word problem for them to design a code solution?
Will it be "What is wrong with the following code"?
Multiple choice? True false? etc?
Since I (we) don't know which applies to your situation, it is not easy answer.
i want to do these
1.Give a word problem for them to design a code solution
2."What is wrong with the following code"
Both of these.. Can you please guide me in these ?
This is a start but I need to know if this is the first quiz you have done in Moodle? This in itself can be a daunting task. If this is you first try, then most of us will probably give suggestions that will swamp you thinking you are experienced. If you have done many a quiz, then we might annoy you with tedious facts in how to approach your first one.
If you have done a fair share of quiz assessments, then what have you tried? What has failed? We can easily work from there.
It may well be that a structured quiz may not be such a good approach. They do have their limits. At the moment, I would consider creating an assignment with one submission allowed. The description, or down loadable doc, can be the quiz you wish to give while a document/answers is their submission.
The assignment can be very well restricted for time and date in showing the exam and limiting the time slot for performance and hand in. Maybe the quiz structure in Moodle may not be a viable resource for this one.
The more clear and definite you make your question, the easier it is for someone here to answer.
This is the first quiz i'm going to conduct ..
To understand the Moodle Quiz, if you can, find someone locally who already knows it to be a teacher. (-: Considering how long it took for me to set up my own quiz bank, I would suggest a different approach to start.
For me: I planned to import all of the assessments that came from the book and to import them into Moodle. There was so much to learn about typographical errors, syntax, structure and import types that I struggled for three months to get to the first workable quiz. In the process I discovered a technique to identify which question was on the screen after shuffling them. This way, if a student pointed out an error, I could find it quickly. This proved well worth its work as I had many that first year.
Even now, it is a challenge for me to design a new one. I don't want to scare you off but I think you would prefer to know what you might me in for. OTOH, there are a lot of others here that could be of better service than I.
I don't know what you schedule is but I have three weeks until the first day of class and I would never try to build a Moodle quiz in that time especially my first.
I would suggest that for now, design a paper test then digitize it into Moodle as a first step. Write it up as if you were going to print it out to collect papers to grade. Instead of printing it, place it as a description or attachment in Moodle. Students will log into Moodle to see the exam and perform the tasks. They will do their work on an editor such as MS Word and submit the document as a file in to the assignment. It may be a bit challenging to do all on one screen but they can manage it. If it is to be done on a small screen environment that all this will take some rethinking. You should consider if you want them to answer the question or to compile their responses to see if it works.
You can, however, start designing the assessment for next semester and have plenty of time to get it working. As I said earlier, for me Moodle had issues with HTML code and I had to develop a few tricks to get through them. I am sure that there are Moodle conflicts with C++ although probably not as many. Still, there is a learning curve here that may not allow finishing in less than three weeks.
To get to know Moodle Quiz, you might design a simple, playful quiz just to get the idea of how each part or type works. Setting points for responses can be a challenge and verifying your answers may well be too. Also, you are going to have to teach the students how to take the quiz too.
I thought I saw a tutorial on it. It might have been on Youtube. Here is one that I just found: (https://moodle.org/mod/forum/discuss.php?d=121459) It may be dated a bit but could help.
Here is one on YouTube. (
Here is one that shows how to create the quiz bank.
I have not watched any of these so I cannot evaluate them. It may take many views of the set to get to your first token exam. It can be very confusing just to know the vocabulary
Maybe someone will chime on a better prospectus than what I tried here. Once you have something started, it will be a lot easier to ask questions and for us to help you.
I hope some of this helps.
Try to not be scared off by this. It can work.
had a think about this.
The answer is no. However, Al's suggestion (link-again below) sounds close to what you may be seeking
virtual programming lab https://moodle.org/plugins/view.php?plugin=mod_vpl
I found this too:
the reason I post this link is because I think the words test and to practice are not always interchangeable...it seems to me you want students to practice what they know as some form of test-not answer questions about what they know-and test them that way....others may know of a moodle feature that meets this criteria-if this is what you mean.
It seems that many people think of helpful Moodlers as mind readers (among many other attributes) This is surely one case in which we would actually like having the so-much-requested "feature": "how can I grade, know that my students have read or viewed some material?"
How much time would be saved if people read the Site Policies!
"How much time would be saved if people read the Site Policies!
GM) I have looked at the documents but they tend to be uninviting especially for the use of light orange text on white. As I have commented (complained) about the gray plague making text and/or icons practically invisible it goes the same for colors of font. What would it take to have the creators of these policies to at least use a darker orange?
Hello to all,
for the original post-er (first one) how about a fresh start, in terms of conveying what you mean exactly, tis tricky to map what you want from this:
C++ programming test online for my students... course the main principle is clear, but how about laying out for us exactly what it is you are planning/hoping to do? Sounds like something outside the quiz feature-as it stands?
Steve....it is not useful or helpful to egg him on-really! LOL!
As i said earlier , i want to give my students
i) A word problem for which they would desing a code and
ii) What's wrong in this code.
I wish to conduct these type of test .
I cannot but agree about the newer look both in the editor icons and that of the policies page. Ironic, isn't it? The former with only light gray icons and the latter with three orange tones. Regarding the use of color in this site, I would definitely differenciate glossary link vs. regular link colors.
To that complain I would also add that the original policy page (the previous one) had a table of contents that allowed one to emphasize a particular issue by referencing the corresponding link.
I would love to know what the infestation is that is driving this effort to make the internet less and less readable. I can only imagine that it is someone tucked away in a climate and lighting controlled room who is making all these decisions. It is probably someone with 20-20 eyesight and has access to a super High-Def monitor and cannot realize that the rest of the world (normal people) needs to use this stuff. We need to stand up to this.
From here, I would like to quote Churchill: "What kind of a people do they think we are? Do they not realize that we will never cease to persevere against them until they have been taught a lesson which they, and the world, will never forget." What do you think, can the two of us do it?
Wouldn't it be great?
For one, all those sites with nano-sized letters that look like the footsteps of ants or those that not only use a black background but that lack any constrast would instantly disappear!
I guess the answer would be that they think that we are the ones without power, which given the way things are and go, woud essentially be correct.
In addition to mod_vlp, which has already been mentioned, there is qtype_coderunner, which lets you ask automatically graded programming questions in a Moodle quiz. Not sure if it does C++ yet, but if not, it is extensible.
I think almost anything like this is likely to require Linux on the server-side, because of the need to launch processed like compilers, and run things in sandboxes. That is just so much easier to do from PHP in Linux. If necessary, could you set up a separate server specifically for these programming tests? You could at least set up a Linux VM and make a tests install to try things out, so you can decide whether it is worth taking things further.
Sir, could you more explain me about installing compilers in online server etc..
And also could you guide me installing code runner in my moodle..
I host my web thought an online web hosting service..
Hello there. If you'd like to talk about installing code runner or compilers, would you like to start a new thread elsewhere please so we can keep this forum for teaching-related queries only? Sorry for the short response but I am in a French campsite with extremely poor wifi and I am having to be economic with my words and time..
Running code runner is an teaching related discussion only mam
awwww Mary-you are on hols!!!!!!!
French camp-site sounds fun! Enjoy your break eh!
Helen is here-we are in safe hands ;)
Regarding the installation of compilers, that is not a Moodle issue, then you need to do some Duckduckgoing (or Googling if you may):
About CodeRunner, the instructions are at the page Tim referenced; did you read it?
I had a look at it .. but I'm not clear with the instructions .. that's why asked someone to guide me.. could you please ?
it is late here in the UK, but I have an itch I cannot scratch about your posts-I will aim to try and help-when I get time...if others do not get in before me.
My itch is about you addressing people here as Sir-you really do not have to do this. This is an English Language forum and that means Sir has cultural connotations...your posts are valid and helpful just as much as the value you gain from others here.
That said, if you are comfortable with addressing peeps like that-no problem...but Sir does suggest in UK culture...one seeking support from some sort of superior person-THIS IS NOT THE CASE HERE.
Hope you get the prob solved-I will keep an eye-in order to help you too.
Here in the southern part of the US, calling someone you don't know well sir, ma'am, or miss is just good manners. In fact, I routinely walk up to students that I don't know in the hall and say, "excuse me sir" or "excuse me miss" and then launch into what I need to say.
There is an age range issue with the word "ma'am" however that you should know. It can make some women feel old around here. Its still poor form not to use it though.
thanks for reminding me about that, yep I know. However-we are not in the Southern part of Georgia or wherever-we are online-metaphorically speaking
Thus, my point is that some written words can have wider connotations for different parts of the world, which can/might/indirectly influence how posts are received. I am not saying that is the case here, of course.
What I would like to do, is suggest one re-reads the whole thread here as a narrative and you will/may see what I mean-how the written word/choice can/might influence responses to some degree.
If you could have guided me with the time you took to type this ADVICE,
i would have been much grateful and thankful to you..
RE: If you could have guided me with the time you took to type this ADVICE, i would have been much grateful and thankful to you..
Nope-I am not going to do that, why not have a go in the first instance, THEN, report here your progress/snags/problems etc .
third time across this thread- this link sets out the instructions you need: https://github.com/trampgeek/CodeRunner#installation
second time: (as I stated before) 'Hope you get the prob solved-I will keep an eye-in order to help you too.'
How is that for ADVICE!