Ramagya Singh Foundation, Teghra Computer-Based Examination System
Official Institute Operational Manual (SOP)

Computer-Based Test (CBT) Standard Operating Procedure

Step-by-step operating guidelines for school principals, lab technicians, and invigilators to run the CBT examination system smoothly on a local network with zero internet dependency.

Choose Language / भाषा चुनें:

Zero Internet

100% Offline LAN

Runs over local Wi-Fi or wired switch with 0 data usage.

Instant Autosave

Zero Data Loss

Answers saved to SQLite in milliseconds. Safe from power cuts.

Excel Papers

1-Click Upload

Upload .xlsx sheets directly with 4 options & solutions.

Live Control

Master Console

Start test for all, pause, resume, extend time & force submit.

1

System Overview & Architecture सिस्टम अवलोकन एवं आर्किटेक्चर

The CBT Examination System is a standalone on-premises web application engineered for institutions to conduct tests over a local Wi-Fi or wired LAN network with zero external internet requirement.

  • Server Architecture: FastAPI + Uvicorn + SQLite asynchronous engine binding to 0.0.0.0:8000.
  • Real-Time Synchronization: WebSockets deliver instant student status updates, tab-switch alerts, and master control commands.
  • Client Agnostic: Any modern browser (Chrome, Edge, Firefox, Safari) connects directly. Zero installation needed on student machines!

CBT परीक्षा प्रणाली एक आधुनिक ऑफ़लाइन परीक्षा सॉफ्टवेयर है, जो बिना इंटरनेट के संस्थान के लोकल वाई-फाई या लैन नेटवर्क पर 100% सुरक्षित रूप से परीक्षा आयोजित करता है।

  • इंटरनेट की कोई आवश्यकता नहीं: परीक्षा के दौरान ब्रॉडबैंड या डेटा पैक की कोई ज़रूरत नहीं होती।
  • किसी भी डिवाइस पर समर्थित: कंप्यूटर लैब के पीसी, लैपटॉप, टैबलेट या मोबाइल पर बिना किसी ऐप के केवल ब्राउज़र से परीक्षा दी जा सकती है।
  • रियल-टाइम ऑटो-सेव: छात्र द्वारा चुना गया प्रत्येक उत्तर तुरंत डेटाबेस में सहेजा जाता है। बिजली जाने पर भी कोई डेटा नष्ट नहीं होता।
2

Hardware & Software Prerequisites हार्डवेयर एवं सॉफ्टवेयर आवश्यकताएँ

Component / उपकरण Minimum Requirement / न्यूनतम Recommended / अनुशंसित
Host Server PC Windows 10, Core i3, 4 GB RAM Core i5, 8 GB RAM, Gigabit LAN Cable
Student Terminals Any PC, Laptop, Tablet, Mobile (1 GB RAM) Chrome or Microsoft Edge browser
Network Equipment Standard Wi-Fi Router (No Internet required) Dual-band Wi-Fi Router or 24-Port LAN Switch
Python Version Python 3.10 or higher Python 3.11 / 3.12 with PATH checked
3

1-Click Installation & Setup १-क्लिक इंस्टॉलेशन प्रक्रिया

CRITICAL PYTHON REQUIREMENT: पायथन इंस्टॉलेशन की अति-महत्वपूर्ण शर्त:
When installing Python from python.org, you MUST check the box: [x] Add python.exe to PATH at the bottom of the installer window!
पायथन इंस्टॉल करते समय पहली स्क्रीन पर सबसे नीचे दिखने वाले [x] Add python.exe to PATH चेकबॉक्स पर **अवश्य टिक करें**!
1
Extract the Setup Folder: सेटअप फ़ोल्डर अनज़िप करें:
Unzip CBT_Setup.zip to a permanent folder like C:\CBT_Setup or D:\cbt.
2
Double-Click setup_and_install.bat: setup_and_install.bat पर डबल-क्लिक करें:
The script automatically creates an isolated virtual environment (`venv`), installs all dependencies, and launches the server.
3
Browser Opens Setup Page: ब्राउज़र में सेटअप पेज खुलेगा:
The portal opens to http://localhost:8000/setup to register your institution.
4

Institute Registration & Branding संस्थान पंजीकरण एवं ब्रांडिंग

On the /setup screen, enter your school or college information:

  • Institute Name: e.g., "Apex Academy of Science & Technology"
  • Center Address: Full campus address and pin code
  • Contact Phone & Email: Official exam desk contact numbers
  • Custom Admin Password: Set your secure administrator password (default is admin123)

Your branding automatically watermarks all student exam screens, admit cards, and PDF report cards!

/setup पेज पर अपने संस्थान का विवरण दर्ज करें:

  • संस्थान का नाम: जैसे "आदर्श पब्लिक स्कूल एवं इंटर कॉलेज"
  • संस्थान का पता: पूरा पता व पिन कोड
  • फ़ोन व ईमेल: आधिकारिक संपर्क नंबर
  • नया एडमिन पासवर्ड: अपना गोपनीय पासवर्ड तय करें (डिफ़ॉल्ट admin123 है)
5

Daily Server Startup दैनिक रूप से सर्वर चालू करना

For daily operation after the initial installation, simply double-click run_cbt.bat.

प्रारंभिक इंस्टॉलेशन के बाद, रोज़ाना सॉफ्टवेयर चलाने के लिए बस run_cbt.bat पर डबल-क्लिक करें।

Starting CBT Examination Server on port 8000...
Portal URL: http://localhost:8000
Local Network Access: http://192.168.1.15:8000
Keep this terminal minimized in the taskbar. Do not close it while exams are running. इस काली टर्मिनल विंडो को मिनिमाइज़ रखें। परीक्षा के दौरान इसे बंद न करें।
6

Local Network (Wi-Fi / LAN) & Firewall Unblock लोकल नेटवर्क (Wi-Fi/LAN) एवं फ़ायरवॉल सेटिंग्स

Ensure all student PCs, laptops, and mobiles are connected to the same Wi-Fi router or switch as the host server PC.

सुनिश्चित करें कि सभी छात्र कंप्यूटर/मोबाइल और सर्वर पीसी एक ही वाई-फाई या लैन नेटवर्क से जुड़े हैं।

Quick Firewall Port 8000 Rule (Run in PowerShell as Administrator): फ़ायरवॉल में पोर्ट 8000 खोलने की 1-क्लिक कमांड (PowerShell Admin में चलाएँ):
New-NetFirewallRule -DisplayName "CBT Exam Server Port 8000" -Direction Inbound -LocalPort 8000 -Protocol TCP -Action Allow

Students connect by opening http://<SERVER_IP>:8000 in their browser, or by scanning the on-screen QR code from the Admin Dashboard. छात्र अपने ब्राउज़र में http://<SERVER_IP>:8000 खोलते हैं अथवा एडमिन डैशबोर्ड में दिए गए क्यूआर कोड को स्कैन करते हैं।

7

Student ID Generation & Printable Admit Cards विद्यार्थी रोल नंबर, पासवर्ड एवं प्रवेश पत्र

Batch ID Generation बैच में रोल नंबर बनाना

Click Batch Generate IDs. Enter Prefix (e.g. STU-), Count (e.g. 50), and Batch Name. The system instantly generates User IDs with secure, memorable passwords. Batch Generate IDs दबाएँ। रोल नंबर प्रीफिक्स (जैसे STU-) और संख्या (जैसे 50) डालें। सिस्टम तुरंत अद्वितीय रोल नंबर और याद रहने वाले पासवर्ड तैयार कर देता है।

Printable Admit Cards प्रवेश पत्र प्रिंटिंग

Click Print Admit Cards to generate official candidate slips with institute watermark, roll number, password, exam instructions, and signature verification fields. Print Admit Cards दबाकर संस्थान के वॉटरमार्क, छात्र रोल नंबर, पासवर्ड और परीक्षा नियमों वाले आधिकारिक प्रवेश पत्र एक क्लिक में प्रिंट करें।

8

Question Paper Preparation via Excel एक्सेल द्वारा प्रश्न पत्र निर्माण एवं अपलोड

Download the built-in Sample Excel Template from the admin dashboard (or use sample_questions.xlsx). The sheet uses these standard columns: डैशबोर्ड से Download Sample Excel डाउनलोड करें अथवा फ़ोल्डर में मौजूद sample_questions.xlsx खोलें। इसमें निम्नलिखित कॉलम होते हैं:

Column Purpose Example
Question Text Full question text (Hindi / English) What is the SI unit of power?
Option A - D Four multiple-choice options Joule / Watt / Newton / Pascal
Correct Option Single capital letter: A, B, C, or D B
Marks / Neg Marks Positive marks and negative deduction +4.0 / 1.0 (or 0)
Section / Subject Subject category for section switching Physics, Chemistry, Maths, GK
9

Live Exam Invigilation & Master Controls लाइव परीक्षा संचालन एवं मास्टर कंट्रोल

▶ START TEST FOR ALL
Launches the test and unfreezes student screens with synchronized countdown timer.
⏸ PAUSE / RESUME
Freezes all screens with official notice and pauses timers for announcements.
⏹ END TEST FOR ALL
Force submits all active student sessions and permanently compiles grades.

The live grid shows real-time student online/offline indicators, current question numbers, progress bars, and anti-cheat tab-switching violation counters. लाइव मॉनिटर पर छात्र की ऑनलाइन स्थिति, चालू प्रश्न संख्या, हल किए गए प्रश्नों का प्रतिशत और नकल चेतावनी (Tab-Switch) काउंटर दिखता रहता है।

10

Automated Grading, Excel Export & PDF Answer Sheets स्वचालित मूल्यांकन, एक्सेल रिजल्ट एवं पीडीएफ आंसर-शीट

  • Instant Evaluation: Zero manual grading effort. Calculates scores with positive and negative marking.
  • Rank Leaderboard: Displays ranks, roll numbers, attempted/correct/wrong counts, and accuracy %.
  • 1-Click Excel Export: Download full results spreadsheet via "Export Excel Report".
  • Official Candidate PDF Booklet: Individual answer sheets with institute watermark, student's chosen option vs. correct answer, and solutions.
  • Bulk ZIP Download: Click "Download All Answer Sheets (ZIP)" to download all PDF answer sheets in one archive.
11

Troubleshooting Matrix (FAQs) समस्या निवारण तालिका एवं अक्सर पूछे जाने वाले प्रश्न

Symptom / समस्या Cause / कारण Solution / समाधान
python: command not found PATH not checked during Python setup Re-run Python installer, select Modify, and check [x] Add python.exe to PATH.
Site can't be reached on student PC Windows Firewall blocking port 8000 Run PowerShell rule: New-NetFirewallRule -DisplayName "CBT 8000" -Direction Inbound -LocalPort 8000 -Protocol TCP -Action Allow.
Server window closed accidentally Terminal closed mid-exam Zero data loss! Just run run_cbt.bat again. Students refresh and continue.
Student PC crashed or rebooted Hardware fault on client PC Restart PC. Student logs in with same ID/password; all answers resume intact.
Technical Support & Credits

Software Architect: Pankaj Kumar

Email Developer

Official Contact: mpitpankajk@gmail.com

Software Edition: Institutional Standalone Edition (Perpetual License)

Institution: Ramagya Singh Foundation, Teghra