University project

Online Examination System

A digital examination system developed as an eight-week team project. Teachers can create exams, while students can take them with a time limit. The system includes login, automatic grading, and separate dashboards for teachers and students.

Illustration of a browser window and code gears, not a screenshot of the examination system
Illustration, not a screenshot from the examination system.

Technologies and concepts

  • Python
  • Flask
  • SQLite
  • HTML5
  • CSS3
  • JavaScript
  • REST API

About the project

We developed the system as an eight-week team project. The idea was to let a teacher create an exam with a deadline while students log in and take it online. The system keeps track of users and time, and automatically grades multiple-choice questions.

The solution was built with Flask and Python on the server, SQLite as the database, and HTML, CSS, and JavaScript for the interface.

Backend

  • Python and Flask - handle login and the API
  • SQLite - stores user, exam, and result data
  • Werkzeug - used for password handling
  • Session management - keeps track of signed-in users

Frontend

  • HTML5 and CSS3 - build the interface and its styling
  • JavaScript - handles features such as the countdown and validation

Security

  • Bcrypt password hashing - passwords are stored as hashes, not in plain text
  • SQL injection protection - the database uses parameterized queries
  • Role-based access - students and teachers have access to different features

Functionality

  • Secure login and user-session handling
  • Separate dashboards for students and teachers
  • Exam creation with deadlines
  • Timed exams with a countdown
  • Automatic grading of multiple-choice questions
  • History and statistics for previous exams
  • Responsive layout for mobile use

Database structure

The database is organized into five main tables:

  • users - users and passwords
  • exams - exams and deadlines
  • questions - questions and answer options
  • submissions - answers and scores
  • sessions - active logins

Technical work

  • Designing REST API endpoints
  • Validating data on the server
  • Handling errors with understandable messages
  • Normalizing the database

What I learned

  • Full-stack development - working with databases, backend, and frontend
  • Security - password handling, login, and sessions
  • Database design - structuring data in SQL
  • Teamwork - Git, code review, and collaboration
  • Troubleshooting - investigating problems systematically

Project team: four students

Duration: eight weeks

My role: backend development and database design