You are on page 1of 76

Christ the King College School

Website Functional / Technical


Design

Version 0.1

Approvals
Approved By Core Referencing Sections Signature Date

Review History
Date Reviewer Description

Modification History
Version Date Author Description
0.1 9/25/19 Bendanillo, George M. Initial draft
Mobile E-voting System Functional / Technical Design

Table of Contents
1 Functional Specifications...........................................................................................................31.3
Functional Flow/Overview............................................................................................................4
1.4 Open Issues.......................................................................................................................................5
1.5 Assumptions.....................................................................................................................................5

2 TECHNICAL SPECIFICATIONS............................................................................................6

2.1 Technical Design RTIT31................................................................................................................6


2.1.1 Design Overview........................................................................................................................6
2.1.2 Module Specification..................................................................................................................7
2.1.3 Data Flow...................................................................................................................................8
2.1.4 Data Mapping............................................................................................................................8
2.1.5 Program Flow..........................................................................................................................15
2.1.6 Error Handling.........................................................................................................................15
2.1.7 Special Considerations for Testing...........................................................................................15

3 APPENDIX.................................................................................................................................17

3.1 Flow chart shapes..........................................................................................................................17

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 2 of 76

File name: 479973881.doc


Mobile E-voting System Functional / Technical Design

1 Functional Specifications

Design Overview
Interface ID / Christ the King College School Website
Description
Impacted Business Current using pubic social networking site
Processes
Life Span Long term
Source System N/A
Target System N/A
Business Frequency High
Interface Frequency High
Interface Owner N/A
Business Trigger To Students and officials to maximize efficiency and convenience of
information
Criticality HIGH
Window of operation DESKTOP/MOBILE PHONE

Application Diagram

Christ the King College School Website

Free Open Source Domain

Cloud Server/ Official


Domain

Mobile users CKC Server Desktop Users / Laptop

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 3 of 76

File name: 479973881.doc


Mobile E-voting System Functional / Technical Design

Functional Flow/Overview
Index

Home About Course Event Pages News Contact Search

Event Teacher Info Contact


Home Few Our
Details s Inform
Page / Words Course
/ list of ation
Front About \
Cover the Course Event Gallery
School offer

Error
History Course
Details

A Term of
meeting use /
of general
minds Inform
ation

Coming
soon /
Event
time

Search Result

Profile

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 4 of 76

File name: 479973881.doc


Mobile E-voting System Functional / Technical Design

Open Issues

No. Issue Resolution Status Comments

Assumptions & Agreements

The System enables the users o vote from anywhere and anytime within the alotted time of
the election. The election official would have the ability to add positions, and candidates
and edit informations regarding the election.

Technical Specifications
Execution Module Name Module
Sequence
0001 index.html Home Page
0002 About-us.html School Info
0003 History.htnl A meeting in mind
0004 Course-grid.html List of course
0005 Course-details.html Course Information
0006 Event-page.html Event details
0007 Team.html List of Teachers
0008 Gallery.html School showcase Pictures
0009 404.html Error Message/ error pages request
0010 Privacy.html Term of use
0011 Coming-soon.html Event Time countdown
0012 Search-result.html Search result
0013 Team-member- Member information
profile.html
0014 Grid-news.html Grid news design
0015 News-post-page.html Single post info
0016 Contacts.html Contact info
0017 Php files Database, contact, connect , upload / update,
fonts,elements, template, and validations

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 5 of 76

File name: 479973881.doc


Mobile E-voting System Functional / Technical Design

Technical Design for [Webpage]

1.1 Design Overview


Module Name Homepage Front cover (index.html)
Module Language PHP,HTML5,JAVASCRIPT,CCS 3,AGILE METHODOLOGY,JSON,GOOGLE
FONTS,MYSQL AND XAMPP SERVER
Module Type SCRIPT
Module Description This Fuction let you discover the school etc.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) Product table
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing SELECTION

1.2 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete


SELECTION TABLE

Staging table structure (if applicable)

Field Data Type Field Null Description


Size
n/a n/a n/a n/a
n/a n/a n/a n/a

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 6 of 76

File name: 479973881.doc


Mobile E-voting System Functional / Technical Design

1.3 Data Flow Desktop Display

Mobile Display

1.4 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 7 of 76

File name: 479973881.doc


Star
t
C

1.5 Program Flow


Y N
Searc
h B
Search
1.6
result Index

A D
B
Abou
t
E
Cour
News se
F
H Event
Pages s
G A
I
Conta
ct
K C

D E F

Abou Cour
Home se
t
page
C C
C En
d

Histor Cours
y e
detail
C En
Event C Event En
d
d

G H
Event
C
s
Library System Functional / Technical Design

Grind
news

Event
Singl
detail
e post
news
C En I
d C En
d

Page

Histor
y
C
Teache
r
C
Galler
y
C
Error

C
Term
of use

J C

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 9 of 76

File name: 479973881.doc


Library System Functional / Technical Design

Comin
g Soon

C
Searc
h
Resul
C
t
Membe
r
Profile
En C
d

Contacts

En C
d

1.7 Pseudo Code

BEGIN
CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 10 of 76

File name: 479973881.doc


Library System Functional / Technical Design

IF Usrname NOT EXISTS then


Display message “Please enter a valid username”;
END IF;
Enter Password;
IF Pssword NOT EXISTS then
Display message “Please enter correct password”;
END IF;
Click Login button;
Call Login Frm;
Click CANCEL login;
Return 0;
EXCEPTION

END;

1.8 Error Handling

Exception
IF Usrname => 0 then
Display “OERR: The value you entered is invalid, please enter a valid username.”;
END IF;
IF Pssword (count) => 9 then
Display “OERR: The password you entered is invalid, please enter a valid password.”;
END IF;

1.9

1.10

1.11 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.12 Special Considerations for Testing


 <Any specific testing requirements>

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 11 of 76

File name: 479973881.doc


Library System Functional / Technical Design

No. Test Condition


1 If a user will enter a valid username then the cursor should be placed automatically to the password
field.
2 If a user will enter an invalid username then a pop up message should automatically display stating
“Username does not exists, please enter a valid username”
3 If a user will enter a valid password then the cursor should be placed automatically to the save field.
4 If a user will enter an invalid password then a pop up message should automatically display stating
“password does not exists, please enter a valid password”

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 12 of 76

File name: 479973881.doc


Library System Functional / Technical Design

Technical Design for [ADMIN ]

1.13 Design Overview


Module Name EVote Student Navigation (frmStudentNav)
Module Language PHP HTML & SQL
Module Type Form
Module Description This form Functions is the main navigitation page of the students, in
which they can select the form they want to visit.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) n/a
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing Voters

1.14 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete


n/a

Staging table structure (if applicable)

Field Data Type Field Size Null Description


n/a
n/a

1.15

1.16

1.17

1.18 Data Flow

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 13 of 76

File name: 479973881.doc


Library System Functional / Technical Design

1.19 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 14 of 76

File name: 479973881.doc


1.20 Program Flow

Student Nav

Start

Select Nav

N N
Cast Cast View
Vote? Candidat Election?
es????

Y Y Y

Cast Vote View Candidate View Election

1.21

1.22 Pseudo Code

1.23 If Click Cast Vote button = True then

Display Voting section


End if;

1.24 If Click View Candidates button = True then

Display Candidate list


End if;

1.25 If Click View View Election button = True then

Display Existing Election


End if;
Library System Functional / Technical Design
1.26

Potential Errors Possible Reasons Solution Strategy

1.27 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 When clicking Cast Vote button, the Votings Section should automatically display.
2 When clicking View Candidate button, the Candidate list should automatically display.
3 When clicking View Election button, the Existing Election should automatically display.

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 16 of 76

File name: 479973881.doc


Library System Functional / Technical Design

Technical Design for [STUDENT ]

1.28 Design Overview


Module Name Candidate List (frm Candidate List)
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function Show the list of the running election
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) n/a
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing Voters

1.29 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete


CANDIDATES x

Staging table structure (if applicable)

Field Data Type Field Size Null Description


IDno Varchar/int 20 NOT NULL
First Name Varchar 20 NOT NULL
Last Name Varchar 20 NOT NULL
Course Varchar 20 NOT NULL
Year Varchar/int 20 NOT NULL
Position Varchar 20 NOT NULL

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 17 of 76

File name: 479973881.doc


Library System Functional / Technical Design
1.30

1.31 Data Flow

1.32 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 18 of 76

File name: 479973881.doc


1.33 Program Flow

Candidate List

s Start

View
1.34 candidate
prof?

