{"id":25221778,"url":"https://github.com/nafizkamal11/Quiz-System","last_synced_at":"2025-04-05T12:12:01.031Z","repository":{"id":269595360,"uuid":"907931613","full_name":"nafizkamal11/Quiz-System","owner":"nafizkamal11","description":"Quiz Runner is a simple yet powerful quiz application built in Java, allowing admins to create and manage quizzes while students can attempt them and receive grades. The project follows Object-Oriented Programming (OOP) principles and stores quiz data in JSON files for persistence.","archived":false,"fork":false,"pushed_at":"2025-03-17T02:18:48.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T12:11:57.185Z","etag":null,"topics":["java","json"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nafizkamal11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-24T16:23:32.000Z","updated_at":"2025-03-17T02:18:51.000Z","dependencies_parsed_at":"2025-01-31T22:29:50.415Z","dependency_job_id":"efecdc02-9453-47ba-81c6-f6a67ce782ba","html_url":"https://github.com/nafizkamal11/Quiz-System","commit_stats":null,"previous_names":["zfnkml/salmanrahman-sdet-simple-project-on-java-quiz-system","nafizkamal11/java-quiz-system","nafizkamal11/quiz-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafizkamal11%2FQuiz-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafizkamal11%2FQuiz-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafizkamal11%2FQuiz-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafizkamal11%2FQuiz-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nafizkamal11","download_url":"https://codeload.github.com/nafizkamal11/Quiz-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332611,"owners_count":20921854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","json"],"created_at":"2025-02-10T22:53:16.730Z","updated_at":"2025-04-05T12:12:01.020Z","avatar_url":"https://github.com/nafizkamal11.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 Quiz Runner\n\n## Table of Contents\n\n1. [📝 Overview](#-overview)  \n2. [🛠️ Features](#️-features)  \n   - [Admin Role](#admin-role--executing-as-admin)  \n   - [Student Role](#student-role--executing-as-student)  \n   - [Data Management](#data-management)  \n3. [🖥️ Technologies Used](#️-technologies-used)  \n4. [🔒 Prerequisites](#-prerequisites)  \n5. [🏗️ Project Structure](#️-project-structure)  \n6. [🚀 How to Run](#-how-to-run)  \n7. [📋 JSON File Structure](#-json-file-structure)  \n   - [users.json](#usersjson)  \n   - [quiz.json](#quizjson)  \n8. [📡 Future Enhancements](#-future-enhancements)\n\n---\n\n## 💭 Overview\n\nThe **Quiz Runner** project is an interactive quiz application that allows two types of users: \n\n1. **Admin** : can create and save quizzes\n2. **Student :** can take the quiz and get graded based on their performance. \n\nThis application adheres to Object-Oriented Programming (OOP) principles and modern Java practices.\n\n## 🛠️ Features\n\n### Admin Role : [Executing as Admin](https://go.screenpal.com/watch/cZltltnelC2)\n- Add new quiz questions, options, and correct answers.\n- Save questions into a JSON file for persistence.\n\n### Student Role : [Executing as Student](https://go.screenpal.com/watch/cZlt6ynelus)\n- Attempt 10 randomly selected quiz questions.\n- Receive feedback and grading based on performance.\n\n### Data Management\n- All questions and user information are stored and retrieved from JSON files.\n\n## 🖥️ Technologies Used\n\n- Java\n- JSON (using `org.json.simple` library for JSON parsing and writing)\n- Object-Oriented Design\n- IntelliJ IDEA\n\n## 🔒 Prerequisites\n\n- JDK 17 or above\n- IntelliJ IDEA or any Java-supported IDE\n\n## 🏗️ Project Structure\n\n```\nQuizRunner/\n├── src/\n│   ├── main/\n│   │   ├── java/\n│   │   │   ├── QuizRunner.java\n│   │   │   ├── SampleQuestion.java\n│   │   │   ├── QuizService.java\n│   │   ├── resources/\n│   │   │   ├── quiz.json\n│   │   │   ├── users.json\n├── README.md\n\n```\n\n## 🚀 How to Run\n\n1. Clone the repository:\n    \n    ```bash\n    git clone https://github.com/nafizkamal11/Quiz-System.git\n    cd QuizRunner\n    \n    ```\n    \n2. Open the project in your preferred IDE.\n3. Run the `QuizRunner.java` file.\n4. Choose your role when prompted:\n    - **Admin**: Create quizzes.\n    - **Student**: Attempt quizzes.\n\n## 📋 JSON File Structure\n\n### users.json\n\nStores user credentials and roles:\n    \n```json\n[\n  {\n    \"username\": \"admin\",\n    \"password\": \"adminpass\",\n    \"role\": \"admin\"\n  },\n  {\n    \"username\": \"student\",\n    \"password\": \"studentpass\",\n    \"role\": \"student\"\n  }\n]\n```\n\n### quiz.json\n\nStores quiz questions:\n    \n```json\n[\n  {\n    \"answerkey\": 2,\n    \"option 3\": \"A well-designed user interface.\",\n    \"option 4\": \"Efficient algorithm performance.\",\n    \"question\": \"5. What does the term 'bug' refer to in software testing?\",\n    \"option 1\": \"An intentional feature added to the software.\",\n    \"option 2\": \"An error or flaw in the software.\"\n  }\n]\n```\n\n## 📡 Future Enhancements\n\n- Add support for multiple-choice answers.\n- Implement a web interface for better user experience.\n- Use a database for better scalability.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafizkamal11%2FQuiz-System","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnafizkamal11%2FQuiz-System","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafizkamal11%2FQuiz-System/lists"}