DEV Community

Cover image for ๐Ÿš€ This AI Tells You What to Study for Exams
Ananya S
Ananya S

Posted on

๐Ÿš€ This AI Tells You What to Study for Exams

Consider this:

Itโ€™s 3 days before your exam.
You have 5 units. 2 are huge. 1 is confusing.
And youโ€™re thinking:

โ€œWhat do I actually study?โ€

So you open past papers.

You start spotting patternsโ€ฆ maybe.

But itโ€™s slow. Inconsistent. And honestly โ€” a bit of guessing.


๐Ÿ’ก What if that entire process was automated?

What if you could:

  • Upload past papers ๐Ÿ“„
  • Instantly see what matters most
  • Identify high-weightage topics
  • Know whatโ€™s missing from your prep
  • Get a day-wise study plan

And that's the solution I built and prototyped in 6 hours during a GenAI hackathon


๐ŸŽฏ Introducing: AI Exam Strategist

A system that analyzes past question papers and turns them into actionable study strategy.

Not just summaries. Not just answers.

๐Ÿ‘‰ Actual decision-making support for exams.


๐Ÿง  What It Does

๐Ÿ“‚ Multi-Paper Analysis

Upload multiple past papers โ†’ the system processes them together and extracts meaningful patterns.


๐Ÿ” Pattern Detection

  • Finds frequently asked topics
  • Classifies difficulty levels
  • Identifies year-wise trends

๐Ÿ‘‰ Helps you focus on topics with the highest exam impact


๐Ÿ“š Syllabus Mapping

Upload your syllabus โ†’ instantly see:

  • โœ… Topics already appearing in exams
  • โŒ Topics not covered (potential blind spots)

๐Ÿ“Š Visual Insights

  • Topic frequency charts
  • Difficulty distribution
  • Topic vs difficulty breakdown
  • Year-wise trends

๐Ÿ‘‰ Patterns become obvious at a glance


๐Ÿง  Smart Study Planner

Generates a day-wise plan based on:

  • available time
  • topic importance

๐Ÿ‘‰ Designed for maximum ROI under time constraints


๐Ÿ“ Practice Question Generator

Select a topic โ†’ generate relevant practice questions instantly.


๐Ÿ’ฌ AI Assistant

Ask:

โ€œWhat should I prioritize?โ€

Get answers grounded in your own analyzed data.


๐Ÿ—๏ธ Tech Stack

  • FastAPI โ†’ backend APIs
  • Streamlit โ†’ interactive UI
  • Groq API (LLM) โ†’ classification & generation
  • LangGraph โ†’ structured workflow orchestration
  • Pandas โ†’ data processing

โš™๏ธ How It Works

Upload Papers โ†’ Extract Questions โ†’ Classify (Topic + Difficulty)
โ†’ Analyze Patterns โ†’ Map with Syllabus โ†’ Generate Insights
โ†’ Create Study Plan โ†’ Practice + AI Chat
Enter fullscreen mode Exit fullscreen mode

๐Ÿค” Did I Use RAG?

Not in this version.

Since the dataset is relatively small, I used:
๐Ÿ‘‰ context injection (passing structured analysis directly to the LLM)

This keeps the system fast and simple.

For larger-scale usage, this can evolve into a RAG-based system with vector search.


๐Ÿ“ Evaluation (Keeping It Real)

I added a basic evaluation layer to understand how the system behaves.

  • Used a small, manually created dataset
  • Measured:

    • Topic classification
    • Difficulty classification

โš ๏ธ Important:

  • Accuracy may appear low if you try it yourself
  • Because:

    • dataset is small
    • matching is strict (semantic matches may be marked wrong)

๐Ÿ‘‰ The goal wasnโ€™t perfect scoring โ€”
but to validate the systemโ€™s reasoning and consistency


๐Ÿง  What I Learned

  • Building GenAI systems is more about pipelines than prompts
  • LLM outputs are messy โ€” normalization is critical
  • Evaluation in AI is not straightforward
  • Simple approaches (like context injection) can outperform complex ones for MVPs
  • Speed + clarity > overengineering

๐Ÿ”ฎ Future Improvements

  • OCR for scanned PDFs
  • Semantic topic matching using embeddings
  • Persistent memory across sessions
  • Scalable deployment

๐ŸŽฅ Demo & Links


๐Ÿ Final Thoughts

Exams arenโ€™t just about how much you study.

Theyโ€™re about:

  • what you choose to study
  • how you prioritize
  • how well you use limited time

And right now, students are expected to figure that out manually.

This project explores a simple idea:

What if AI could guide those decisions?

Not replace studying.
Not shortcut learning.

But make preparation more focused, more intentional, and more efficient.


Because sometimes, the smartest moveโ€ฆ
is knowing what not to study.

In ~6 hours, this went from an idea to a working system.

Itโ€™s not perfect โ€” but it solves a real problem:

Maximizing study ROI when time is limited


Would love your thoughts ๐Ÿ‘‡

Top comments (4)

Collapse
 
ashrut_sahu_a74f84acac6b4 profile image
Ashrut Sahu

Nice work๐Ÿ‘

Collapse
 
zeroshotanu profile image
Ananya S

Thank you Ashrut!

Collapse
 
arun_bhat_fc67d015c0dab35 profile image
Arun Bhat

Keep up the good work!

Collapse
 
zeroshotanu profile image
Ananya S

Sure ๐Ÿ˜€