Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

Project Report

Q&A Web Application


Software Engineering & Information System Design
CSE-411 (02)

Submitted to:
Dr. Mohammad Salah Uddin
Assistant Professor
Department of Computer Science & Engineering
East West University

Submitted By:
Shahriar Imon
ID: 2017-3-60-012
Sumit Kundu
ID: 2017-3-60-098

Department of Computer Science & Engineering


East West University

Date of Submission: 25.12.2021


Problem statement:
We learn things through asking questions. We ask questions and getting help with
the following answers not only for understanding, but also for self-development
and solving our primary difficulty. We begin by asking of persons in our close
surroundings, such as family, friends, neighbors, teachers, or those we are familiar
with. And they do as much as they can to reply to them. Limitation, on the other
hand, comes sooner or later. We are faced with a problem that needs the help of
professionals. And here is where the problem arises, we do not have enough
technological competence at our reach.

Proposed solution:
In the current keyword research idea, the Question and Answering (Q&A) system
plays an important role. In most Q&A systems, natural language processing is used
to ask users questions, and several steps are taken to turn questions to request form
in order to get an exact answer. Answer with the most votes stay at the top,
showing that the solution has already been identified. As a result, the quality of the
content determines how far the discussion progresses.

Feasibility studies:
Users contribute a large quantity of knowledge to technical questions and answers
(Q&A) websites. Developers are particularly active on these Q&A websites, as
they are continuously confronted with new development issues that need the
assistance of other specialists. Several incentive systems have been developed by
Q&A website designers throughout the years to motivate users to answer questions
that have been asked by others. However, existing reward schemes place a greater
emphasis on the number and quality of replies rather than promoting quick
responses to queries. On such Q&A websites, increasing the speed of receiving a
response may dramatically enhance the user experience and maximize user growth
and also data security is the most difficult aspect of developing a user-friendly
online application. our top aim will be to secure user information and provide the
best possible app security by providing a simple and intuitive user experience.
Software requirement:
There are two types of requirement,
1. Functional requirement.
2. Non-Functional requirement.

Functional Requirement:
• User registration: Any user can register on the website.
• User login: This is the login form from where user can login to the system.
• Users can ask any question and can answer any question.
• User cannot use any offensive word to their statement.
• Other users can give their opinion on the given answer, can argue.
• User can rate an answer which one is most relevant.

Non-Functional Requirement:

• Usability: The system should be simple to learn and run for users.
• Application reliability: The framework should be secured such that one
registered user cannot see the details of another registered user.
• Ensuring data security: Users should not be able to directly scan or display
data in the database.
• The program is compatible with Google Chrome, Mozilla Firefox and
Windows Explorer on any platform.
• It should be available for all time so that users can access it any time they
choose.
Use case diagram:

Use case descriptions:


Use Case [1] login
Goal in Context This use case allows a user to login in
the system
Preconditions User account already registered in
server
Success end Condition User successfully login in the system
Failed end Condition User cannot login in the system
Primary Actor user
Secondary Actors Q&A system server
Trigger User need to input necessary login
information
Description STEP ACTION
1 User input email
2 User input
password
3 Establish
connection
between user
database and
form
4 System check
the inputted
information
5 If information
matched then
login successful
6 Navigate to the
home page
Extensions STEP ACTION
or Variations 1 If information
not matched
then login failed
2 Navigate to login
page again

Use Case [2] Ask question


Goal in Context This use case allows a user who
already login in the system to post
question which the system allows.
Preconditions User already login in the system
Success end Condition User question will post
Failed end Condition User question will not post
Primary Actor user
Secondary Actors Q&A system server
Trigger User need to input write question
without using offensive word
Description STEP ACTION
1 User input
question
2 Establish
connection
between user
database and
form
3 System check
the inputted
question
4 If question does
not contain any
offensive word
then question
will be
successfully
posted.
5 Navigate to the
home page
Extensions STEP ACTION
or Variations 1 If question
contains any
offensive word
then question
will not post and
says “Hey! don’t
use offensive
word”
2 Navigate to
home page.

Use Case [3] Give answer


