0% found this document useful (0 votes)
54 views

QUIZ in C#

The document describes a quiz application that allows users to take quizzes on various topics like science, states, movies, etc. It calculates scores for correct answers but does not penalize for wrong answers. The main objectives of the application are to create a user-friendly environment for taking quizzes, reduce manual effort compared to traditional paper quizzes, and generate scores and results automatically. The proposed system would allow users to take an unlimited number of quizzes on their Android devices after logging in, unlike other quiz websites that require creating a new account for each quiz.

Uploaded by

Vaibhav Jajodiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

QUIZ in C#

The document describes a quiz application that allows users to take quizzes on various topics like science, states, movies, etc. It calculates scores for correct answers but does not penalize for wrong answers. The main objectives of the application are to create a user-friendly environment for taking quizzes, reduce manual effort compared to traditional paper quizzes, and generate scores and results automatically. The proposed system would allow users to take an unlimited number of quizzes on their Android devices after logging in, unlike other quiz websites that require creating a new account for each quiz.

Uploaded by

Vaibhav Jajodiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 50

INTODUCTION

Quiz Application is a C# application that has general questions related


to science, states, capitals, movies etc. It has multiple choice questions
with no time limit and it also calculate scores of each correct answer. It
is good for students of every age group it helps in increasing general
knowledge about world, sports and movies etc. The application helps
the user to increase his/her knowledge.
Before start of the quiz, the rules and regulations are that it includes
description of the genre of questions you want to answer, number of
questions to be answered and scoring methods. Quiz is started by
displaying one question with options each based on science, states,
capitals, movies etc. If the answer is correct, score is incremented by 10
points and no negative marks for wrong answers. After a few limited
question's answer quiz application will finally direct you to the score
page.
The main objective of "Quiz Application" is to facilitate a user friendly
environment for all users and reduces the manual effort. In past days
quiz is conducted manually but in further resolution of the technology
we are able to generate the score and pose the queries automatically.
The functional requirements include the users that are going to
participate in the quiz, automatic score generated, etc.

Problem Definition:
Quiz Contest is an application developed to conduct a quiz based on
time constraints. Quiz Contest system is accessed by entering the user
name and password which is added to the database. Before start of the
quiz, the rules and regulations are displayed that includes description of
the time limit, number of questions to be answered and scoring
methods. Quiz is started by displaying one question with four options
each based on computer and general knowledge. If the answer is
correct, score is incremented by four and no negative marks for wrong
answers. If the time exceeds 20secs next question will come
automatically after giving few limited question's answer quiz
application will finally direct you to the score page. Final score will be
displayed and updated in the database with username.

Aim and Objective:


 Aim:
“Our aim is to develop an
application for the users in
which a user can attempt any
number of
quizzes related to his/her
choice.”
 Objective:
The main objective of “Quiz
Application” is to facilitate a
user friendly environment for
all users
and reduces the manual effort.
In past days quiz is conducted
manually but in further
resolution
of the technology we are
able to generate the score
and pose the queries
automatically. The
functional requirements include
creating users that are going to
participate in the quiz,
automatic
score and report generation and
administrative tasks like add,
delete, update for admin
privilege
users. In this application, all the
permissions lies with the
administrator i.e., specifying the
details
of the quiz with checking
result will show to
interviewee or not, addition
of question and
answers, marks for each
question, Set timer for each quiz
and generate report with score
for each
quiz.
Aim and Objective:
 Aim:
“Our aim is to develop an
application for the users in
which a user can attempt any
number of
quizzes related to his/her
choice.”
 Objective:
The main objective of “Quiz
Application” is to facilitate a
user friendly environment for
all users
and reduces the manual effort.
In past days quiz is conducted
manually but in further
resolution
of the technology we are
able to generate the score
and pose the queries
automatically. The
functional requirements include
creating users that are going to
participate in the quiz,
automatic
score and report generation and
administrative tasks like add,
delete, update for admin
privilege
users. In this application, all the
permissions lies with the
administrator i.e., specifying the
details
of the quiz with checking
result will show to
interviewee or not, addition
of question and
answers, marks for each
question, Set timer for each quiz
and generate report with score
for each
quiz.
Aim and Objective:
 Aim:
