Pomagite!!!reshite mne moe sadanie svyasannoe s website apache and databank Examination systemSubjectThe students will realize a small PHP project for the course of Web Programming. This project will be realized in groups of two students. If a class contains an odd number of students, one student can find a colleague in another class or make the project alone.Suppose we are working for the Bern University of Applied Sciences (a.k.a. BFH). We want to provide a system for organizing exams on-line without giving the questions on-line. The questions will be written on a paper that the professor will give to the student during the exam. The student will give the paper back at the end of the exam. The idea behind it is that the professor does not need to write new questions every year.What you have to doTO DOYou have to write a PHP-program for the professors to enter their questions, and for students to enter their responses. Your system will also generate a PDF containing the marks for the students.

* The system must allow a user to log-in. There are two types of login: Professors and Students.

Actions for professors:

* A professor can create a questionnaire. A questionnaire is defined by a number of questions (only multiple choice). And for each question the right answer. A questionnaire does not contain any text (neither for questions nor for answers). So a question would be something like:

* A professor can see the list of classes and see the list of students for each class ( * A professor can select a class and affect a questionnaire to a class * A professor can start an exam and define its duration. The start must be manual, (students are always late at the begining of exams, so the exam never start at the right time). * A professor can see for each student the list of answers * The professor can generate a PDF containing for each student the number of points he or she got. You will moreover print for each student one page containing each of the answers and the corresponding points. * For computing the points of a Multiple choice questionnaire, there are numerous methods. We will do: no answer=0, bad answer=-1, good answer=+3, so the students answering randomly will receive a bad mark.

Once a student is loged-in, the following action can be done:

* The student can only fill out the questionnaire and submit it. * Once the answer are submitted, the student can not see the questionnaire anymore. The student does not receive any feedback (no mark). Just something like "Your answers have been successfully submitted".

NOT TO DODatabase structureThe database contains two tables and two relations:

* user contains the kuerzel the first and last names for the students and professors. It contains also the password and a bit indicating if a user is professor or student. * moduleA module has a number (corresponding the the module being taught). * studentModule links the tables for students * profModule links the tables for professors.