Skip to content
aryancodes-devPublic

About

Train for the exam hall, not the IDE — predict-the-output trainer for MAKAUT BCA C exams.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏃✨ DryRun — Paper Coding Exam Trainer ✨🏃

Web v2 — Train for the exam hall, not the IDE.

DryRun MAKAUT 19 Questions No Login No Server License

Predict-the-output trainer for MAKAUT BCA C exams.

Live Site GitHub Portfolio


📑 Table of Contents


✨ What is DryRun?

📝 🚫 🎯 ✅
Paper Exam No Compiler Predict Output Dry-Run Table

Train for the exam hall, not the IDE.

In MAKAUT (and most Indian universities), the C exam is written ON PAPER. No compiler, no run button. The paper asks:

Predict the output. Show a dry-run table. Find the error.

DryRun trains exactly that skill. 🏃

📝 Paper question:
   int a = 5;
   printf("%d", a++ + ++a);

🤔 You predict:  12
✅ DryRun says:  Correct! + dry-run table explains why.

🎯 What v2 Does

Feature What it does
📝 19 C questions Predict-the-output, filterable by topic chips
📱 Beautiful mobile-first UI Topic chips, progress bar, score pill, result ring
⌨️ Type your predicted output Get instant right / wrong + the dry-run explanation
📊 Score In questions correct + MAKAUT exam marks
📵 Works on phone No login, no server — just open index.html

Topics Covered

Topic What you practise
🔢 Operators ++, --, precedence, associativity
🔁 Loops for, while, do-while — trace the values
📦 Arrays Indexing, loops over arrays
🔤 Strings char arrays, string functions
🧩 Functions Call by value, recursion
📍 Pointers The tricky ones — *p, &a, pointer arithmetic

✅ Why the Answers Are Trustworthy

Claim Proof
Every answer is proven Every question in questions.json was compiled and run for real with gcc
Real output recorded The verified field on each question records the real output
Never guessed No answer was written from memory — all 19 were run and checked

Answers are proven, never guessed. ✅


🚀 How to Use

Step What to do
1 🌐 Open the live site
2 🏷️ Pick a topic chip — or do all 19
3 📝 Read the code, type your predicted output
4 ✅ Get instant right / wrong + the dry-run table
5 📊 Watch your score + MAKAUT marks grow

Run It Locally

# Open index.html in any browser, or:
python3 -m http.server 8000
# then open http://localhost:8000

🧪 Try an Example

#include <stdio.h>
int main() {
    int a = 5;
    printf("%d", a++ + ++a);
    return 0;
}
🤔 Your prediction ___ (type it in DryRun)
✅ DryRun reveals The answer + a full dry-run table showing a at every step
📊 Score +1 question, + MAKAUT marks if correct

🛠️ Tech Stack

Layer Technology
🌐 Frontend HTML5, CSS3, JavaScript
📄 Questions questions.json — 19 questions, each gcc-verified
🖥️ Original CLI version in Python — ../dryrun/dryrun.py
🌐 Hosting GitHub Pages

📁 Project Structure

🏃 dryrun/
│
├── 🏠 index.html            # Main site — quiz UI, topic chips, score
├── 🎨 style.css             # All styling — mobile-first, result ring
├── ⚙️ app.js                # All logic — quiz, scoring, dry-run reveal
├── 📄 questions.json        # 19 C questions, each with verified output
├── 🖼️ favicon.ico           # App icon
└── 📖 README.md             # You are here ✨

🗺️ Roadmap

Version What's in it
✅ v2 Web quiz (this version) — topics, score, dry-run reveal, beautiful UI
🔜 v3 Spot-the-Error mode, Fill-the-Dry-Run-Table mode, timed MAKUT mock test
🔮 v4 Login + progress history, 50+ questions, BCA Sem-1 PYQ sets year-wise

Original CLI Version

../dryrun/dryrun.py

The terminal trainer this web version grew from. ☕


🔒 Privacy & Honest Limits

  • 🔑 No login, no server — everything runs on your device
  • 📵 Works offline — open index.html, practise anywhere
  • 💾 No data leaves your phone — your score stays with you

Honest limit: DryRun trains predict-the-output — the paper skill. It does not run your code (there's no compiler in the browser), and its 19 questions cover the most common C traps, not every possible exam question. For the full exam, practise with your MAKAUT PYQs too.


🤝 Contributing

Found a C trap DryRun doesn't cover? A question with a wrong verified output?

Open an issue with the code + the real gcc output — proven answers only, never guessed. 🏃


💜 Credits

Built with 💜 by

Aspiring Software Developer — BCA, MAKAUT

GitHub YouTube Portfolio

📧 Email: [email protected]


🏃 Train for the exam hall, not the IDE. 📝

⭐ If DryRun helped you pass, star this repo! ⭐

About

Train for the exam hall, not the IDE — predict-the-output trainer for MAKAUT BCA C exams.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages