You are on page 1of 11

SRS for Intelligent Quiz Master

Software Requirements
Specification
for

Intelligent Quiz Master


Version 1.0
Prepared by: Group 34

Members:
Akanksha Kumawat (Y12UC021)
Akshat Kumar (Y12UC024)
Ekshit Nalwaya (Y12UC087)
Parag Saxena (Y12UC173)
Yashvardhan (Y12UC297)

SRS for Intelligent Quiz Master

Table of Contents
Table of Contents ........................................................................................................................... 2
Revision History ............................................................................................................................. 2
1. Introduction ............................................................................................................................. 3
1.1
Purpose ............................................................................................................................ 3
1.2
Document Conventions ................................................................................................... 3
1.3
Intended Audience and Reading Suggestions ................................................................. 3
1.4
Product Scope .................................................................................................................. 3
1.5
References ....................................................................................................................... 4
2. Overall Description.................................................................................................................. 4
2.1
Product Perspective ......................................................................................................... 4
2.2
Product Functions ............................................................................................................ 6
2.3
User Classes and Characteristics ..................................................................................... 6
2.4
Operating Environment ................................................................................................... 6
2.5
Design and Implementation Constraints.......................................................................... 6
2.6
User Documentation ........................................................................................................ 7
2.7
Assumptions and Dependencies ...................................................................................... 7
3. External Interface Requirements ........................................................................................... 7
3.1
User Interfaces ................................................................................................................. 7
3.2
Hardware Interfaces ......................................................................................................... 7
3.3
Software Interfaces .......................................................................................................... 7
3.4
Communications Interfaces ............................................................................................. 7
4. System Features ....................................................................................................................... 8
4.1
Take a Self Quiz .............................................................................................................. 8
4.2
Define and conduct quizes ............................................................................................... 8
4.3
Register and participate in the quiz ................................................................................. 9
5. Other Nonfunctional Requirements..................................................................................... 10
5.1
Performance Requirements............................................................................................ 10
5.2
Safety Requirements ...................................................................................................... 10
5.3
Security Requirements ................................................................................................... 10
5.4
Other Software Quality Attributes ................................................................................. 10
6. Other Requirements .............................................................................................................. 11
Appendix A: Glossary ................................................................................................................. 11
Appendix B: Analysis Models ..................................................................................................... 11
Appendix C: To Be Determined List ......................................................................................... 11

Revision History
Name
Date
Reason For Changes Version
th
Group 34 7 February 2015 Initial Preparation
V 1.0

SRS for Intelligent Quiz Master

1.

Introduction
1.1

Purpose

This software package is developed from scratch to develop a quiz master, that

1.2

Allow moderators to conduct quizzes by providing a joint interface for multiple


teams to participate together.
Letting the Moderators to maintain the question database, and the quiz rules.
Allows generic users to have a random general quiz, which automatically
adapts to their preferences, knowledge.
Maintain users individual score.
Allow users to participate in a quiz conducted by moderators.

Document Conventions

The following documentation conventions are followed in preparing this SRS:

1.3

The priority of a requirement is specified at the end of that requirement using


the notation Priority: nn, where nn is an integer in the range 00 (lowest
priority) to 99 (highest priority).

Intended Audience and Reading Suggestions

This document is created for

1.4

Various organizations who conduct quizzes with multiple teams participating


simultaneously on a local area network.
General users who want to take casual self-quiz and/or want to participate in
quizzes conducted by others.
The software development team for their use in analysing the requirements.

Product Scope

The scope of the to-be-developed Intelligent Quiz Master software package is:

To enable the general end users to use this as a general self-quiz, which
maintains their score and adapts itself to provide adequate challenge to the
users.
To enable participants to participate in quizzes conducted by moderators.
To enable organizations to use this as a replacement for manual quizzes and
provide a better, secure and an automated interface to conduct quizzes among
multiple participants.

SRS for Intelligent Quiz Master

1.5

References

2.

http://io.acad.athabascau.ca/~oscarl/pub/edutainment.pdf
https://www.facebook.com/SmartQuizMasterBhandul
http://the-britannica-quizmaster.software.informer.com/

Overall Description
2.1

Product Perspective

This product is a new, self-contained product which intends to replace the present
manual way of conducting Quizzes.
The Quiz Master functions Part I: Conducting a new quiz:

Start

S1

S2

S3
Stop

Creation of a
new quiz and/or
deletion of an
existing quiz by
an authorized
moderator

Validation of the
fields

Creating the
quiz and
generating the
registration link

SRS for Intelligent Quiz Master

The Quiz Master Functions Part II: Registering for an upcoming quiz:
Decide if entries are available

Start

S1

S2

C1

S3

yes

Stop

no

Register for a quiz


using the provided
link

S4
Validate and check
for availability

Register the
participant and
provide username,
password and the
quiz link
Reject and
close the
registration
screen

Stop

The General User Functions: Playing a quiz


Evaluate the user
response and prepare the
next question.

S3
User quits
Start

S1

C1

no

S2

yes

Start the quiz

Compute the score


and display to the
user

S4

Ask question and


wait for user
response.

Stop

SRS for Intelligent Quiz Master

2.2

Product Functions

This software package is expected to offer the following services:

For Moderators:
o Facility to conduct quizzes with multiple participants.
o Facility to maintain the questions database. Facility to define and maintain
the process flow and eligibility rules of each quiz.
o Facility to keep track of all the participants scores.
For End Users:
o Facility to participate in quizzes conducted by others.
o Facility to take self-quiz and monitor their own progress.

2.3

User Classes and Characteristics

This software package will be used by three categories of users:

2.4

Quiz moderators: These users will use this software package to define, modify
and conduct quizzes at any given time on a local area network.
Participants: They will use the software package to register themselves and to
participate in quizzes being conducted by moderators at any given time.
General users: They will use the software package as a self-assessment quiz and
monitor their own progress.

Operating Environment

This software package is accepted to work in the following atmosphere:

2.5

Microsoft Stack consisting of


o MS Windows Vista and higher versions based thin client
o C++
o Visual Studio
o Apache HTTP Server 2.2 and higher

Design and Implementation Constraints


This software package will not carry over the details of the participants of the
previous quizzes, i.e., new entries for each participants taking the quiz is
mandatory.
This software package allows simultaneous connection of up to four
participating teams, provided they are all connected on a local area network.
Registrations of participants for a particular quiz will be made on a first come
first serve basis. No new registration will be made after four entries have
already been made.
There will be no connectivity provided with the internet.
In case a registered team does not enter the quiz it will be automatically
disqualified from the quiz.
In case no team shows up then the quiz will be considered as dropped.
6

SRS for Intelligent Quiz Master

2.6

2.7

3.

User Documentation
Video tutorials for this software package will be provided on the internet for
each of the three types of users.
This software package will come with an user manual on how to use the
facilities available for the different types of users.
The details of the Analysis, Design, and Test Cases of this software package
will be delivered along with this software.

Assumptions and Dependencies


Assumptions: All the participants are required to have this software package in
order to participate in the quiz.
Dependencies: Boost(Third party Library for C++ programming Language) will
be used.

External Interface Requirements


3.1

3.2

User Interfaces

To take a Self-quiz and check the score.


To register in an upcoming Quiz.
To enter in an ongoing quiz.
To login as a moderator.
o To schedule and conduct a new quiz.
o To monitor the ongoing quiz.
o To maintain a question database.
o To view the details of all the past quizzes

Hardware Interfaces

Nil

3.3

Software Interfaces

This software package should have an interface with:

3.4

The question database stored in a XML file.


The scoreboard and quiz history stored in a XML file.
Boost Libraries

Communications Interfaces
The clients will connect to the server through TCP ports.
Data will be exchanged through packets transferred over FTP protocol.
Synchronous connection will be stabilised between the client and the server,
tracked with accurate timestamps.
In case of high latency or communication error the server will halt till the issue
is fixed.
7

SRS for Intelligent Quiz Master

4.

System Features
The requirements of this software package are described per each category of User:

All requirements of the Quiz Moderators


All requirements of the Quiz Participants
All requirements of the General Users

Business Use Case # 1: All the Requirements of the General User:

4.1 Take a Self-Quiz


4.1.1 Description and Priority
The TBD (to-be-developed) software package should facilitate the General User
to,

Take a self-quiz
View score

The priority of this requirement is 99.

4.1.2 Stimulus/Response Sequences


Sr No
1

Stimulus from the User


