Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw an UML ACTIVITY DIAGRAM with vertical swimlanes digitally for the use-case given below. Hand drawings and code are not accepted. USE CASE NAME: Revoke

Draw an UML "ACTIVITY" DIAGRAM with vertical swimlanes digitally for the use-case given below. Hand drawings and code are not accepted.

USE CASE NAME:

Revoke the votes

USE CASE DESCRIPTION:

Voter enter the system to participate an election. Voter clicks the button and list the elections. Voter participate an election. Voter select a candidate to vote for. Voter vote the candidate which their choose. Voter clicks the button and send their vote. System gets the voters vote. System send vote to the database. In database votes are recorded and tally up. After that if voter wants to revoke their vote press the revoke vote button. System checks the vote is revocable or not. If vote is revocable system deletes the vote from database. If not system send notice to voter that says the vote is not revocable.

PRIMARY ACTOR(S):

Voter

SUPPORTNG ACTOR(S):

System that checks that the vote is revocable.

Database that record and tally the votes.

TRIGGERS:

Voter wants to revoke their votes.

PRECONDTON:

Voter must logged in the system.

Voter must particiating an election.

Voter must have voted.

POSTCONDITIONS:

Voters will revoke their votes if its possible.

NORMAL FLOW:

Voter enter the system.

The voter is required to enter their registered account.

Voter logs into the account that registered in the system.

Voter click the election search button.

Voter lists elections to participate.

Voter select election.

System requires the voter informations.

Voter enter their information.

System gets the informations.

System compares the informations with database.

System allows them to participate.

Voter select their candidate.

Voter click the send vote button.

System check the voter information.

System allows voter to send vote.

System gets the vote.

System send vote to the database.

Database record and tally up the votes.

Voter press the revoke vote button.

System check the vote is revocable or not.

Vote is deleted from database.

Vote is revoked.

ALTARNATE FLOW:

2A.If voter does not have a registered account, they are sent to registration page.

3A. If voter entered their username and password incorrectly, they are asked to re-enter.

11A.If the voter is not eligible, system does not allow them the participate.

15A. If voter has previously voted in same election, system does not allow them to vote again.

20A.If vote is not revocable system send notification the voter that says the vote is not revocable.

image text in transcribed

sd SequenceDiagram1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Organizing Your Speech Points

Answered: 1 week ago