Goal in Context This use case allows a user who
already login in the system to write
answers of already posted questions
which the system allows.
Preconditions Question already posted by other
users
Success end Condition User answer will post
Failed end Condition User answer will not post
Primary Actor Other user
Secondary Actors Q&A system server
Trigger User need to write answer without
using offensive word
Description STEP ACTION
1 User need to
select the
particular
question to
answer
2 Navigate to the
selected
question page
3 User input
answer
4 Establish
connection
between user
database and
form
5 System check
the inputted
answer
6 If answer does
not contain any
offensive word
then answer will
be successfully
posted.
7 Navigate to the
answered
question page
Extensions STEP ACTION
or Variations 1 If answer
contains any
offensive word
then answer will
not post and
says “Hey! don’t
use offensive
word”
2 Navigate to
same page.

Use Case [4] Reply answer or comment


Goal in Context This use case allows a user to write
comments of answers which the
system allows.
Preconditions Answer already posted by other
users or him/her.
Success end Condition User comment will post
Failed end Condition User comment will not post
Primary Actor User, Other user
Secondary Actors Q&A system server
Trigger User need to write comment without
using offensive word
Description STEP ACTION
1 User need to
select the
particular
answer to
comment
2 Navigate to the
selected answer
page
3 User input
comment
4 Establish
connection
between user
database and
form
5 System check
the inputted
comment
6 If comment does
not contain any
offensive word
then answer will
be successfully
posted.
7 Navigate to the
answered
question page
Extensions STEP ACTION
or Variations 1 If comment
contains any
offensive word
then comment
will not post and
says “Hey! don’t
use offensive
word”
2 Navigate to
selected
question page.

Use Case [5] Vote answer


Goal in Context This use case allows user to give vote
to answers.
Preconditions Answer already posted by other
users.
Success end Condition Answer vote will added or subtracted
Failed end Condition Answer vote will not added or
subtracted
Primary Actor User, Other user
Secondary Actors Q&A system server
Trigger User need select the vote buttons
Description STEP ACTION
1 User need to
select the
particular
answer to vote
2 Navigate to the
selected answer
page
3 User select vote
4 Establish
connection
between user
database and
form
6 Vote will added/
subtracted
based on upvote
or downvote
selection.
7 Navigate to the
answered
question page
Extensions STEP ACTION
or Variations

Use Case [6] Edit profile


Goal in Context This use case allows user who
already registered in system server
to update their own profile
information’s.
Preconditions User already login in the system
Success end Condition User update their profile
Failed end Condition User cannot update their profile
Primary Actor User, Other user
Secondary Actors Q&A system server
Trigger User need to input necessary
information which he/she wants to
update
Description STEP ACTION
1 User need to
click the profile
2 Navigate to the
profile page
3 User edit the
information’s
and click the
submit button
4 Establish
connection
between user
database and
form
5 System check
the inputted
information
6 System update
the
information’s
7 Navigate to the
profile page
8 Show message
profile updated
successfully
Extensions STEP ACTION
or Variations

Use Case [7] Delete user


Goal in Context This use case allows admin who is
moderator of the system to delete a
user account.
Preconditions admin already login in the system
Success end Condition Admin delete user account
Failed end Condition Admin can’t delete user account
Primary Actor Admin
Secondary Actors Q&A system server
Trigger Admin need to click delete button of
user which he need to delete
Description STEP ACTION
1 Admin input
email
2 Admin input
password
3 Establish
connection
between user
database and
form
4 System check
the inputted
information
5 If information
matched then
login successful
6 Navigate to the
admin
dashboard
7 Click delete
button of which
user need to be
deleted
8 System will
delete the use
account
9 Navigate to the
admin
dashboard
10 Show message
user deleted
successfully
Extensions STEP ACTION
or Variations
Use Case [8] Delete question or answer
Goal in Context This use case allows admin who is
moderator of the system to delete a
user’s question or answer.
Preconditions admin already login in the system
Success end Condition Admin delete user’s question or answer.
Failed end Condition Admin can’t delete user’s question
or answer.
Primary Actor Admin
Secondary Actors Q&A system server
Trigger Admin need to click delete button of
user which he need to delete
Description STEP ACTION
1 Admin input
email
2 Admin input
password
3 Establish
connection
between user
database and
form
4 System check
the inputted
information
5 If information
matched then
login successful
6 Navigate to the
admin
dashboard
7 Admin click the
answer view or
question view
button
8 Navigate to the
view answer or
question page
9 Click delete
button of which
answer or
question need to
be deleted
10 System will
delete the
selected
question or
answer
11 Show message
question or
answer deleted
successfully
Extensions STEP ACTION
or Variations
UML class diagram:
ER diagram:
Sequence diagram:
Login:
Ask Question:

Give answer:
Comments:

Give Vote:
Edit profile:
Deletion:
Activity diagram:

You might also like