Skip to content

borisandcrispin/dmv-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

California DMV Practice Test Webapp

A web app for practicing California DMV written driving test questions.

πŸš— Features

  • 200+ Questions: Comprehensive question bank covering all aspects of DMV driving knowledge
  • 40 Random Questions: Each test randomly selects 40 questions from the question bank
  • Immediate Feedback: Get instant feedback after each question with correct answers and explanations
  • Progress Tracking: Visual progress bar showing your test completion
  • Pass/Fail Scoring: Based on the actual DMV requirement of 80% (32/40 correct answers)
  • Modern UI: Clean, responsive design that works on desktop and mobile devices
  • Unlimited Practice: Take as many tests as you want to improve your knowledge
  • Detailed Explanations: Each question includes comprehensive explanations

πŸ“š Question Topics Covered

  • Driver's license requirements and testing procedures
  • Traffic signals, signs, and road markings
  • Speed limits and safe driving practices
  • Right-of-way rules and regulations
  • Parking laws and regulations
  • Alcohol and drug-related driving laws
  • Emergency procedures and vehicle breakdowns
  • Vehicle equipment and safety requirements
  • Sharing the road with pedestrians, bicyclists, and motorcycles
  • Weather and road condition considerations
  • Traffic violations and penalties
  • Vehicle registration and insurance requirements

πŸš€ How to Use

  1. Open the App: Simply open dmv_test_app.html in any modern web browser
  2. Start Test: Click the "Start Practice Test" button
  3. Answer Questions: Click on your choice for each of the 40 questions
  4. Get Feedback: After each answer, you'll see if you're correct and get an explanation
  5. View Results: Complete all 40 questions to see your final score and pass/fail status
  6. Retake: Click "Take Another Test" to practice with a new set of random questions

🀝 Contributing

If you'd like to contribute additional questions or improvements:

  1. Fork the repository
  2. Add your questions following the existing format
  3. Test your changes
  4. Submit a pull request

πŸ“„ Question Format

Each question in the question bank follows this structure:

{
    question: "Your question text here?",
    options: ["Option A", "Option B", "Option C", "Option D"],
    correct: 1, // Index of correct answer (0-based)
    explanation: "Explanation of the correct answer and driving rules."
}

πŸ“ License

MIT License

About

DMV practice test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages