EX.
NO:2 DOCUMENT THE SOFTWARE REQUIREMENT SPECIFICATIONS (SRS)-
I. INTRODUCTION:
1.1 Purpose
The purpose of this project is to create a simple and interactive quiz application for users
to test their knowledge in various categories. It presents one question at a time, calculates scores,
and provides feedback at the end. The system helps users track their past scores and best
completion time for self-improvement. It ensures an easy-to-use platform for learning and
assessment.
1.2 Scope
1. Users can select quizzes from different predefined categories.
2. The system presents questions one by one for better focus.
3. Scores are calculated based on correct answers and displayed at the end.
4. Users can view past scores and best completion time for improvement.
5. Stores quiz questions, categories, and user results efficiently in a database.
1.3 Definition,Acronyms and Abbrevations
Quiz – A set of questions designed to test knowledge in a specific category.
MCQ – Multiple Choice Questions
Best Time – The shortest time taken by a user to complete a quiz.
1.4 References
Quiz Application Basics – QuizBasics.com
Developing a Simple Quiz System in Java – GeeksforGeeks
II. OVERALL DESCRIPTION
2.1 Product Perspective
This quiz application is a standalone system designed for users to test their knowledge
across various categories. It provides an interactive experience by displaying one question at a
time and calculating results at the end. The system ensures a simple and efficient way to manage
quizzes, track past scores, and improve learning.
2.2 Product Function
1. Allows users to select a quiz category before starting the quiz.
2. Displays one question at a time with multiple-choice options.
3. Records user responses and calculates the final score.
4. Tracks and displays past scores and best completion time.
5. Shows correct answers at the end of the quiz for learning purposes.
2.3 User Characteristics
Students: Users who want to test and improve their knowledge in various subjects.
General Users: Anyone interested in taking quizzes for fun or self-assessment.
2.4 Constraints
The quiz application requires a stable internet connection if using an online database;
otherwise, it relies on a local database. It supports only multiple-choice questions and does not
include features like audio/video-based questions or advanced analytics.
III. SPECIFIC REQUIREMENT
3.1 Functional Requirements
3.1.1 Quiz Category Selection
The system shall allow users to choose a quiz category before starting the quiz.
3.1.2 Question Display
It shall present one question at a time with multiple-choice options for user interaction.
3.1.3 Answer Submission
The system shall record user-selected answers and proceed to the next question.
3.1.4 Score Calculation
It shall compute the user’s final score based on the number of correct answers.
3.1.5 Result Display
At the end of the quiz, the system shall display the final score along with correct answers.
3.1.6 Past Score Tracking
The system shall store and allow users to view their past scores and best completion time.
3.2 Non Functional Requirement
The system should provide a user-friendly interface for easy navigation and seamless
quiz-taking. It must ensure reliability, quick response time, and efficient data processing for a
smooth user experience.
3.3 Interface requirement
GUI: Designed using JavaFX for an interactive and visually appealing quiz experience.
Database: Uses MySQL to store quiz categories, questions, user scores, and best
completion times.