User registration and authentication -- use the auth functionality that comes with web2py by default (see the chapter on Access Control). Create a group called 'Instructor' and if someone is a member of that they get additional functionality (like viewing other users' grades). Use the built-in form functionality to create questionnaires. The Forms and Validators chapters can help you here. Once forms are submitted you can process the answers and store results in another table. Store the scores in a db table that has a field that references auth_user so each score is associated with a user. You can display this table to the instructor using SQLFORM.grid (in the Forms and Validators chapter). The grid comes with functionality that can sort and paginate.
On Monday, December 8, 2014 7:14:47 PM UTC-5, Adrian Aurel Chiriac wrote: > > Hello! > > I'm taking my introduction to programming class (Python) and for my final > project I'm experimenting with web2py. > I'm trying to create a webpage/app for testing purposes. > The user signs in and is given a test. After he responds to all the > questions he submits, gets graded and the score is saved. The passing score > is 80%, each question having a certain amount of points out of 100. > This project needs to be capable to test about 1,000 students at once. > Also needs to rank them and make the scores accessible to instructor. > It's not very complicated but I would like to get some advice. > > They only teach Python fundamentals in class so I've been reading the > web2py book. > > Can anyone give some advice or a diagram on how should I build it and what > the project should contain? > > > > > > > English is my second language and I apologize for all the grammar and > language mistakes. > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.