“Our aim is to develop an
application for the users in
which a user can attempt any
number of
quizzes related to his/her
choice.”
 Objective:
The main objective of “Quiz
Application” is to facilitate a
user friendly environment for
all users
and reduces the manual effort.
In past days quiz is conducted
manually but in further
resolution
of the technology we are
able to generate the score
and pose the queries
automatically. The
functional requirements include
creating users that are going to
participate in the quiz,
automatic
score and report generation and
administrative tasks like add,
delete, update for admin
privilege
users. In this application, all the
permissions lies with the
administrator i.e., specifying the
details
of the quiz with checking
result will show to
interviewee or not, addition
of question and
answers, marks for each
question, Set timer for each quiz
and generate report with score
for each
quiz.
Aim and Objective:
 Aim:
“Our aim is to develop an
application for the users in
which a user can attempt any
number of
quizzes related to his/her
choice.”
 Objective:
The main objective of “Quiz
Application” is to facilitate a
user friendly environment for
all users
and reduces the manual effort.
In past days quiz is conducted
manually but in further
resolution
of the technology we are
able to generate the score
and pose the queries
automatically. The
functional requirements include
creating users that are going to
participate in the quiz,
automatic
score and report generation and
administrative tasks like add,
delete, update for admin
privilege
users. In this application, all the
permissions lies with the
administrator i.e., specifying the
details
of the quiz with checking
result will show to
interviewee or not, addition
of question and
answers, marks for each
question, Set timer for each quiz
and generate report with score
for each
quiz.

Objective:

The main objective of “Quiz Contest” is to facilitate a user friendly


environment for all users and reduces the manual effort. In past days
quiz is conducted manually but in further resolution of the technology
we are able to generate the score and pose the queries automatically.
The functional requirements include to create users that are going to
participate in the quiz, automatic score and report generation and
administrative tasks like add, delete, update for admin privilege users.
In this application, all the permissions lies with the administrator i.e.,
specifying the details of the quiz with checking result will show to
interviewee or not, addition of question and answers, marks for each
question, Set timer for each quiz and generate report with score for
each quiz.
Proposed System:

Unlike the websites where you need to make account for every
quiz you want to play, using this application based on android,
you just have to login by user name and password and then you
will get access to all quizzes from it. The proposed system is an
application for the Android platform mobiles will help in
improving the knowledge and accuracy. Android is a Linux-based
operating system designed primarily for touch screen mobile
devices such as smart phones and tablet computers, developed
by Google in conjunction with the Open Handset Alliance.
The proposed system will be developed for Android mobiles only
because the market share of Android is more than other
operating systems.

Scope Of The Project


It may help collecting perfect management in details. In a
very short time, the collection will be obvious, simple and
sensible. It will help a person to know the management of
passed year perfectly and vividly. It also helps in current all
works relative to Inventory. It will be also reduced the cost of
collecting the management & collection procedure will go on
smoothly.

The present project has been developed to meet the


aspirations indicated in the modern age. An attempt has
been made through this project to do all work ease & fast. It
provide current add, Update, Move Next, Move Previous ,
Move Last, Find & Delete all facilities to accomplish the
desired objectives. The facility Include in this project and the
suggested activities have been organized to impart
knowledge & develop skill & attitude in the Service official
works.

(i) System Design (Introduction):


The systems objectives outlined during the feasibility
study serve as the basic from which the work of system
design is initiated. Much of the activities involved at this
stage is of technical nature requiring a certain degree of
experience in designing systems, sound knowledge of
computer related technology and through understanding of
computers available in the market and the various facilities
provided by the vendors. Nevertheless, a system cannot be
designed in isolation without the active involvement of the
user. The user has a vital role to play at this stage too. As we
know that data collected during feasibility study wills we
utilized systematically during the system design. It should,
however be kept in mind that detailed study of the existing
system is not necessarily over with the completion of the
feasibility study. Depending on the plan of feasibility study,
the level of detailed study will vary and the system design
stage will also vary in the amount of investigation that still
needs to be done. This investigation is generally an urgent
activity during the system. Sometimes, but rarely, this
investigation may form a separate stage between feasibility
study and computer system design. Designing a new system
is a creative process, which calls for logical as well as lateral
thinking. The logical approach involves systematic moves
towards the end product keeping in mind the capabilities of
the personnel and the equipment at each decision making
step. Lateral thought implies encompassing of ideas

Beyond the usual functions and equipment. This is to ensure


that no efforts are being made to fit previous solutions into
new situations.

ii) Considerations: System Design

The system design process is not a step-by-step adherence of


clear procedures and guidelines. Though, certain clear
procedures and guidelines have emerged in recent days , But
still much of design work depends on knowledge and
experience of the designer. When designer starts working on
system design, he will face different type of problems. Many
of these will be due to constraints imposed by the user or
limitations of the hardware and software available in the
market. Sometimes, it is difficult to enumerate the
complexity of the problems and solutions thereof since the
variety of likely problems is so great and no solutions are
exactly similar.

iii)Design Objectives:

The primary objective of the design of course, is to deliver


the requirements as specified in the feasibility reports. In
general the following design objectives should be kept in
mind.

Practicality

The system must be stable and can be operated by people


with average.

Efficiency

This involves accuracy, timeliness and comprehensiveness to


the system output.
Cost

It is desirable to aim for a system with a minimum cost


subject to the condition that it must satisfy all the
requirements.

Flexibility

The system should be modifiable depending on the changing


needs of the user. Such modifications should not entail
extensive reconstructing or recreation of software. It should
also be portable to different computer systems.

Security

This is very important aspect of the design and should cover


areas of hardware reliability, fall back procedures, physical
security of data and provision for detection of fraud and
abuse.
System design involves first logical design and then physical
construction of the system. The logical design describes the
structure and characteristics of features, like the outputs,
inputs, files, database and procedures. The physical
construction, which follows the logical design, produces
actual program software, files and a working system.
System Configuration

i) HARDWARE CONFIGURATION:

CPU TYPE : Dual Core


CPU CLOCK MEMORY : 2.66 GHz Extend
RAM DDR II : 2 GB
Disk drive : DVD Writer
Keyboard : Any
Display type : LCD monitor
Printer type : laser print
Speed : 1.1 GHz
Hard Disk : 500 GB
Mouse : optical
ii) SOFTWARE CONFIGURATION:

Operating System : Windows 7


Front End : .net
Back End : MS Access
Software Selection

OPERATING SYSTEM

Operating system software is a class of program which


manages the resources of the computer processing command
and control program execution as the translation of all
computer operations. It is most complex program executed
on the complex yet must also be the most reliable. An
operating system irrespective of whether it is being used on a
microcomputer, minicomputer or mainframe computer. An
operating system plays three basic roles as a manager, as a
command processor and as a controller. An operating system
can be a single user, a multiuser, a multitasking in this project
we have used Window 7 and MS Dos as operating system.

M.S.WORD
Microsoft word was first released in 1983 under the
name multi-tool word for system versions were later written
for several other platforms. It became part of the suite, in
which it is referred to as Microsoft office word, although it is
still also sold as a standalone product or bundled with a full
featured word processing program for windows and the
Macintosh from Microsoft, it is sophisticated program with
rudimentary desktop publishing capabilities that has become
the most widely used word processing applications on the
market the first various of word come out under dos and
provided both graphics-based and text-based interfaces for
working with a document.

WINDOW 7

The difference being that the server Versions are designed to


be dedicated servers. The clients versions of windows may
also share data over the network and can be configured to
grant access to all are specific files only. Windows PC’s are
used to access a verify of servers on the networks, including
windows servers, UNIX, Linux and network servers and
mainframes. The most widely used operating system for
desktop and Laptop computer developed by the Microsoft
window primarily runs on the x 86-based CPU windows
provide a graphical user interface and desktop environment in
application displayed in resizable movable windows on
screen. Window comes in both client and server various, all
of which support networking Windows 95 was the first 32-bit
windows operating system and a major upgrade from
windows 3.1 it used an entirely different user interface that
incorporated the now common start menu and taskbar. It was
also the first time the computer booted directly into windows,
rather than being loaded after booting up in dos. Windows 98
was an upgrade to Windows 95 that tightly integrated the
internet explorer, web browser with the O/S. In 1999
windows 98 second edition fixed numerous bugs and
upgraded its applications.

MS-DOS

Ms-dos (for micro soft disk operating system) is a


commercialized by Microsoft. It was the most widely used
member of the family of operating system and was the
dominant .The operating system for during the 1980’s it has
gradually been replaced on customer desktop computers with
various generation of the operating system.dos commonly
refers to the family of closely related a single user operating
system from Microsoft for the PC. It was the first O/S for
windows 3.1, 95, 98 , Window NT 2000, XP and 7 emulate
dos in order to support existing dos application.
VB.Net2010

Visual Basic.NET is the next generation of Microsoft's


popular Visual Basic programming languages. Some
programmers refer to the new incarnation as VB.net, but this
is incorrect. VB.net is actually not backwards-compatible
with VB6, meaning that code written in the old version will
not compile under VB.net. In fact, the languages are
sufficiently different that many programmers consider them
independent. As a language, VB.net has the following traits :

Object-Oriented:-
VB.NET included limited support for object-oriented
design. Encapsulation was supported with Public and
Private Data types in Classes, as well as special accessory
/matador Pairs called Properties (a feature unique to Visual
Basic). Polymorphism received crude Support through the
Implements keyword, which would require that one class
implement all of the methods in another, skeleton class.
Inheritance was neglected completely. As of VB.NET, all of
this has changed. As with all 2013 languages, concepts ,
VB.NET includes full-Blown support for object-oriented

Including simple inheritance. Unlike most other OOP


languages, everything in VB.net is an object, including all
of the primitives (Short, Integer, Long, String, Boolean, etc.)
as well as types, events, and even assemblies. Everything
inherits from the Object base class.

Event-Driven:-

All previous versions of Visual Basic.net were event-driven,


but this feature is heavily enhanced under the vb.net
framework. Events are no longer recognized because they use
certain naming convention (Object Name Event Name), but
now are declared with a Handles Object Name. Event Name
clause. Event handlers can also be declared at runtime using
the Add Handler command.
System Analysis

The system analysis part is done by the following six steps

I. Preliminary Investigation
II. Feasibility Study
III. Fact Finding Techniques
IV. Cost Benefit Analysis
V. Entity Relationship Model
VI. Data Flow Diagram
VII. Normalization
i) Preliminary Investigation

   Here in the project Hotel Management System, a detailed


study of existing system is carried along with all the steps in
system analysis. An idea for creating a better project was
carried and the next steps were followed. A detailed study of
the process must be made by various techniques like
interviews, questionnaires etc. The data collected by these
sources must be scrutinized to arrive to a conclusion. The
conclusion is an understanding of how the system functions.
This system is called the existing system. Now the existing
system is subjected to close study and problem areas are
identified. The designer now functions as a problem solver
and tries to sort out the difficulties that the enterprise faces.
The solutions are given as proposals. The proposal is then
weighed with the existing system analytically and the best
one is selected. The proposal is presented to the user for an
endorsement by the user. The proposal is reviewed on user
request and suitable changes are made. This is loop that
ends as soon as the user is satisfied with
proposal.  Preliminary study is the process of gathering and
interpreting facts, using the information for further studies
on the system. Preliminary study is problem solving activity
that requires intensive communication between the system
users and system developers. It does various feasibility
studies. In these studies a rough figure of the system
activities can be obtained, from which the decision about the
strategies to be followed for effective system study and
analysis .

ii) Feasibility Study

An important outcome of the preliminary


investigation is the determination the at the system
requested is feasible. Feasibility study is carried out to select
the best system that meets the performance requirements.

Feasibility study is both necessary and prudent to evaluate


the feasibility of the project at the earliest possible time. It
involves preliminary investigation of the project and
examines whether the designed system will be useful to the
organization. Months or years of effort, thousand for millions
of money and untold professional embarrassment can be
averted if an in-conceived system is recognized early in the
definition phase.

The different types of feasibility are: Technical feasibility,


Operational feasibility, Economical feasibility.

Technical Feasibility

Technical Feasibility deals with the hardware as well as


software requirements. Technology is not a constraint to
type system development. We have to find out whether the
necessary technology, the proposed equipments have the
capacity to hold the data, which is used in the project, should
be checked to carry out this technical feasibility.
The technical feasibility issues usually raised during
the feasibility stage of investigation includes these

 This software is running in windows 2000 Operating