1.35

1.36
View Candidate
Profile

1.37

1.38 End

1.39

1.40 Pseudo Code

DECLARE
CURSOR president_cur IS
Select * from CANDIDATES
Where position =’President’;

//Add cursor below for other positions.

CURSOR pres_cnt_cur IS
Select count(IDno) from CANDIDATES
Where position =’President’;
President_rec CANDITATES%Type;
Pres_ctr INT;
Pres_cnt INT;

President_rec PRES_REC(
IDnum IDno.CANDIDATES%Type,
FName Firstname.CANDIDATES%Type,
LName Lastname.CANDIDATES%Type,
……………
);
Mobile E-voting system Functional / Technical Design

BEGIN
Open president_cur;
Fetch president_cur INTO President_rec;

IF President_rec%FOUND then
Open pres_cnt_cur;
Fetch pres_cnt_cur INTO Pres_cnt;
Loop
{
for (Pres_ctr:=0, Pres_ctr => Pres_cnt, Pres_ctr++)
Display President_rec;
//Display other positions
End loop
For other positions, relate to above details.
Close pres_cnt_cur;

Potential Errors Possible Reasons Solution Strategy


n/a

1.41 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 Clicking the Candidate icon redirects you to the Candidates Profile.

2 The Candidate Profile shows background information of the candidates.

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 20 of 76

File name: 479973881.doc


Mobile E-voting system Functional / Technical Design

Technical Design for [Voters]

1.42 Design Overview


Module Name Voting System List (frmVoting System List)
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function Show all the list of candidates in every position
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) Product table
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing Voters

1.43 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete


n/a

Staging table structure (if applicable)

Field Data Type Field Size Null Description


n/a
n/a

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 21 of 76

File name: 479973881.doc


Mobile E-voting system Functional / Technical Design
1.44 Data Flow

1.45 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 22 of 76

File name: 479973881.doc


1.46 Program Flow

Student Voting_Ballot Student Navigation

s Start

N
Choose
Candidate
?

Y
End
CLICK

CONFIRM BUTTON

Candidate
(President)
Y

1.47
N
Choose
Y Confirm
next Swipe CLICK Candidate (V- Votes?
Candidate President)
? leLef

1.48 Pseudo Code

procedure IRV(votes, candidates)


Library System Functional / Technical Design
Choices = TallyVotesForCandidates(votes)

forever
for candidate in candidates do
if FirstChoices[candidate] > NumVotesRemaining(Choices) / 2 then
return candidate
endif
endfor

LastCandidate = min(Choices)
Choices[LastCandidate] = 0
end
end

procedure TallyVotesForCandidates(votes)
Choices = {}
for vote in votes do
// higher ranks get lower values
Choices[vote.candidate] += max-position - vote.rank
endfor
return Choices
end

1.49 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.50 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 This is where the voting happen, choose the candidates you wish to vote for then swipe left. Clicking
the Name of the Candidates Highlights the whole section
2 Continue until you reach and finish voting and click the Check Button located on the Bottom Right of
the Screen

3 A highlighted candidate , which means you’ve chosen the candidate and you only have to swipe left
to confirm.

4 If Unsure or mistaken, Clicking the other candidate will remove the highlights and will transfer to
the clicked candidate enabling you to choose your candidate again.

5 After Finishing the Voting Process click the Confirm Button

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 24 of 76

File name: 479973881.doc


Library System Functional / Technical Design

Technical Design for [VOTERS]

1.51 Design Overview


Module Name Voting System Process(Frm Voting system Process)
Module Language PHP, HTML& SQL
Module Type Form
Module Description This Function let you add books information
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) Product table
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing Voters

1.52 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete

Staging table structure (if applicable)

Field Data Type Field Size Null Description

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 25 of 76

File name: 479973881.doc


Library System Functional / Technical Design
1.53 Data Flow

1.54 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 26 of 76

File name: 479973881.doc


1.55 Program Flow

Voting System
Process

s Start

View
1.56 candidate
prof?

1.57

1.58
View Candidate
Profile
1.59

1.60
End

1.61

1.62

1.63 Pseudo Code

1.64 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.65 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 After clicking the Confirm button a pop up appears with instructions to verify the
validation link using your email address.
2 Simply clicking anywhere would make the pop up disappear if the user wants to go back to
the system.
Library System Functional / Technical Design

Technical Design for [VOTERS]

1.66 Design Overview


Module Name Admin Login (frm Admin Login
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) Product table
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing Admin

1.67 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 28 of 76

File name: 479973881.doc


Library System Functional / Technical Design
Staging table structure (if applicable)

Field Data Type Field Size Null Description


ID Int 10 Not null
FIRST NAME Varchar/int 10 Not null

1.68

1.69 Data Flow

1.70

1.71 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 29 of 76

File name: 479973881.doc


1.72 Program Flow

Admin Login

Start

Input Username

1.73
Input Password

Click Login button

N
Access
Grante
d?
Y

End

1.74 Pseudo Code

Student Login Form


DECLARE
Usrname VARCHAR:= NOT NULL;
Pssword VARCHAR:= NOT NULL;

BEGIN
Enter username;
IF Usrname NOT EXISTS then
Display message “Please enter a valid username”;
END IF;
Enter Password;
Library System Functional / Technical Design

IF Pssword NOT EXISTS then


Display message “Please enter correct password”;
END IF;
Click Login button;
Call Login Frm;
Click CANCEL login;
Return 0;
EXCEPTION

END;

1.75 Error Handling

Exception
IF Usrname => 0 then
Display “OERR: The value you entered is invalid, please enter a valid username.”;
END IF;
IF Pssword (count) => 9 then
Display “OERR: The password you entered is invalid, please enter a valid password.”;
END IF;

1.76

1.77 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.78 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 When clicking add authors button, the authors window should automatically display.

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 31 of 76

File name: 479973881.doc


Library System Functional / Technical Design

Technical Design for [ADMIN ]

1.79 Design Overview


Module Name Add admin
Module Language PHP & VISUAL BASIC
Module Type Form
Module Description This Function let you add admins informations.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) Product table
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing Admin

1.80 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete


Admin table

Staging table structure (if applicable)

Field Data Type Field Size Null Description


NAME Varchar 10 Not null
USERNAME Varchar 10 Not null
PASSWORD Varchar / 10 Not null
Int
LEVEL Varcahr 10 Not null

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 32 of 76

File name: 479973881.doc


Library System Functional / Technical Design
1.81

1.82 Data Flow

1.83

ID NAME USERNAME LEVEL


1 MA. ERMA ERMA SUPER ADMIN
YGBUHAY
2 MA. THERESSA TERE ADMIN
ARABEJO

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 33 of 76

File name: 479973881.doc


Library System Functional / Technical Design

3 JESSABEL JUANERIO JESSA STAFF

1.84 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 34 of 76

File name: 479973881.doc


1.85 Program Flow

Admin
Dashboard
Home

Start
Voter
Maintenance

Select Nav
View Election

View
Position
Y Y

Partylist

Account
1.86
Configuration
1.87

1.88 Pseudo Code

1.89 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.90 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 The Dashboard basically shows the state of the election, the number of
Mobile E-voting Functional / Technical Design

voters who voted and the latter.


2. The left side also shows a navbar which you can navigate through the
administrator part of the system.
3. Also shows the winner of the elections depending on the date of the
election.

Technical Design for [ADMIN ]

1.91 Design Overview


Module Name Voter’s Maintenace ( List of the Voters Window)
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function let you add users informations.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) Product table
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing Admin

1.92 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete


User Tbale x x x
Candidate Table x x x

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 36 of 76

File name: 479973881.doc


Mobile E-voting Functional / Technical Design
Staging table structure (if applicable)

Field Data Type Field Null Description


Size
First_Name Varchar 20 Not null
Last_Name Varchar 20 Not null
E-mail Varchar / Int 20 Not null
Course Varcahr 20 Not null
Member_Ship Year Varchar / Int 20 Not null
Level Varchar / Int 20 Not null
User_Name Varchar / Int 20 Not null
Password Varchar / Int 20 Not null

1.93

1.94 Data Flow

1.95

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 37 of 76

File name: 479973881.doc


Mobile E-voting Functional / Technical Design

1.96 Data Mapping

1.97 Program Flow

Voter
Maintenance

s Start

View
candidate
prof?

Select Action

N N
Add Update Delete
Voter? Voter? Voter?

Y Y Y

Add Edit Button Delete Button


Button

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 38 of 76

File name: 479973881.doc


Mobile E-voting Functional / Technical Design
1.98 Pseudo Code

Add user form


Declare
student no.
firstname
lastname
level
course
username
password

Enter student no.;


If student no. exists then
True;
Enter firstname;
If firstname exists then
True;
Enter lastname;
If lastname exists then
True;
Enter level;
If level exists then
True;
Enter course;
If course exists then
True;
Enter username;
If username exists then
True;
Enter password;
If password exists then
True;

else
display message “please enter correct student no.”

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 39 of 76

File name: 479973881.doc


Mobile E-voting Functional / Technical Design

end;
else
display message “please enter firstname”
end;
else
display message “please enter lastname”
end;
else
display message “please enter level”
end;
else
display message “please enter course”
end;
else
display message “please enter username”
end;
else
display message “please enter password”
end;
Click user form;
If you want to cancel add admin then
Click Cancel button;
End;
If register exist
If else invalid registration

1.99 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.100 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 40 of 76

File name: 479973881.doc


Mobile E-voting Functional / Technical Design

1
This page is where you add/delete/update to/from the population.

2
The Upper right buttons corresponds to add/delete.

Technical Design for [ADMIN]

1.101 Design Overview


Module Name Voter Maintenace (Adding_Voters)
Module Language PHP & VISUAL BASIC
Module Type Form
Module Description This Function let you Login if you’re account is registered or to create if
not with different privileges with the Admin or Management
Authorization.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) Product table
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing USER

1.102 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete


USER TABLE x x x
CANDIDATE TABLE x x x x

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 41 of 76

File name: 479973881.doc


Mobile E-voting Functional / Technical Design

Staging table structure (if applicable)

Field Data Type Field Null Description


Size
First_Name Varchar 20 Not null
Last_Name Varchar 20 Not null
E-mail Varchar / Int 20 Not null
Course Varcahr 20 Not null
Member_Ship Year Varchar / Int 20 Not null
Level Varchar / Int 20 Not null
User_Name Varchar / Int 20 Not null
Password Varchar / Int 20 Not null

1.103 Data Flow

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 42 of 76

File name: 479973881.doc


Mobile E-voting Functional / Technical Design
1.104

1.105 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 43 of 76

File name: 479973881.doc


1.106 Program Flow

Voter Maintenance

Basic Information Credentials

First Name Username


Last Name
Password
Surname

Email

Course

Membership
Level

Save

1.107 Pseudo Code

Studnet Login Form


Declare
Username
Password

Enter username;
If username EXISTS then
True;
Library System Functional / Technical Design

Enter Password;
IF password exists then
True;
else
Display message “Please enter correct password”
End;
Else
Display message “Please enter a valid username
End;

Click Login Frm;


If you want to cancel login then
Click Cancel button;
End;
If register exist
If else invalid registration

1.108 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.109 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 It has the basic functions to (add, update, delete) information of the population of voters
and candidates.
2 Upon adding a newly filled up form clicking will save the information.
3 A note also indicates that if the password is left blank the system automatically makes the
student number the password.

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 45 of 76

File name: 479973881.doc


Library System Functional / Technical Design

Technical Design for [USER ]

1.110 Design Overview


Module Name ELECTION ( Election Window)
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function let you see the book list.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) Product table
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing STUDENT

1.111 Module Specification

CRUD Matrix (if applicable)

Tables Select Insert Update Delete


ELECTION TABLE

Staging table structure (if applicable)

Field Data Type Field Null Description


Size
NAME Varchar/Int 10 Not null
DATE Varchar/Int 10 Not null
YEAR Varchar/Int 10 Not null

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 46 of 76

File name: 479973881.doc


Library System Functional / Technical Design

1.112 Data Flow

1.113 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 47 of 76

File name: 479973881.doc


Library System Functional / Technical Design
1.114 Program Flow

Voter
Maintenance

s Start

View
candidate
prof?

Select Action

N N
Add Update Delete
Election Election? Election?
?

Y Y Y

Add Edit Button Delete Button


Button

1.115 Pseudo Code

Book list
Declare
Search title
Enter title of the book;
If title of the book exists then
True;

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 48 of 76

File name: 479973881.doc


Library System Functional / Technical Design

Else
Display message “Please enter correct title”
End;

1.116 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.117 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 This page is where you can add elections and edit/add/delete or update the status of
pending elections.
2 A status also indicates if the election has not started, ongoing or has ended.
3 Putting the mouse cursor on top of the elections shows a highlighted option which has the

icon to edit an election which redirects you

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 49 of 76

File name: 479973881.doc


1.16 Technical Design for [USER ]

1.118 Design Overview


Module Name CANDIDATE ELECTION (Adding Candidate Election Window)
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function where you can add elections and edit/add/delete or update
the status of pending elections.

Batch/ Online CLIENT


Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) n/a
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing ADMIN

1.119 Module Specification

1.16.13 CRUD Matrix (if applicable)

Tables Select Insert Update Delete


ELECTION x x x

Staging table structure (if applicable)

Field Data Type Field Null Description


Size
NAME Varchar 20 NOT NULL
YEAR Varchar/ int 20 NOT NULL
DATE FROM/ TO Varchar/ int 20 NOT NULL
Library System Functional / Technical Design

1.120 Data Flow

1.121

1.122 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 51 of 76

File name: 479973881.doc


1.123 Program Flow

Election Maintenance

Basic Information Schedule

Name Date From:


Year
Date to
Description

Save
Library System Functional / Technical Design
1.124 Pseudo Code

1.125 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.126 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 In this form you can edit the election and set the time or date of which the election should
start and/or when to end it.

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 53 of 76

File name: 479973881.doc


Library System Functional / Technical Design

2.16 Technical Design for[ADMIN ]

1.127 Design Overview


Module Name Manage Position ( Managing Position)
Module Language PHP, HMTL & SQL
Module Type Form
Module Description This Function let you see the books details.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) n/a
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing ADMIN

1.128 Module Specification

2.16.13 CRUD Matrix (if applicable)

Tables Select Insert Update Delete


CANDIDATES TABLE

Staging table structure (if applicable)

Field Data Type Field Null Description


Size
First_Name Varchar 20 Not null
Last_Name Varchar 20 Not null
E-mail Varchar / Int 20 Not null
Course Varcahr 20 Not null
Member_Ship Year Varchar / Int 20 Not null
Level Varchar / Int 20 Not null
CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 54 of 76

File name: 479973881.doc


Library System Functional / Technical Design

User_Name Varchar / Int 20 Not null


Password Varchar / Int 20 Not null

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 55 of 76

File name: 479973881.doc


Library System Functional / Technical Design

1.129 Data Flow

1.130

1.131 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 56 of 76

File name: 479973881.doc


1.132 Program Flow

Election Maintenance

Candidates Voters

Choose Position to Choose Position to


ADD ADD

Y Y
Add Add
More More
? ?

N
N

END END
Library System Functional / Technical Design
1.133 Pseudo Code

1.134 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.135 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 This page is where you edit the election and add specific positions which
the candidates can run for.

3.16 Technical Design for [USER ]

1.136 Design Overview


Module Name POSITION (ADDING POSITION0
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function let you see the books details.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) n/a
SQL*Loader n/a
Threading Scheme n/a

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 58 of 76

File name: 479973881.doc


Library System Functional / Technical Design

Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing ADMIN

1.137 Module Specification

3.16.13 CRUD Matrix (if applicable)

Tables Select Insert Update Delete

Staging table structure (if applicable)

Field Data Type Field Size Null Description

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 59 of 76

File name: 479973881.doc


Library System Functional / Technical Design

1.138 Data Flow

1.139

1.140 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 60 of 76

File name: 479973881.doc


1.141 Program Flow

Position

s Start

View
candidate
prof?

Select Action

N N
Add Update Delete
Position Position? Position?
?

Y Y Y

Add Edit Button Delete Button


Position
Library System Functional / Technical Design
1.142 Pseudo Code

1.143 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.144 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 This page you can edit/add/delete the positions available for the election.
2 The two buttons on the upper right is for adding and removing positions
from the election.

4.16 Technical Design for [USER ]

1.145 Design Overview


Module Name
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function let you see the books details.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) n/a
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 62 of 76

File name: 479973881.doc


Library System Functional / Technical Design

Post-Processing ADMIN

1.146 Module Specification

4.16.13 CRUD Matrix (if applicable)

Tables Select Insert Update Delete


POSITON TABLE

Staging table structure (if applicable)

Field Data Type Field Null Description


Size
NAME VARCHAR 20 NOT NULL
MULTIPLE ELECTION VARCHAR/ INT 20 NOT NULL
SELECTION LIMIT VARCHAR/ INT 20 NOT NULL

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 63 of 76

File name: 479973881.doc


Library System Functional / Technical Design

1.147 Data Flow

1.148 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 64 of 76

File name: 479973881.doc


1.149 Program Flow

Position

Name

Multiple Selection

Selection Limit

s Start

1.150 Pseudo Code

1.151 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.152 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


Library System Functional / Technical Design

1 Add Positions in the election

2 The multiple selection which dictates if a candidate can be voted twice or


more times and the selection limit button limits it.

5.16 Technical Design for [USER ]

1.153 Design Overview


Module Name
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function let you see the books details.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) n/a
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing ADMIN

1.154 Module Specification

5.16.13 CRUD Matrix (if applicable)

Tables Select Insert Update Delete


POSITON TABLE

Staging table structure (if applicable)

Field Data Type Field Null Description


Size
NAME VARCHAR 20 NOT NULL

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 66 of 76

File name: 479973881.doc


Library System Functional / Technical Design

MULTIPLE ELECTION VARCHAR/ INT 20 NOT NULL


SELECTION LIMIT VARCHAR/ INT 20 NOT NULL

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 67 of 76

File name: 479973881.doc


Library System Functional / Technical Design

1.155 Data Flow

1.156 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 68 of 76

File name: 479973881.doc


1.157 Program Flow

Partylist

Select Action

N
N
Add Update Delete
Partylist Partylist? Partylist?
?

Y Y Y

Edit Button
Add Delete Button
Start
s

Position

1.158 Pseudo Code

1.159 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.160 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


Library System Functional / Technical Design

1 Add Positions in the election

2 The multiple selection which dictates if a candidate can be voted twice or


more times and the selection limit button limits it.

6.16 Technical Design for [USER ]

1.161 Design Overview


Module Name
Module Language PHP, HTML & SQL
Module Type Form
Module Description This Function let you see the books details.
Batch/ Online CLIENT
Technical Frequency Medium
Life Span Long term
Transfer Protocol n/a
Transaction Volume n/a
Flat File n/a
Staging Table(s) n/a
SQL*Loader n/a
Threading Scheme n/a
Restart Recovery 1
Processing Cycle n/a
Pre-Processing n/a
Post-Processing ADMIN

1.162 Module Specification

6.16.13 CRUD Matrix (if applicable)

Tables Select Insert Update Delete


POSITON TABLE

Staging table structure (if applicable)

Field Data Type Field Null Description


Size
NAME VARCHAR 20 NOT NULL

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 70 of 76

File name: 479973881.doc


Library System Functional / Technical Design

MULTIPLE ELECTION VARCHAR/ INT 20 NOT NULL


SELECTION LIMIT VARCHAR/ INT 20 NOT NULL

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 71 of 76

File name: 479973881.doc


Library System Functional / Technical Design

1.163 Data Flow

1.164 Data Mapping

CKC Confidential
Last printed: 6/13/2020 5:53 AM Page 72 of 76

File name: 479973881.doc


1.165 Program Flow

ADD USER
(Module)

Start

Input Username
A

Usernam N
Display message
e not “Username already
exists? exists.”

Y
N
Input Password Enter
new Cancel
usernam
e?

Confirm Password Y

Save

1.166 Pseudo Code

1.167 Error Handling

Potential Errors Possible Reasons Solution Strategy

1.168 Special Considerations for Testing


 <Any specific testing requirements>

No. Test Condition


1 Add Positions in the election

2 The multiple selection which dictates if a candidate can be voted twice or


more times and the selection limit button limits it.

Accenture Confidential
Last printed: 6/13/2020 5:53 AM Page 74 of 76

File name: 479973881.doc


Accenture Confidential
Last printed: 6/13/2020 5:53 AM Page 75 of 76

File name: 479973881.doc


2 Appendix

Flow chart shapes


Diagram Description

Module object. This object embeds the objects required for the
module.

Database/Table object.

Flat file object.


Program_id

Program description

Download Interface program object (available).


Organization

Hierarchy
Program_id

Program description
Interface program object (to be developed).
Download

Organization

Hierarchy

User input object or Interface/ Batch Input.


User Input

Accenture Confidential
Last printed: 6/13/2020 5:53 AM Page 76 of 76

File name: 479973881.doc

You might also like