Quiz Master is an engaging mobile quiz application built using Kotlin. The app presents users with 5 multiple-choice questions (MCQs), where they must select the correct option within a time limit for each question. At the end of the quiz, the app calculates the total score and provides a personalized message (Average, Good, Bad, Excellent) based on the performance.
- Users can start a quiz from the Start Activity.
- Displays 5 multiple-choice questions dynamically.
- Time limit per question ensures a challenging experience.
- Real-time score calculation after each response.
- Personalized performance feedback at the end of the quiz.
- Uses
QuestionModel.ktto manage question data. - Supports customizable question sets.
- Displays quiz results in ResultActivity.kt with feedback.
- Modern Android UI design with custom backgrounds and animations.
- Dynamic answer selection using XML drawable files.
- Custom themes for correct (green) and incorrect (red) answers.
- Efficient data handling with Kotlin.
- Lightweight and fast-loading UI.
- Optimized memory management to prevent app crashes.
git clone https://github.com/DarshanScripts/quiz-master.git- Open Android Studio.
- Select Open an Existing Project.
- Navigate to the project folder and select
quiz-master. - Wait for Gradle sync to complete.
- Connect an Android device or launch an Emulator.
- Click Run ▶ in Android Studio.
- The app will launch on your device.
quiz-master/ │── build.gradle # Project-level Gradle file │── settings.gradle # Gradle module settings │── gradle.properties # Gradle configuration │── gradlew # Gradle wrapper (Linux/Mac) │── gradlew.bat # Gradle wrapper (Windows) │ ├── app/ # Main application module │ ├── build.gradle # App-level Gradle file │ ├── proguard-rules.pro # ProGuard rules │ ├── src/ │ ├── main/ │ │ ├── AndroidManifest.xml # App configuration │ │ ├── java/com/example/quizmaster/ │ │ ├── MainActivity.kt # Main quiz logic │ │ ├── QuestionModel.kt # Data model for questions │ │ ├── ResultActivity.kt # Quiz results screen │ │ ├── StartActivity.kt # Start screen │ │ │ ├── res/ # UI resources │ ├── drawable/ # Custom UI elements │ │ ├── quiz_logo.jpg │ │ ├── quiz_rounded.png │ │ ├── right_bg.xml │ │ ├── wrong_bg.xml - Kotlin – Primary programming language.
- Android Jetpack – Modern Android components.
- Gradle – Build automation.
- XML Drawables – Custom UI styling.
This project is licensed under the MIT License.
Developed by Darshan Shah. Connect with me:
- LinkedIn: Darshan Shah
- Facebook: DarshanScripts
- GitHub: DarshanScripts
- Quora: Darshan Shah
- Medium: DarshanScripts
- Fiverr: DarshanScripts