Configurable quiz engine
Subject, topic, difficulty, question count, review mode and timer mode are set per session, so the same engine runs a warm-up or a full mock test.
A fast, signup-free practice platform with 33,800+ answer-keyed MCQs, a configurable quiz engine and offline PDF booklets, built on Next.js 16, React 19 and MongoDB Atlas.

NSCT Prep is a free, signup-free web platform I designed and built end to end to help final-year Computer Science students in Pakistan prepare for the National Skills Certification Test.
It puts 33,800+ answer-keyed MCQs across 10 subjects and 149 topics behind one configurable quiz engine, built on Next.js 16, React 19 and MongoDB Atlas. Before it, preparing for the test meant piecing together material from scattered PDFs, WhatsApp groups and outdated blogs. NSCT Prep brings that into a single fast, focused experience, purpose-built for an underserved student community during NSCT test season.
Students pick a subject, narrow it to a topic, set the difficulty and the timer, and start answering. Every question carries its answer key and an explanation, so a wrong answer becomes something to learn from rather than just a lost mark.
Every NSCT season, final-year CS students go looking for practice material and find it scattered across PDFs, WhatsApp groups and out-of-date blogs.
There was no single place to practise by subject and topic, check an answer, and understand why it was right. The students who need this most are often studying on a phone, on mobile data, between classes. A platform that asked them to sign up, loaded slowly, or lost their progress halfway through a quiz would simply be closed.
| Before NSCT Prep | With NSCT Prep |
|---|---|
| PDFs passed around WhatsApp groups | One site with 10 subjects and 149 topics |
| Answer keys that are years out of date | 33,800+ verified, answer-keyed MCQs |
| Question sets with no explanations | A detailed explanation for every question |
| No way to practise by subject and topic | Practice by subject, topic and difficulty |
The brief I set myself
I designed and built NSCT Prep end to end, which meant making content decisions as well as engineering ones.
One of the first decisions was how to split 10 Computer Science subjects into 149 topics a student would actually recognise from their syllabus. I built on Next.js 16 and React 19 from the first commit, rather than planning a migration later, and shipped it on Vercel.
| Product | The scope of the platform, and the brief to keep it fast, free and free of signups. |
|---|---|
| Content | The structure of 10 subjects and 149 topics, and 12 articles on exam strategy and career guidance. |
| Design | A mobile-first interface with a dedicated bottom navigation bar, light and dark modes and 15 accent palettes. |
| Engineering | The question data model, the configurable quiz engine, the in-memory question cache and the PDF booklet export. |
| Launch | Deployment on Vercel, with JSON-LD structured data, dynamic Open Graph images and a sitemap. |
The quiz engine is configurable at every step, so a student can run a quick ten-question warm-up or a timed mock under exam conditions with the same flow.
Step 1
Pick one of 10 Computer Science subjects, then narrow it to a topic, from Data Structures and Algorithms to Computer Networks.
Step 2
Every session is configured before it starts, so the same engine serves quick practice and full mock tests.
Step 3
Anti-leave protection watches for the accidental exits that are easy on a phone, and asks before throwing a half-finished quiz away.
Step 4
The results screen turns a score into something to learn from, with the explanation for every question.
Everything a student needs for NSCT practice is in one place, starting with a question bank of more than 33,800 verified MCQs.
The question bank
33,800+
Verified MCQs across 10 CS subjects and 149 topics, every one answer-keyed with a detailed explanation.
Subject, topic, difficulty, question count, review mode and timer mode are set per session, so the same engine runs a warm-up or a full mock test.
An animated SVG score ring, a correct, incorrect and skipped breakdown, and a review of every question with its explanation.
Practice sets are generated on the server with PDFKit, so they can be downloaded, printed and studied without a connection.
A theming system driven by CSS variables. The choice is saved to localStorage and applied before first paint, so there is no flash.
Browser back, tab close and navbar clicks are caught while a quiz is running, so progress is never lost by accident.
Responsive throughout, with a dedicated bottom navigation bar for students who practise on a phone.
A Markdown-driven blog on NSCT exam strategy and career guidance for final-year CS students.
JSON-LD structured data, dynamic Open Graph images, a sitemap and Server Components, so search engines can read every page.
Four decisions shaped the build: where pages render, how questions are stored, how a quiz is assembled quickly, and how students study offline.
Rendering
Subject, topic and blog pages render on the server, so the HTML that reaches a slow phone, or Google, already contains the content. Only the quiz itself, which needs timers and instant feedback, runs as client components. I built on Next.js 16 and React 19 from the first commit rather than planning a migration later.
Data
Each MCQ is a document tagged by subject, topic, difficulty and source, carrying its options, answer key and explanation together. A document store fits that shape well, and new university-shared questions slot in without a schema migration.
Performance
Drawing a fresh random set from a large collection on every quiz start is wasted work. Question pools are cached in memory with a time-to-live, so a random set is assembled in milliseconds and the cache refreshes itself as the bank grows.
Offline
Some students prefer paper, or need to study without a connection. The server generates PDF booklets with PDFKit, so a practice set can be downloaded and printed.
| Technology | What it does in NSCT Prep |
|---|---|
| Next.js 16 | The framework, adopted on day one: routing, server rendering and builds. |
| React 19 | The interactive quiz, the timers and the results screen. |
| TypeScript | Type safety across the whole codebase. |
| Tailwind CSS 4 | Styling, with the light, dark and 15 accent themes driven by CSS variables. |
| MongoDB Atlas | The 33,800+ question bank, stored as documents tagged by subject, topic, difficulty and source. |
| PDFKit | Printable practice booklets generated on the server. |
| App Router | Routing for the subject, topic, quiz and blog pages. |
| Server Components | Subject, topic and blog pages that arrive as complete HTML. |
| Turbopack | Fast development and production builds. |
| Vercel | Hosting and deployment. |
Three of the hard parts: keeping a half-finished quiz safe, switching themes without a flash, and making a quiz site that search engines can read.
Problem
On a phone it is easy to lose a quiz by accident: a swipe back, a closed tab, a tap on the navbar. Losing twenty answered questions is the fastest way to lose a student.
Solution
Anti-leave protection catches browser back, tab close and in-app navigation while a quiz is running, and asks before throwing the progress away.
Problem
Students study late, so dark mode mattered, and I wanted them to pick an accent colour they liked. Theme code that runs after hydration paints the wrong colours first on every page load.
Solution
Light and dark modes and 15 accent palettes run entirely on CSS variables. The saved choice in localStorage is applied before first paint, so there is no flash of unstyled content.
Problem
A quiz app is mostly interaction, and to a search engine much of it looks like an empty shell. A free tool nobody can find helps nobody.
Solution
Server Components carry the subject, topic and blog content, while JSON-LD structured data (Organization, FAQ and Breadcrumb), dynamic Open Graph images and a sitemap describe the site to search engines. The same server-first approach runs the 340+ localized pages of EasyToolbox, my multilingual calculator platform.
NSCT Prep is live at nsctprep.dev and free to use, with no account needed.
A student can open it, pick Data Structures, choose a topic and difficulty, set a timer and be answering questions within seconds. When they finish, they see what they got right, wrong or skipped, with an explanation for every question.
The next step is progress that follows a student across devices without forcing an account on anyone who does not want one, along with more university papers as departments share them. If you are building something similar for students, the Aubade learning portal case study covers the other side of EdTech: a full LMS interface.
Short answers to the questions students and developers ask most about NSCT Prep.
NSCT Prep is a free web platform for final-year Computer Science students in Pakistan who are preparing for the National Skills Certification Test (NSCT). It brings practice questions, answer keys and explanations together in one place, with a quiz engine you can configure by subject, topic, difficulty and timer.
It is free, and there is no signup. You open nsctprep.dev, choose a subject and start practising straight away.
More than 33,800 verified MCQs: 31,290 written for the platform and 2,518 real exam questions shared by Pakistani university CS departments. All of them are answer-keyed with detailed explanations, across 10 subjects and 149 topics.
Ten Computer Science subjects, including Data Structures and Algorithms, Operating Systems, Computer Networks, Databases, Programming, Software Engineering, Web Development and Cyber Security. Each subject is split into topics, 149 in total, so you can practise exactly the area you are weakest in.
Yes. Practice sets can be downloaded as PDF booklets, generated on the server, and printed or read without a connection.
Next.js 16 with the App Router and Server Components, React 19, TypeScript, Tailwind CSS 4 and MongoDB Atlas, with PDFKit for the booklets and Vercel for hosting.
Muhammad Abdullah Awais, a full-stack developer based in Pakistan. I designed and built it end to end, and I am available for freelance and full-time work on products like it.
A multilingual Next.js tools platform with 340+ localized pages and country-specific tax logic in 7 languages.
Read the case studyTeam work on a construction AI platform: assistant features with user approval and document extraction that shows its source.
Read the case studyA TypeScript MERN email campaign manager with multi-account SMTP, templates, audit logs and admin oversight.
Read the case studyI work remotely with teams in the US, Canada, the UK, Europe and the Gulf, and with clients across Pakistan. Based in Pakistan (PKT, UTC+5), available for freelance and full-time roles.