Government-Grade Typing Exam System

Job ID: 40099694

Budget: ₹1,500 – ₹12,500 INR

Below is the UPDATED PROJECT SUMMARY (within 10,000 characters)
— now INCLUDING A LICENSING MECHANISM, while keeping the system realistic, implementable, and government-grade.


---

PHP + MySQL LINE-BY-LINE TYPING EXAM SYSTEM

(WITH LICENSING MECHANISM – SUMMARY)


---

1. Purpose

A secure, offline-capable typing examination system for government or institutional use to conduct English and Hindi (DevLys font) typing exams, with strict exam discipline, automatic recovery, legally auditable outputs, and license-based authorised usage.

Hindi typing is DevLys font only (non-Unicode). Candidates never see evaluation results.


---

2. Technology

PHP 8.x (procedural)

MySQL / MariaDB

Apache

HTML, CSS, Vanilla JavaScript

TCPDF for offline PDF generation

OpenSSL (for license verification only)


No external internet dependency after setup.


---

3. Core Rules

Candidate language (English / Hindi DevLys) is fixed by admin.

Typing is strictly line-by-line, one line at a time.

Arrow keys allowed; copy/paste fully blocked.

Typed data stored exactly as entered (no Unicode processing).

Candidates never see speed, accuracy, errors, or results.

All evaluation and reporting are admin-only.

System runs only when a valid license is present.



---

4. Licensing Mechanism (Mandatory)

License Characteristics

License file: license.dat

Issued only by software owner

Digitally signed (RSA)

Time-bound (valid_from / valid_to)

Bound to installation identity (server hash)


License Verification

License is verified on:

System load

Admin login

Exam start


If license is invalid or expired:

System blocks access

Shows: “System not authorised. Please contact vendor.”



License File Contents (before signing)

{
"customer": "XYZ DISTRICT",
"server_hash": "HASH123",
"valid_from": "2025-01-01",
"valid_to": "2025-12-31",
"allowed_modules": ["TYPING_EXAM"]
}

Key Separation

Private key: Owner only (never shared)

Public key: Embedded in exam system for verification

Exam system can only verify, never generate or modify licenses



---

5. System Features

Admin

Login with role-based access

Create exam with office header and exam date

Upload passages separately for English and Hindi DevLys

Passages stored line-by-line

Import candidates (CSV/Excel), assign language, upload photos

Control exam flow: practice → exam → stop

View logs and generate reports

Download candidate-wise PDFs


Candidate

Login using Roll No + DOB or password

Verification screen (photo, name, roll no, language)

Practice test (no saving, no evaluation)

Actual exam with fullscreen, timer, line-by-line typing

Auto-save enabled

Submission without any result display



---

6. Typing Engine

One visible line at a time

Input length locked to expected line

Arrow keys allowed

Paste blocked (keyboard and mouse)

Keystrokes tracked

Each line auto-saved



---

7. Auto-Save & Recovery

Per-line auto-save

Resume after power failure or refresh

Admin decides resume or terminate

No data loss



---

8. PDF Generation (Mandatory)

Generated automatically after submission

Stored date-wise: /exam_pdfs/YYYY-MM-DD/ROLLNO.pdf

Contains:

Admin-defined header (office, exam name, date)

Candidate details

Line-by-line comparison (actual vs typed)


DevLys font embedded for Hindi

Candidate never sees PDF



---

9. Database (Key Tables)

admin_users – admin authentication

exam_master – exam details and status

passages – language-wise passages

candidates – candidate details and language

typing_live_data – per-line typed data

final_submissions – submission snapshot

system_logs – audit logs

license_status – license verification record



---

10. Installation

install.php performs one-time setup

Creates tables and first super-admin

Stores server hash

Locks itself after success

Requires valid license file to activate system



---

11. Security & Integrity

Threat Protection

Unauthorised use License verification
Power failure Auto-save
Result tampering No edit option
Candidate manipulation No stats shown
Legal verification Line-by-line PDF



---

Final Statement

This system provides a licensed, controlled, line-wise typing examination environment with DevLys-based Hindi typing, automatic recovery, admin-only evaluation, and legally auditable PDF outputs. Licensing ensures authorised usage, while candidates are strictly restricted to typing only.