QUIZ SYSTEM - Computer Programming


C C++ Java Python Perl Programs Examples with Output -useful for Schools & College Students

Friday, April 1, 2011



Problem Statement

Online Quiz System has to be developed for conducting a quiz as part of Department Technical symposium RECCA.
The System developed should contain following features
1. The number of participants should be of 30.
2. The duration for quiz is 30 minutes so a timer has to kept which should show time duration.
3. The number of questions should be 40 chosen randomly from the database in 3 different areas namely
i) Information Technology  ii) logical reasoning and iii) General Knowledge.
4. The questions should be of objective type with multiple options. For each correct answer the participant will receive 1Point and wrong answer .25Point will be deducted for each wrong answer.
5. At the end of the quiz the user score will be displayed.
6. Once a Student answered for question he can’t changes his answer later.


2.1Brief Description
The use case describes how a Participant logs into the Quiz System

2.2 Flow of Events

2.2.1 Basic Flow

This use case starts when the Participant wishes to Login to the Quiz System
1. The System requests that the participant enter his/her name and password
2. The participant enters his/her name and password
3. The System validates the entered name and password and logs the participant into the System

2.2.2 Alternative Flows

Invalid Name/Password
If, in the Basic flow, the participant enters an invalid name and/or password, the system displays an error message. The participant chooses to either return to the beginning of the Basic flow or cancel the login, at which point the use case ends.

2.3 Special Requirements

The Number of participants should be 30

2.4 Pre-Conditions


2.5 Post-Conditions

If the use case was successful, the participant is now logged into the system. If not, the system State is unchanged.

2.6 Extension Points


3. Select Options to Answer

3.1 Brief Description

This use case allows the Participant to select appropriate answer to the question.

3.2 Flow of Events

3.2.1 Basic flow

This use case starts when the participant logs into the system. The Participant will be given a set of questions with answers in multiple options. The participant selects the answer from the set of options. Once the participant answered for a question next question will be displayed.

3.2.1 Alternate Flow

Once the time slot allotted for the participant is over scorecard will be displayed.

3.3 Special Requirements


3.4 Pre-Conditions

The Participant must login into the System for answering the question

3.5 Post-Conditions

If the use case was successful, the participant will be able to view the next question.

3.6 Extension Points


4. Display Score Card

4.1Brief Description

The use case gives the scorecard along with No of Correct and wrong answers

4.2 Flow of Events

4.2.1 Basic Flow

Once the participant had completed answering to the questions within the stipulated time, he/she will be given a scorecard with final score.

4.2 Alternative Flow


4.3 Special Requirements


4.4 Pre-Conditions

The participant should have completed the questions within stipulated time.

4.5 Post-Conditions

If the use case was successful, the participants can logout from the system

4.6 Extension Points


5. Winner List

5.1Brief Description

This use case gives winner list based on the scores obtained by the participant

5.2 Flow of Events

5.2.1 Basic Flow

This use case gives the coordinator the winner list based on the scored obtained

5.2.2 Alternative Flow

If the coordinator logged into the system even before the quiz was over he will empty

5.3 Special Requirements



If all the participants had answered for the questions then the winner list has to be generated.



5.6Extension Points




1. Introduction

This document is used to define terminology specific to the problem domain, explaining terms, which may be unfamiliar to the reader of the use-case description or other project documents. Often, this document can be used as an informal data dictionary, capturing Data definitions so that use-case descriptions and other project documents can focus on what the system must to with the information.

2. Definitions

The glossary contains the working definitions for the key concepts in the Quiz system.

2.1 Participant

A Person he or she who participates in the Quiz Competition.

2.2 Login Form

Checks for Participant Name and password of the participant.

2.3 Questions for the Quiz

Questions for the quiz to selected from 3 different tables namely I.T., Logic and GK

2.4 Coordinator

Person who conducts the quiz

2.5 Score Card

Which displays the scores obtained by the participant.

2.6 Timer Display

Timer Display which displays the time left for answering.

2.7 Schedule

Time allotted for a Participant.


Quiz System Supplementary Specification

1. Objectives

The purpose of this document is to define requirements of the Quiz System. This Supplementary Specification lists the requirements that are not readily captured in the use cases of the use case model. The Supplementary Specifications and the use-case model together capture a complete set of requirements on the system.
2. Scope

This Supplementary Specification applies to Quiz system, which will be developed by the OOAD students.
This Specification defines the non-functional requirements of the system; such as reliability, usability, performance, and supportability, as well as functional requirements that are common across a number of use cases.

3. References


4. Functionality

Multiple users must be able to perform their work concurrently If the Participant completes 30Mins allotted for him/her, he or she should notified with message your time slot is over.

5. Usability

The desktop user-interface shall be Windows 95/98/2000/xp compliant.

6. Reliability

The System should function properly for allotted time slot and produces score card with no more than 10% down time.

7. Performance

1. The System shall support up to 500 simultaneous users against the central database
At any given time and up to 500 simultaneous users against the local servers at any one time.
2. The System must be able to complete 80% of all transactions within 2 minutes.

8. Supportability


9. Security

1.The System should secure so that only registered participant can take part in Quiz.
2.Once the participant had answered for a question he/she can’t change the answer later.

10. Design Constraints.

The system shall provide a window-based desktop interface.

Use case diagram for Online Quiz System:

No comments:

Post a Comment