GithubHelp home page GithubHelp logo

ashrafeldawody / online-exam-system Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 9.0 18.55 MB

An open source online examination system developed with pure php

Home Page: http://onlineexam.ashrafeldawody.com/

HTML 8.12% Hack 0.62% PHP 76.23% CSS 2.75% JavaScript 12.27%
online-exam online-exam-system online-examination-system

online-exam-system's Introduction

Welcome to Online Exam System Project

This project is a part of the Digital transformation of 6th Of October University

Demo

You can see the Demo Here

Objectives

This project is aimed at developing the online examination system process for students and instructors. The purpose of the system is to completely automate the old manual procedure of conducting an exam to a computerized system. The system will allow students to register and take the exam. It also enables lecturers to make tests and assign it to a link or group. The system has several functions. Both students and instructors have to register before using the system. The Instructor can add questions, take tests, and assign it. The instructor also can get a list of all students who take the exam and their grades. Once the student login to the system, he can see if he has assigned tests from groups or use a link to perform a test. After the student finishes the test, he can view his result and review his answers.

How to Install?

  1. Clone the project to your web folder (www)
  2. excute the attached sql database file
  3. login as instructor using admin using default email and password

Instructor Account

email: [email protected]
password: instructor

Student Account

id: 201708091
password: Student123

online-exam-system's People

Contributors

ashrafeldawody avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

online-exam-system's Issues

I am having this issue, why getting this error for only student login , it is working fine for instructor, can you help please

Warning: require_once(C:/xampp/htdocs/student/app/controller/function.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\online-exam-system-master\student\app\model\test.class.php on line 3

Fatal error: Uncaught Error: Failed opening required 'C:/xampp/htdocs/student/app/controller/function.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\online-exam-system-master\student\app\model\test.class.php:3 Stack trace: #0 C:\xampp\htdocs\online-exam-system-master\student\index.php(6): require_once() #1 {main} thrown in C:\xampp\htdocs\online-exam-system-master\student\app\model\test.class.php on line 3

Error in import database

Hello

Please I face this problem in import database

CREATE FUNCTION checkAnswer(resID INT, qID INT) RETURNS tinyint(1)
BEGIN
DECLARE RES INT;
IF ((select type from question where id = qID) = 0 || (select type from question where id = qID) = 3) THEN
(select count() INTO RES from (
SELECT answerID From result_answers ra WHERE resultID = resID AND questionID = qID
AND answerID IN (SELECT id FROM question_answers where isCorrect and questionID = ra.questionID)
) as t
HAVING COUNT(
) = (SELECT COUNT() FROM question_answers where questionID = qID AND isCorrect));
IF RES > 0 THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
ELSEIF ((select type from question where id = qID) = 2) THEN
(SELECT COUNT(
) INTO RES From result_answers RA WHERE resultID = resID AND questionID = qID
and textAnswer IN (SELECT answer FROM question_answers where questionID = RA.questionID));
IF RES > 0 THEN
RETURN TRUE;
ELSE
RETURN FALSE; [...]

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INTO RES from (
SELECT answerID From result_answers ra WHERE resultID = resI' at line 5

and some features don't work

Student Login

Hi,
Student login fails
error500

If there is a new version can you install it?
thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.