The User starts the quiz

The user selects an option

The User chooses to quit the quiz

Response from the Software


Depending upon the previous
records the software stars the
quiz and ask the first question;
Depending on the answer the
software informs whether the
selected option is correct or not
and ask the next question;
The software ends the quiz
compute the final score and
display it to the user;

SRS for Intelligent Quiz Master

Business Use Case # 2: All the Requirements of the Moderators:

4.2 Define and Conduct Quizzes


4.2.1 Description and Priority
The TBD (to-be-developed) software package should facilitate the Moderators to,

Define and conduct a new quiz, its associated process flow and eligibility
rules, underwriting rules and approval rules.
Cancel the upcoming quiz.
Modify the question database.
Monitor an ongoing quiz and authority to disqualify any team.
View the past scoreboard and the entire quiz history.
The priority of this requirement is 90.

4.2.2 Stimulus/Response Sequences


Sr No
1

Stimulus from the User


Response from the Software
Moderators logs-in using user-id Software will validate the userand password
id and password; Software will
display the Quiz Master Initial
Screen by recognizing the userid;
Moderator chooses the Conduct The software will display the
a New Quiz option
form to enter the details of the
new quiz and all the associated
rule-sets;
Moderator will enter all the fields Software will validate all the
of the new quiz and also will fields and generate the link
enter all the associated rule-sets
through which participates will
be able to register for the quiz;
The Moderator can choose to Depending on the outcome the
modify the database by supplying software will print either
an XML file
Imported Successfully OR
Imported Unsuccessfully;
Moderator can choose to monitor Software will display the
an ongoing quiz
scoreboard along with the
questions that have been asked
and their responses that have
been entered;

Business Use Case # 3: All the Requirements of the Participants:

4.3 Register and participate in the quiz


4.3.1 Description and Priority
The TBD (to-be-developed) software package should facilitate the Moderators to,
Register in an upcoming quiz.
Participate in an ongoing quiz.
View the final result.
The priority of this requirement is 80.
9

SRS for Intelligent Quiz Master

4.3.2 Stimulus/Response Sequences


Sr No
1

Stimulus from the User


Response from the Software
The Participants registers for the The software validates the link
quiz using the provided link
if the link is valid it checks for
availability, if available it
registers the participant and
provide a username and
password;
The participant logs-in to an The software will validate the
ongoing quiz by providing its username, password, and link,
username and password along upon recognizing the software
with the contest link
will display the quiz lobby;

Other Stimuli and responses are described in table 4.1.2.

5.

Other Non-functional Requirements


5.1

Performance Requirements
Each transaction (situation-response case), on an average taken for a duration of
100 hours or till 1000 transactions are successfully completed, should have a turnaround time of less than 5 seconds under the following load on the software:
There are 5 users accessing this software at a given time.
There are 10,000 questions in the database.

5.2

Safety Requirements
The network system and the connection will not be vulnerable to spam and
DDoS attacks.
Synchronous connections between the clients and the server will be
maintained.
In case of file corruption, a backup of the question database will be provided
to the moderators.

5.3

Security Requirements
This software package should:
Authenticate each moderator who logs-in.
Authenticate each registered participants for an ongoing quiz.
Use a 64 bit key to encrypt all the questions and responses transferred to and
from the thin client and the server; similarly, encrypt all the questions that is
stored in the XML files.

5.4

Software Quality Attributes


Nil

10

SRS for Intelligent Quiz Master

Other Requirements

6.

Nil

Appendix A: Glossary

Visual Studio: Microsoft Visual Studio is an integrated development environment (IDE)


from Microsoft. It is used to develop computer programs for Microsoft Windows, as well
as web sites, web applications and web services. Visual Studio uses Microsoft software
development platforms such as Windows API, Windows Forms, Windows Presentation
Foundation, Windows Store and Microsoft Silverlight. It can produce both native
code and managed code.
DDoS Attacks: A denial-of-service (DoS) or distributed denial-of-service (DDoS) attack is
an attempt to make a machine or network resource unavailable to its intended users.
XML File: Extensible Markup Language (XML) is a markup language that defines a set of
rules for encoding documents in a format which is both human-readable and machinereadable. It is defined by the W3C's XML 1.0 Specification and by several other related
specifications, all of which are free open standards.

11