Only Quiz for take Exam

Only Quiz for take Exam

Daniel Celestino -
回帖数:9

Hi to all!

First of all, sorry for my English

I´m from Argentina. I work in the IT department in the Police Academy of the Argentinian govermen.

I´m trying to do the trick with this topic but I can´t find any clue in google. 


We have severals digital Class here. In every class, we have 50 netbooks connected to 1 notebook (profesor notebook) through a router.

The network is closed (no internet connection)

I want to setup in every notebook a moodle ONLY for take exams.


Every day, we recieve 250 policeman that we need to take them one or two exams in the same day. They have hierarchy, so I created a Course and there, I created 5 quizzes based on the hierarchy.


I´m fighting with the authentication method here. I only need that the student sit in the chair, put her/his email and a password, self registration and after that, I need moodle list all the courses that I have. Then, depend of the course, He/She select the corresponding one and the, take the exam based on her/his hierarchy.


But, always get stuck on edit profile. After selft registration, redirect me to edit profile. Even when He/she put her/his name and surname, click in "update", get again into this page.


I need that after complete his/her name and surname, list all the courses available.


Can anyone help me to achieve this?  


Thanks in advance!


Best regards!

回复Daniel Celestino

Re: Only Quiz for take Exam

Emma Richardson -
Documentation writers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

If it is returning to the Edit Profile page, it is because there is a required field that is not being filled out.

回复Daniel Celestino

Re: Only Quiz for take Exam

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
Hi Daniel

Your immediate problem must be an incomplete user profile, as Emma has spotted. Admittedly, I have no understanding of your setup - infrastructure and know-how. Still I am puzzled by your decision to install Moodle on each "professor" notebook. Personally, I wouldn't do that unless it is Linux and we install those notebooks through a deployment system. Even then, I'll be worried each professor having to maintain his own Moodle!

Question: Are the networks of these classes not (internally) interconnected? Then you a single server would be enough.

If you _have_ to give each professor a Moodle, how about giving each a physical Moodle? There is a whole generation of very cheap micro computers like Raspberry Pi. Thanks to its popularity there are three custom solutions for Moodle on Raspberry Pi. See "Moodle Installation in Rural Area" https://moodle.org/mod/forum/discuss.php?d=353602#p1427188. I use MoodleBox often - it works "too good to be true".

I know, 250 users (or is it 50 at a time?) taking a quiz on a Raspberry Pi sounds unrealistic. But for one, Raspberry Pi 3 is a whole lot more powerful that the previous models. And secondly, if those users have to go through a registration process at the beginning, they will not click on the Go-button in the same second. Still you have a practical problem, you can't simulate a real class. You need some test runs. Personally I think the chances of success are high.

Just a side note: It is heartening to know that the Argentine police force is full of he and she policemen/women!
微笑

More seriously, unless you are a professional writer - in the target language - the current politically correct language produces just that, political verbiage, inflates the message, makes it difficult to understand, distracts from the topic instead. Coming back to our small world, the world of computers, when I deploy a computer, I never think whether it will be poked by he or she fingers. Or, perhaps I should?
回复Visvanath Ratnaweera

Re: Only Quiz for take Exam

Daniel Celestino -

Thanks for the answers.. 


I could manage it and after some core hacks, I could make the registration fluid. 


Now, the user just put the email and password. Then, in the registration form, put the name, surname, email and, a custom field created by me called DNI (Document National Identity). All of the rest fields, I hide them (through commented lines in userlib.php, or editadvance_form, I dont remeber well)


The infrastructure here is the next one:

Imagine 18 rooms (classes) next to each other and in front of. Every class has only 2 patch Ethernet. One cord is for the  professor Notebook. This notebook is connected to our datacenter. 


Also, we have a router microtik. This router is used to connect through wifi to the notebook and, to the 50 netbooks (see this link to see the digital classroom: http://matespedagogicos.blogspot.com.ar/2012/10/el-aula-digital.html)

So, the 50 netbooks connect to the professor notebook and only to this notebook. The netbooks have not internet. The professor does.

Every class has a router, so every class has a separate "lan" cause every professor does his/her topics in different ways. I mean, every professor notebook is interconnected to each other, but the 50 netbooks for each class not. I hope you can understand my english! 


Thoose class and the datacenter are in separate building, a sufficient far to use a fiber cord to connect them. I cannot put a server in this bulding.


So, i´m thinking configure in one notebook. Make all the exams and then, copy the whole folder to another notebook (change the ip in config.php) and that is.


After exams, export to excel and import in our system (sql server) or, develop some button in php to export directly (I´m not a programmer, but we have a develop area here) 

 
The proffesor wouldn´t maintain anything. He/She will learn how to create courses and quiz and no more than this. 


Now, I have to test 50 netbooks connected at the same time and see if all of they could do the exam. As i said, my first purpose is only take exams.


Side note: yes! we have a lot of womens. ;) 

回复Daniel Celestino

