Skip to content

Auto-generates math MCQ quizzes using Google Forms, Sheets & PDFs with auto-grading & feedback.

Notifications You must be signed in to change notification settings

deadboy18/maths-generator-google-forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ Maths Generator โ€“ Google Form Auto-Builder

This Google Apps Script project automatically generates math quizzes in the form of:

  • ๐Ÿ“‹ Google Forms (MCQ-style, auto-marked)
  • ๐Ÿ“„ Google Sheets (with question/answer tracking)
  • ๐Ÿ“‘ Printable PDFs (Student & Teacher copies)

Designed for teachers and educators who want to save time preparing math drills for students aged 9โ€“13.


๐Ÿš€ Features

โœ… Auto-generates 4 Aktiviti (quizzes) per run
โœ… Each Aktiviti has 60 randomized questions
โœ… Supports: Addition, Subtraction, Multiplication, Division
โœ… MCQ format with 4 choices per question
โœ… Sets the correct answer + wrong options automatically
โœ… Creates both:

  • ๐Ÿง‘โ€๐ŸŽ“ Student version (blank)
  • ๐Ÿง‘โ€๐Ÿซ Teacher version (with answers)

โœ… Auto-grading enabled
โœ… Shows results immediately after submission
โœ… Collects Name, Class & Email
โœ… Response sheet linked for teacher review
โœ… Friendly feedback if the answer is wrong
โœ… Smart scoring tiers:

  • ๐Ÿ’š Above 50% โ€“ โ€œWell done!โ€
  • ๐Ÿงก 30โ€“49% โ€“ โ€œGood try, keep practicing!โ€
  • โค๏ธ Below 30% โ€“ โ€œDonโ€™t worry! You can improve!โ€

๐Ÿง  Why It Exists

This tool was created to support teachers โ€” especially those working with underperforming students or in rural schools โ€” who need to simplify their quiz workflow and make math practice more engaging without the manual headache.


๐Ÿ“ท Screenshots

Google Form (MCQ) Teacher PDF Google Sheet
Form PDF Sheet

โš™๏ธ How It Works

This script uses the Google Apps Script environment to:

  1. Randomly generate math questions
  2. Create a new sheet with questions and answers
  3. Generate a Google Form linked to that sheet
  4. Export printable PDFs for both student and teacher
  5. Auto-mark responses and sync to Sheets

๐Ÿ“ Setup Instructions

  1. Go to script.new
  2. Paste in the Code.gs contents
  3. Save and name your project (e.g. "Maths Generator")
  4. Run the function batchGenerateMathsQuizzes
  5. Accept the permission prompts

Done! Youโ€™ll now find:

  • Forms in your Google Forms
  • Sheets in your Drive
  • PDFs in separate folders per Aktiviti

๐Ÿ“Œ Limitations

  • โŒ Does not handle fractions, decimals, or word problems
  • โš ๏ธ Limited to 4 Aktiviti per run due to execution time limits
  • โŒ Not designed for advanced math or older students (yet)

๐Ÿ™‹ Who It's For

  • ๐Ÿ‘ฉโ€๐Ÿซ Primary and middle school math teachers
  • ๐Ÿ’ป Education tech volunteers and NGOs
  • ๐Ÿง‘โ€๐Ÿ’ผ Developers building tools for education

๐Ÿค Contributing

Want to expand this?

  • Add fractions or harder difficulty
  • Translate into other languages (BM, CN, etc.)
  • Export score reports or summary analytics

PRs welcome!


๐Ÿ“„ License

This project is licensed under the MIT License โ€“ free to use, modify, and share.

About

Auto-generates math MCQ quizzes using Google Forms, Sheets & PDFs with auto-grading & feedback.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published