System, which can be easily installed.

 The hardware required is Pentium based server.


 The system can be expanded.

Behavioral Feasibility

This feasibility test asks if the system will work when it is


developed and installed Operational feasibility in this
project:

 The proposed system offers greater level of user-


The proposed system produces best results and gives

high performance. It can be implemented easily .So this

project is operationally feasible.


Economical feasibility

Economical Feasibility deals about the economical impact


faced by the organization to implement a new system.
Financial benefits must equal or exceed the costs. The cost of
conducting a full system, including software and hardware
cost for the class of application being considered should be
evaluated. Economic Feasibility in this project:

The cost to conduct a full system investigation is possible.

iii) Fact Finding Techniques

The various document of the office was studied and after a


short interview the fact finding was finished and certain

questions were arising that:

1. Whether there is any problem of retrieval.


2. Whether there is any extra Guide needed.

3. Whether you want the proposed system of Hardware


detailing.

4. Whether the office member is benefited or not.

5. Whether they are ready to accept the changes or not.

And afterwards it was found that:

1. No problem of retrieval.

2. There is no extra Guide is needed.

3. Yes they want the proposed system of Hardware


Detailing.

4. Yes office member is benefited.

5. Yes they are ready to accept the changes.

iv) Cost Benefit Analysis


A system is also expected to provide benefits. The first task
is to identify and then assign a monetary value to it for cost /
benefit analysis.

The two major benefits are improving performance and


minimizing the cost of processing. The performance category
emphasize in the accuracy of the result or access to
information and easier access to the system by authorized
users.

Our software has fulfilled all the benefits very well. Our
software are improving and minimizing the cost of
processing. Our software has controlled error and caused
reduction of staff.

Tangible or Intangible cost and benefits:-

An outlay of case for a special file item or activity is


referred to as a tangible cost. The purchase of hardware
or software, personal training and employees salaries are
examples of tangible cost in our software we have
included training and employee salaries approx 300 /- to
be paid for training and we have saved the salary of 3
employees but training cost is one time cost and hence
we have saved 3 x 5000 = 15000 /- per month.

V) Data Flow Diagram

Data flow oriented techniques advocate that the


major data items handled by a system must be first
identified and then the processing required on these data
items to produce the desired outputs should be determined.
The DFD (also called as bubble chart) is a simple graphical
formalism that can be used to represent a system in terms of
input data to the system, various processing carried out on
these data, and the output generated by the system. It was
introduced by De Macro (1978) , Gane and Sarson (1979).The
primitive symbols used for constructing DFD’s are:

Symbols used in DFD :

A circle represents a process.


A rectangle represents external entity

A square defines a source or destination of the system data.

An arrow identifies dataflow.

Double line with one end closed indicates data store

Data Flow Diagram (DFD):


A data low diagram (DFD) is a graphical representation of
the "low" of data through an information system,
modeling its process aspects. A DFD is often used as a
preliminary step to create an overview of the system.
DFDs can also be used for the visualization of data
processing.
A DFD shows what kind of information will be input to and output
from the system, where the data will come from and go to, and
where the data will be stored. It does not show information
about the timing of process or information about whether
processes will operate in sequence or in parallel.

Level 0 DFD:

Use Case Diagram:


Entity-Relationship Diagram:

Testing Process:
The diagram above outlines the Test
Design
System Test

Organize Design/Build
Project Design/Build Test Proc. Signof

Organize
Project

Process approach that will be followed.

 Organize Project involves creating a System Test Plan,


Schedule & Test Approach, and assigning
responsibilities.

 Design/Build System Test involves identifying Test Cycles,


Test Cases, Entrance & Exit Criteria, Expected Results,
etc. In general, test conditions/expected results will be
identified by the Test Team in conjunction with the
Development Team. The Test Team will then identify
Test Cases and the Data required. The Test conditions
are derived from the Program Specifications Document.

 Design/Build Test Procedures includes setting up


procedures such as Error Management systems and
Status reporting.

 Build Test Environment includes requesting/building


hardware, software and data setups.

 Execute System Tests identified in the Design/Build Test