Re: Only Quiz for take Exam

Dave Perry -

You don't need a full whack server to run moodle - a small form factor PC (with a decent amount of RAM, carefully setup OS etc) will do. So it could just sit in a cupboard room!

If you have the internet on the existing Ethernet sockets, do you not have a switch/hub somewhere in this building? If so, just put the server next to the switch. If you can't spare a socket on the switch, put a small switch into one of the sockets and split the signal.

If I've not understood it right, you'll probably need to draw a diagram of your infrastructure and post that.

回复Dave Perry

Re: Only Quiz for take Exam

Daniel Celestino -

Dave.. Thanks for the suggestion!


The problem here is that every student netbook has not access to the switch or internet. The netbooks have access ONLY to the proffesor notebook through wireless (both, connected to a router)


So, if I put a server, Only the proffesor notebooks will access to the server.. The netbooks will not. 


I cannot connect the router to the ethernet socket, because every class need to be in a separate lan. And, we dont have vlans configured yet.

Hope you can understand me.


Regards!

回复Daniel Celestino

Re: Only Quiz for take Exam

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
Hi Daniel

We need to have a clear idea of your network. From what I gathered the first sketch represents one class room. (See attachment.) There are 18 such classrooms.

One question though: The microtik is _not_ routing. Otherwise the 50 netbooks will also have Internet access. It is only an access point and a DHCP server. (Notice the cut the network cable in the diagram.) Is that right? Then you should not call it a router. (It may be constructed as a router. But you are not using it as a router.) And the webserver which serves Moodle is running on the "Prof" notebook. (Have you mentioned its operating system and the other relevant system software?)

I still have the feeling yours is exactly the case Moodlebox is made for. Have a look at the second sketch. I could take over all the four funtions: access point, DHCP server, router and webserver. Only thing, it needs the wired ethernet connection. In this setup the Prof. notebook does not need the wired ethernet connection.

Of course, if you want you can stop the router funtionality of the Moodlebox and give back the ethernet connection to Prof. notebook.

Can you make anything out of the diagrams and the suggestion?
附件 e-class-argentina.png
回复Visvanath Ratnaweera

Re: Only Quiz for take Exam

Daniel Celestino -

Visvanath Ratnaweera,

Excellent Diagram! it´s exaclty as you draw in the first case.. We called Router, but actually is an AP.

The second case is not possible because we dont want the students have internet access but the proffesor does.


If i go to the second diagram, all the students will have access to internet and the whole LAN, until we could set all the vlans and firewall working in the next months


Meanwhile, I need to resolve this applying this configuration. In a near future, I will use a Webserver in our datacenter.

回复Daniel Celestino

Re: Only Quiz for take Exam

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
Hi Daniel

Now the network is clear let's have a second look at your problem:

You wrote:
>>>> I´m fighting with the authentication method here. I only need that the student sit in the chair, put her/his email and a password, self registration

and later:
>> I could manage it and after some core hacks, I could make the registration fluid.

>> Now, the user just put the email and password. Then, in the registration form, put the name, surname, email and, a custom field created by me called DNI (Document National Identity). All of the rest fields, I hide them (through commented lines in userlib.php, or editadvance_form, I dont remeber well)

I understand that you've solved the problem by editing Moodle code. I believe that very well, and in addtion I also believe that it is the beginning of some future problems! Can you tell why your Moodle can not do something as basic as the e-mail based user registration? Not because the users don't have access to their maiboxes without Internet?

P.S. To finish the discussion of Moodlebox as substitution to the Mikrotik: If you want to disconnect the netbooks from the Internet, just pull the ethernet plug from the Moodlebox. To give the Prof. Internet plug the cable to his notebook. Then it becomes almost the same as your present setup (sketch 1), Raspberry Pi replacing the Mikrotik, except that the web server now runs not in the Prof's notebook but in the Raspberry Pi.
回复Visvanath Ratnaweera

Re: Only Quiz for take Exam

Daniel Celestino -

I´m not using Email Based user Registration, because as I said before, the netbooks are not connect through internet. And, something important, all of the police man in Argentina do not know well using technology (email, internet, even write with a keyboard). I´m talking about people over 40 years old. They are the most when dingo the promotion exam.

Also, they have 20 minutes to do the exam. Imagine 50 men/woman trying to login with the other authentication method? Wait for each one recieve the confirmation email, etc. No way!


So, I tried to do it simple. Mail and a generic password that when they type it, just create the account. Then, Simply type name, surname, email (I couldnt delete this field) and DNI.The proccess is more fluid and simply for this kind of people.

When the work day finish, I will export to CSV all the notes. Then, this CSV will be imported to our sql server system.

Regarding Rasperry Pi, I dont remeber if a mentioned it, but I need to remove the routers of our network in the near future. We will use only AP (we will have a Sophos UTM firewall).

So, When I have this topology working well, I will configure moodle in a central server and the netbooks will be connected through AP´s which the vlan will has not internet enabled.