You are on page 1of 2

COLEGIO DE MONTALBAN

Kasiglahan Village, San Jose, Rodriguez, Rizal


Institute of Computer Studies
Bachelor of Science in Information and Technology
FDBS – Fundamentals Database Systems

ACTIVITY 6: Create Database using XAMPP and Visual Studio (vb.net)

Direction: Read and analyze each statement. This time you need to apply the SQL commands you have
learned from the previous lesson. Make sure that you installed XAMMP, connector, ODBC and Visual
Studio (any version will do, as long as you follow the statements). Download this document and once you
are about to submit your work, make sure it is saved in pdf format.

I. Voting System: Database Structure


1. Create a database for Voting System: Format: VotingSystem_YourLastName
2. Create the following tables and columns.
 Voters
o Student_number – Primary Key, int, (do not set auto increment)
o First_name – varchar (50)
o Last_name – varchar (50)
o Middle_name – varchar (50)
o Course – varchar (50)
o Year_Section – varchar (50)
o Email – varchar (50)
 Candidates
o Candidate_number – Primary key, int, (do not set auto increment)
o Full_name – varchar (50)
o Position – varchar (50)
o Partylist_number – Foreign key, int
 Party_list
o Partylist_number – Primary Key, int, (do not set auto increment)
o Partylist_name – varchar (50)
3. Provide a screenshot of your localhost once you have created the database structure.
Paste it in this part.
II. Voting System: Visual Studio (GUI)
1. In this part, you need to design your voting system. Supposed that the administrator
should input a password before proceeding to the system. Therefor, you need to create
a log-in form. The voting system only has one administrator; thus, you don’t need to
save the password in the database. Screenshot of your log-in form should be provided
right below this statement, that will serve as your answer.
2. Gather data for Voters (50 voters), Candidates (1 per party list, Positions: President, Vice
President, Secretary, Treasurer, Auditor, Public Relation Officer, 1 st year representative,
2nd year representative, 3rd year representative) and Party_list (3 party list). Show the
data added by providing a screenshot of each form, right below this statement, that will
serve as your answer.
COLEGIO DE MONTALBAN
Kasiglahan Village, San Jose, Rodriguez, Rizal
Institute of Computer Studies
Bachelor of Science in Information and Technology
FDBS – Fundamentals Database Systems

3. Perform the update command by updating the data of 3 voters. Provide a screenshot for
your answer to this statement.

You might also like