Procedures will be executed. All results will be
documented and Bug Report Forms filled out and given
to the

Development Team as necessary.

 Sign of happens when all pre-denied exit criteria have


been achieved.

 Testing Strategy :
The following outlines the types of testing that will be done
for unit, integration, and system testing. While it includes
what will be tested, the specific use cases that determine
how the testing is done will be detailed in the Test Design
Document. The test cases that will be used for designing use
cases is shown below.

vi) Normalization

Normalization is a data analysis technique that


organizes the data such that they are grouped to form non-
redundant, stable, flexible and adaptive entities.
Normalization is a three stem technique that places the data
moved in 3N forms.
We can easily change the database without rewriting many
or the entire program that used those databases.

We can make our data model as application independent as


possible to encourage the Database structure that can be
extended to modify without impact to current program.

I. Simply stated entity in 1NF if there are no attributes that


can have more than one value for single instance of the
entity any attribute that can have multiple values actually
describe a separate entity possibly an entity and relationship.

II. An entity is in 2NF if it is already in 1NF and if the value of


all non primary key attributes that are dependent on only
part of primary key should be moved to any entity where
that partial key is actually the full key. That may require
creating a new entity and relationship of model.
III. An entity is in 3NF if it is already in 2NF and if the value of it
non primary key attributes that are not dependent on
another non primary key attributes. Any non primary key
attributes that are dependent on other non primary key
attributes must be moved or deleted. Again new entities and
relationship may have to be added to the data model. For
our convenience we have not taken the concept of
Normalization in consideration in our project.
7. Implementation

Implementation is the stage of the project when the


theoretical design is turned out into a working system. Thus
it can be considered to be the most critical stage in achieving
a successful new system and in giving the user, confidence
that the new system will work and be effective.

The implementation stage involves careful planning,


investigation of the existing system and it’s constraints on
implementation, designing of methods to achieve
changeover and evaluation of changeover methods.

Implementation Review:
After the system is implemented and conversion is complete,
user usually conducts a review of the system. User usually
conducts a review of the system.
 In this system all Requirements are fulfills.
 The user can easily insert, update and delete the
record in Efficient way.
 This system is user-friendly and easily understands.
 User can view the Purchase Report and Sales Report So,
user can speedily work in this system .
 The performance level of users has improved.
 Data record can be easily stored.
DATA DICTIONARY

Field type Appropriate Uses Storage Space

Text Data containing text, Based on


a combination of text what’s actually
and numbers, or stored in the
numbers that don’t field; ranges
need to be included from 0 to 255
in calculations. bytes
Examples are name,
addresses,
department codes,
and phone numbers.
Memo Long text and Ranges from 0
numeric strings to 65,536
Example are notes bytes.
and description
Number Data that’s included 1, 2, 4 or 8
in calculation bytes,dependin
(excluding money). g on the field
size selected (or
Examples are ages,
16
codes (such as
employee IDs),and Bytes for
payment methods Replication ID).
Date/Time Dates and times ex. 8 bytes
Are Date
ordered ,birth date

Auto number Unique sequential or 4 bytes (16


random numbers ex. bytes for
invoice number and replication ID).
project number

DATABASE –DESIGN

A database is an organized mechanism that has the


capability of storing information through which a user can
retrieve stored information in an effective and efficient
manner. The data is the purpose of any database and must
be protected.

The database design is a two level process. In the first step,


user requirements are gathered together and a database is
designed which will meet these requirements as clearly as
possible. This step is called Information Level Design and it is
taken independent of any individual Database Management
System (DBMS).

Organization of the data in the database is aimed to


achieve. In the second step, this Information level design is
transferred into a design for the specific DBMS that will be
used to implement the system in question. This step is called
Physical Level Design, concerned with the characteristics of
the specific DBMS that will be used. A database design runs
parallel with the system design. The following two major
objectives.

 Data Integrity
 Data independence

Conclusion:

Currently there are many medication reminder systems which are


operable manually. Due to increased manual work, the available
system becomes more time consuming. So in the given work, an
attempt has been made to implement fully automatic medication
reminder system. It eases the user’s task of recalling when to
take the medicine by reminding them of the particular medicine
at the correct time thereby reducing the much prevalent manual
work.

You might also like